/* ==========================================================================
   Coeur Mining - Premium Gold Investment Theme Design System
   Inspired by Coeur Mining's gold products with deep navy & gold palette
   ========================================================================== */

/* Coeur Mining Gold Investment Color Palette */
:root {
  /* Primary Background Colors - Deep Navy */
  --vt-bg-primary: #0D1B2A;
  --vt-bg-secondary: #1B2838;
  --vt-bg-card: #152238;
  --vt-bg-elevated: #1A2942;
  --vt-bg-page: #0A1520;
  
  /* Accent Colors - Premium Gold */
  --vt-accent-primary: #D4AF37;
  --vt-accent-secondary: #FFD700;
  --vt-accent-gradient: linear-gradient(135deg, #D4AF37 0%, #FFD700 50%, #B8860B 100%);
  --vt-accent-glow: rgba(212, 175, 55, 0.4);
  
  /* Text Colors */
  --vt-text-primary: #FFFFFF;
  --vt-text-secondary: #A8B4C4;
  --vt-text-muted: #6B7A8C;
  --vt-text-accent: #D4AF37;
  
  /* Border Colors */
  --vt-border-primary: #2A3A4D;
  --vt-border-secondary: rgba(212, 175, 55, 0.3);
  --vt-border-glow: rgba(212, 175, 55, 0.5);
  
  /* Functional Colors - Gold Adjusted */
  --vt-success: #50C878;
  --vt-warning: #FFB800;
  --vt-danger: #E74C3C;
  --vt-info: #5DADE2;
  
  /* Shadow System - Gold Glow */
  --vt-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --vt-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
  --vt-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
  --vt-shadow-glow: 0 0 20px rgba(212, 175, 55, 0.3);
  --vt-shadow-glow-strong: 0 0 40px rgba(212, 175, 55, 0.5);
  --vt-shadow-gold-glow: 0 0 20px rgba(255, 215, 0, 0.4);
  
  /* Gradient System - Coeur Mining Gold Style */
  --vt-gradient-primary: linear-gradient(135deg, #D4AF37 0%, #FFD700 50%, #B8860B 100%);
  --vt-gradient-dark: linear-gradient(135deg, #0D1B2A 0%, #1B2838 100%);
  --vt-gradient-card: linear-gradient(135deg, #152238 0%, #1A2942 100%);
  --vt-gradient-accent: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
  --vt-gradient-warm: linear-gradient(135deg, #FFD700 0%, #B8860B 100%);
  
  /* Legacy mapping for backward compatibility */
  --archer-bg-primary: var(--vt-bg-primary);
  --archer-bg-secondary: var(--vt-bg-secondary);
  --archer-bg-card: var(--vt-bg-card);
  --archer-bg-overlay: rgba(10, 21, 32, 0.95);
  --archer-bg-page: var(--vt-bg-page);
  
  --archer-text-primary: var(--vt-text-primary);
  --archer-text-secondary: var(--vt-text-secondary);
  --archer-text-tertiary: var(--vt-text-muted);
  --archer-text-accent: var(--vt-text-accent);
  --archer-text-inverse: #0D1B2A;
  --archer-text-link: var(--vt-accent-primary);
  --archer-text-link-hover: #FFD700;
  
  --archer-border-primary: var(--vt-border-primary);
  --archer-border-secondary: var(--vt-border-secondary);
  --archer-border-light: rgba(255, 255, 255, 0.08);
  --archer-border-medium: rgba(255, 255, 255, 0.12);
  --archer-border-dark: rgba(255, 255, 255, 0.16);
  
  --archer-shadow-light: var(--vt-shadow-sm);
  --archer-shadow-medium: var(--vt-shadow-md);
  --archer-shadow-card: var(--vt-shadow-sm);
  --archer-shadow-none: none;
  
  --archer-gradient-primary: var(--vt-gradient-primary);
  --archer-gradient-dark: var(--vt-gradient-dark);

  /* Spacing System */
  --archer-space-xs: 4px;
  --archer-space-sm: 8px;
  --archer-space-md: 16px;
  --archer-space-lg: 24px;
  --archer-space-xl: 32px;
  --archer-space-2xl: 48px;
  --archer-space-3xl: 64px;
  --archer-space-4xl: 80px;

  /* Border Radius */
  --archer-radius-none: 0;
  --archer-radius-sm: 8px;
  --archer-radius-md: 12px;
  --archer-radius-lg: 16px;
  --archer-radius-xl: 20px;
  --archer-radius-full: 50%;

  /* Animation */
  --archer-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --archer-transition-fast: 0.2s;
  --archer-transition-normal: 0.3s;
  --archer-transition-slow: 0.4s;
  --archer-ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --archer-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  /* Typography System - Premium Investment Style */
  --archer-font-family: 'Cinzel', 'Playfair Display', 'Georgia', serif;
  --archer-font-sans: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  --archer-font-mono: 'JetBrains Mono', 'SF Mono', monospace;

  /* Font Sizes */
  --archer-text-xs: 12px;
  --archer-text-sm: 14px;
  --archer-text-base: 16px;
  --archer-text-lg: 18px;
  --archer-text-xl: 20px;
  --archer-text-2xl: 24px;
  --archer-text-3xl: 30px;
  --archer-text-4xl: 36px;

  /* Font Weights */
  --archer-font-light: 300;
  --archer-font-normal: 400;
  --archer-font-medium: 500;
  --archer-font-semibold: 600;
  --archer-font-bold: 700;

  /* Line Heights */
  --archer-leading-tight: 1.25;
  --archer-leading-normal: 1.5;
  --archer-leading-relaxed: 1.75;

  /* Breakpoints */
  --archer-breakpoint-sm: 640px;
  --archer-breakpoint-md: 768px;
  --archer-breakpoint-lg: 1024px;
  --archer-breakpoint-xl: 1280px;

  /* Z-index Levels */
  --archer-z-base: 0;
  --archer-z-dropdown: 1000;
  --archer-z-sticky: 1020;
  --archer-z-fixed: 1030;
  --archer-z-modal: 10000;
  --archer-z-popover: 1050;
  --archer-z-tooltip: 1060;
  --archer-z-toast: 9999;

  /* ========================================================================
     Short Variable Names for Coeur Mining Theme (Used by page CSS files)
     ======================================================================== */
  
  /* Background Colors - Deep Navy */
  --bg-page: #0A1520;
  --bg-card: #152238;
  --bg-secondary: #1B2838;
  --bg-elevated: #1A2942;
  --bg-overlay: rgba(10, 21, 32, 0.95);
  
  /* Accent Colors */
  --accent-primary: #D4AF37;
  --accent-secondary: #FFD700;
  --accent-gradient: linear-gradient(135deg, #D4AF37 0%, #FFD700 50%, #B8860B 100%);
  
  /* Text Colors */
  --text-primary: #FFFFFF;
  --text-secondary: #A8B4C4;
  --text-muted: #6B7A8C;
  --text-inverse: #0D1B2A;
  
  /* Border Colors */
  --border-color: #2A3A4D;
  --border-light: rgba(255, 255, 255, 0.08);
  
  /* Functional Colors */
  --success: #50C878;
  --warning: #FFB800;
  --danger: #E74C3C;
  --info: #5DADE2;
  
  /* Shadows */
  --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-glow-primary: 0 0 20px rgba(212, 175, 55, 0.4);
  --shadow-glow-secondary: 0 0 20px rgba(255, 215, 0, 0.4);
  --shadow-none: none;
  
  /* Gradients */
  --gradient-dark: linear-gradient(135deg, #0D1B2A 0%, #1B2838 100%);
  --gradient-card: linear-gradient(135deg, #152238 0%, #1A2942 100%);
  
  /* Typography */
  --font-family: 'Cinzel', 'Playfair Display', 'Georgia', serif;
  --font-sans: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Font Sizes */
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 18px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: 30px;
  
  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 50%;
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Global Base Styles - Coeur Mining Gold Investment Theme
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

html,
body {
  font-family: var(--font-sans);
  background-color: var(--vt-bg-page);
  color: var(--vt-text-primary);
  line-height: var(--archer-leading-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: 
    radial-gradient(ellipse at 20% 80%, rgba(212, 175, 55, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(184, 134, 11, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(255, 215, 0, 0.03) 0%, transparent 70%);
  background-attachment: fixed;
}

/* Link Styles */
a {
  color: var(--vt-accent-primary);
  text-decoration: none;
  transition: color var(--archer-transition-normal) var(--archer-ease-out);
}

a:hover {
  color: #FFD700;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

a:focus {
  outline: 2px solid var(--vt-accent-primary);
  outline-offset: 2px;
}

/* Form Element Base Styles */
input,
textarea,
select,
button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  transition: all var(--archer-transition-normal) var(--archer-ease-out);
}

button:focus {
  outline: 2px solid var(--vt-accent-primary);
  outline-offset: 2px;
}

/* Image Optimization */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Text Color Utilities
   ========================================================================== */

.text-primary { color: var(--vt-text-primary); }
.text-secondary { color: var(--vt-text-secondary); }
.text-success { color: var(--vt-success); }
.text-warning { color: var(--vt-warning); }
.text-danger { color: var(--vt-danger); }
.text-info { color: var(--vt-info); }
.text-accent { color: var(--vt-accent-primary); }
.text-gold { color: var(--vt-accent-primary); text-shadow: 0 0 10px rgba(212, 175, 55, 0.4); }

/* ==========================================================================
   Loading Mask - Coeur Mining Gold Theme
   ========================================================================== */

.loading-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(10, 21, 32, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--archer-z-modal);
  opacity: 0;
  visibility: hidden;
  transition: all var(--archer-transition-normal) var(--archer-ease-out);
}

.loading-mask.show {
  opacity: 1;
  visibility: visible;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--vt-border-primary);
  border-top-color: var(--vt-accent-primary);
  border-radius: var(--archer-radius-full);
  animation: spin 1s linear infinite;
  box-shadow: var(--vt-shadow-glow), 0 0 30px rgba(212, 175, 55, 0.3);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes goldPulse {
  0%, 100% { 
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4), 0 0 40px rgba(212, 175, 55, 0.2);
  }
  50% { 
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.6), 0 0 60px rgba(255, 215, 0, 0.3);
  }
}

@keyframes goldGlow {
  0%, 100% { 
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.6));
  }
  50% { 
    filter: drop-shadow(0 0 16px rgba(255, 215, 0, 0.8));
  }
}

@keyframes goldShimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ==========================================================================
   Unified Bottom Navigation - Coeur Mining Gold Theme
   ========================================================================== */

.bottom-navigation {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 70px !important;
  background: linear-gradient(180deg, rgba(21, 34, 56, 0.98) 0%, rgba(13, 27, 42, 0.99) 100%) !important;
  border-top: 1px solid rgba(212, 175, 55, 0.2) !important;
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.5), 0 -2px 20px rgba(212, 175, 55, 0.1) !important;
  z-index: 9999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-around !important;
  padding: 8px 0 !important;
  backdrop-filter: blur(20px) !important;
}

.nav-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px !important;
  color: var(--vt-text-secondary) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  position: relative !important;
  text-decoration: none !important;
  min-width: 60px !important;
  min-height: 54px !important;
  border-radius: 12px !important;
  gap: 4px !important;
}

.nav-item:hover {
  background-color: rgba(212, 175, 55, 0.12) !important;
  color: var(--vt-accent-primary) !important;
  transform: translateY(-2px) !important;
}

.nav-item.active {
  color: #0D1B2A !important;
  background: var(--vt-gradient-primary) !important;
  box-shadow: var(--vt-shadow-glow-strong), 0 0 20px rgba(212, 175, 55, 0.4) !important;
  border: none !important;
  animation: goldPulse 2s ease-in-out infinite !important;
}

.nav-icon {
  width: 32px !important;
  height: 32px !important;
  stroke: currentColor !important;
  fill: currentColor !important;
  stroke-width: 2 !important;
  color: inherit !important;
  transition: filter 0.3s ease !important;
}

.nav-item.active .nav-icon {
  animation: goldGlow 1.5s ease-in-out infinite !important;
}

.nav-label {
  display: none !important;
}

/* Mobile Responsive Optimization */
@media (max-width: 640px) {
  .bottom-navigation {
    height: 60px !important;
    padding: 6px 0 !important;
  }

  .nav-item {
    min-width: 50px !important;
    min-height: 48px !important;
    padding: 6px !important;
    font-size: 11px !important;
  }

  .nav-icon {
    width: 20px !important;
    height: 20px !important;
  }
}

/* ==========================================================================
   Form Button - Coeur Mining Gold Theme
   ========================================================================== */

.form-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--archer-space-md) var(--archer-space-xl);
  background: var(--vt-gradient-primary);
  color: #0D1B2A;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--archer-radius-md);
  font-size: var(--archer-text-base);
  font-weight: var(--archer-font-semibold);
  font-family: var(--archer-font-family);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--archer-transition-normal) var(--archer-ease-out);
  min-height: 48px;
  line-height: 1;
  gap: var(--archer-space-sm);
  box-shadow: var(--vt-shadow-glow), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--vt-shadow-glow-strong), 0 10px 30px rgba(212, 175, 55, 0.3);
  border-color: rgba(255, 215, 0, 0.5);
}

.form-button:active {
  transform: translateY(0);
}

.form-button:disabled {
  background: var(--vt-bg-elevated);
  color: var(--vt-text-muted);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  border-color: var(--vt-border-primary);
}

/* ==========================================================================
   Toast Message Notifications - Coeur Mining Gold Theme
   ========================================================================== */

.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
  background: rgba(21, 34, 56, 0.95);
  color: var(--vt-text-primary);
  padding: var(--archer-space-lg) var(--archer-space-xl);
  border-radius: var(--archer-radius-md);
  border: 1px solid var(--vt-border-primary);
  box-shadow: var(--vt-shadow-lg), 0 0 30px rgba(0, 0, 0, 0.5);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--archer-transition-normal) var(--archer-ease-out);
  max-width: 90%;
  text-align: center;
  font-weight: var(--archer-font-medium);
  backdrop-filter: blur(20px);
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Toast Type Styles */
.toast.success {
  background: rgba(80, 200, 120, 0.1);
  color: var(--vt-success);
  border-color: var(--vt-success);
  box-shadow: 0 0 20px rgba(80, 200, 120, 0.3), 0 0 40px rgba(80, 200, 120, 0.1);
}

.toast.error {
  background: rgba(231, 76, 60, 0.1);
  color: var(--vt-danger);
  border-color: var(--vt-danger);
  box-shadow: 0 0 20px rgba(231, 76, 60, 0.3), 0 0 40px rgba(231, 76, 60, 0.1);
}

.toast.warning {
  background: rgba(255, 184, 0, 0.1);
  color: var(--vt-warning);
  border-color: var(--vt-warning);
  box-shadow: 0 0 20px rgba(255, 184, 0, 0.3), 0 0 40px rgba(255, 184, 0, 0.1);
}

.toast.info {
  background: rgba(212, 175, 55, 0.1);
  color: var(--vt-accent-primary);
  border-color: var(--vt-accent-primary);
  box-shadow: var(--vt-shadow-glow), 0 0 40px rgba(212, 175, 55, 0.15);
}

/* ==========================================================================
   Card Component - Coeur Mining Gold Theme
   ========================================================================== */

.card {
  background: linear-gradient(135deg, rgba(21, 34, 56, 0.95) 0%, rgba(26, 41, 66, 0.9) 100%);
  border-radius: var(--archer-radius-lg);
  box-shadow: var(--vt-shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  border: 1px solid var(--vt-border-primary);
  overflow: hidden;
  transition: all var(--archer-transition-normal) var(--archer-ease-out);
  margin-bottom: var(--archer-space-lg);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  box-shadow: var(--vt-shadow-glow), 0 8px 32px rgba(0, 0, 0, 0.4);
  border-color: var(--vt-border-secondary);
  transform: translateY(-2px);
}

.card:hover::before {
  opacity: 1;
}

.card-header {
  padding: var(--archer-space-lg);
  border-bottom: 1px solid var(--vt-border-primary);
  background: linear-gradient(135deg, rgba(26, 41, 66, 0.8) 0%, rgba(21, 34, 56, 0.8) 100%);
}

.card-title {
  font-size: var(--archer-text-lg);
  font-weight: var(--archer-font-semibold);
  color: var(--vt-text-primary);
  margin: 0;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.card-body {
  padding: var(--archer-space-lg);
}

.card-footer {
  padding: var(--archer-space-lg);
  border-top: 1px solid var(--vt-border-primary);
  background: linear-gradient(135deg, rgba(26, 41, 66, 0.8) 0%, rgba(21, 34, 56, 0.8) 100%);
}

/* ==========================================================================
   Common Header - Coeur Mining Gold Theme
   ========================================================================== */

.header {
  height: 60px;
  background: linear-gradient(180deg, rgba(21, 34, 56, 0.98) 0%, rgba(13, 27, 42, 0.95) 100%);
  color: var(--vt-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: var(--vt-shadow-md), 0 4px 20px rgba(212, 175, 55, 0.1);
  z-index: var(--archer-z-sticky);
}

.header-content {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--archer-space-lg);
}

.title {
  font-size: var(--archer-text-xl);
  font-weight: var(--archer-font-semibold);
  color: var(--vt-text-primary);
  text-align: center;
  flex: 1;
}

.back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--archer-radius-md);
  background: linear-gradient(135deg, rgba(26, 41, 66, 0.9) 0%, rgba(21, 34, 56, 0.9) 100%);
  color: var(--vt-text-secondary);
  transition: all var(--archer-transition-normal) var(--archer-ease-out);
  cursor: pointer;
  border: 1px solid var(--vt-border-primary);
}

.back-btn:hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(255, 215, 0, 0.15) 100%);
  color: var(--vt-accent-primary);
  border-color: var(--vt-accent-primary);
  box-shadow: var(--vt-shadow-glow);
}

.back-btn svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   Modern Page Layout System
   ========================================================================== */

.page-container {
  min-height: 100vh;
  background-color: var(--vt-bg-page);
  font-family: var(--font-sans);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--archer-space-lg);
}

.container-fluid {
  width: 100%;
  padding: 0 var(--archer-space-lg);
}

.content-area {
  padding: var(--archer-space-xl) 0;
}

.content-section {
  margin-bottom: var(--archer-space-2xl);
}

/* ==========================================================================
   Spacing Utilities
   ========================================================================== */

.mt-0 { margin-top: 0; }
.mt-xs { margin-top: var(--archer-space-xs); }
.mt-sm { margin-top: var(--archer-space-sm); }
.mt-md { margin-top: var(--archer-space-md); }
.mt-lg { margin-top: var(--archer-space-lg); }
.mt-xl { margin-top: var(--archer-space-xl); }

.mb-0 { margin-bottom: 0; }
.mb-xs { margin-bottom: var(--archer-space-xs); }
.mb-sm { margin-bottom: var(--archer-space-sm); }
.mb-md { margin-bottom: var(--archer-space-md); }
.mb-lg { margin-bottom: var(--archer-space-lg); }
.mb-xl { margin-bottom: var(--archer-space-xl); }

.p-0 { padding: 0; }
.p-xs { padding: var(--archer-space-xs); }
.p-sm { padding: var(--archer-space-sm); }
.p-md { padding: var(--archer-space-md); }
.p-lg { padding: var(--archer-space-lg); }
.p-xl { padding: var(--archer-space-xl); }

/* ==========================================================================
   Flexbox Utilities
   ========================================================================== */

.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.flex-row { flex-direction: row; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.align-start { align-items: flex-start; }
.align-center { align-items: center; }
.align-end { align-items: flex-end; }
.flex-1 { flex: 1; }
.flex-grow { flex-grow: 1; }
.flex-shrink { flex-shrink: 1; }

/* ==========================================================================
   Modern Button System - Coeur Mining Gold Theme
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--archer-space-md) var(--archer-space-lg);
  border-radius: var(--archer-radius-md);
  font-size: var(--archer-text-base);
  font-weight: var(--archer-font-medium);
  font-family: var(--font-sans);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--archer-transition-normal) var(--archer-ease-out);
  border: 1px solid transparent;
  min-height: 44px;
  gap: var(--archer-space-sm);
  box-shadow: none;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn:focus {
  outline: 2px solid var(--vt-accent-primary);
  outline-offset: 2px;
}

/* Button Sizes */
.btn-sm {
  padding: var(--archer-space-sm) var(--archer-space-md);
  font-size: var(--archer-text-sm);
  min-height: 36px;
}

.btn-lg {
  padding: var(--archer-space-lg) var(--archer-space-2xl);
  font-size: var(--archer-text-lg);
  min-height: 52px;
}

/* Button Style Variants */
.btn-primary {
  background: var(--vt-gradient-primary);
  color: #0D1B2A;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: var(--vt-shadow-glow), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--vt-shadow-glow-strong), 0 10px 30px rgba(212, 175, 55, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: linear-gradient(135deg, rgba(26, 41, 66, 0.9) 0%, rgba(21, 34, 56, 0.9) 100%);
  color: var(--vt-text-primary);
  border-color: var(--vt-border-primary);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, rgba(36, 51, 76, 0.9) 0%, rgba(31, 44, 66, 0.9) 100%);
  border-color: var(--vt-accent-primary);
  color: var(--vt-accent-primary);
  transform: translateY(-1px);
  box-shadow: var(--vt-shadow-glow);
}

.btn-outline {
  background-color: transparent;
  color: var(--vt-accent-primary);
  border-color: var(--vt-accent-primary);
}

.btn-outline:hover {
  background: var(--vt-gradient-primary);
  color: #0D1B2A;
  transform: translateY(-2px);
  box-shadow: var(--vt-shadow-glow);
}

.btn-ghost {
  background-color: transparent;
  color: var(--vt-text-secondary);
  border-color: transparent;
}

.btn-ghost:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--vt-accent-primary);
}

/* ==========================================================================
   Modern Form System - Coeur Mining Gold Theme
   ========================================================================== */

.form-group {
  margin-bottom: var(--archer-space-lg);
}

.form-label {
  display: block;
  margin-bottom: var(--archer-space-sm);
  font-size: var(--archer-text-sm);
  font-weight: var(--archer-font-medium);
  color: var(--vt-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: var(--archer-space-md);
  border: 1px solid var(--vt-border-primary);
  border-radius: var(--archer-radius-md);
  background: linear-gradient(135deg, rgba(21, 34, 56, 0.9) 0%, rgba(26, 41, 66, 0.8) 100%);
  color: var(--vt-text-primary);
  font-size: var(--archer-text-base);
  font-family: var(--font-sans);
  transition: all var(--archer-transition-normal) var(--archer-ease-out);
  min-height: 44px;
}

.form-control:focus {
  border-color: var(--vt-accent-primary);
  outline: none;
  box-shadow: var(--vt-shadow-glow), inset 0 0 20px rgba(212, 175, 55, 0.05);
}

.form-control::placeholder {
  color: var(--vt-text-muted);
}

/* Form Sizes */
.form-control-sm {
  padding: var(--archer-space-sm) var(--archer-space-md);
  font-size: var(--archer-text-sm);
  min-height: 36px;
}

.form-control-lg {
  padding: var(--archer-space-lg);
  font-size: var(--archer-text-lg);
  min-height: 52px;
}

/* Form Validation States */
.form-control.is-valid {
  border-color: var(--vt-success);
  box-shadow: 0 0 15px rgba(80, 200, 120, 0.2);
}

.form-control.is-invalid {
  border-color: var(--vt-danger);
  box-shadow: 0 0 15px rgba(231, 76, 60, 0.2);
}

.form-control:disabled {
  background: rgba(21, 34, 56, 0.5);
  color: var(--vt-text-muted);
  cursor: not-allowed;
}

/* ==========================================================================
   Modern List System - Coeur Mining Gold Theme
   ========================================================================== */

.list {
  background: linear-gradient(135deg, rgba(21, 34, 56, 0.95) 0%, rgba(26, 41, 66, 0.9) 100%);
  border-radius: var(--archer-radius-lg);
  border: 1px solid var(--vt-border-primary);
  overflow: hidden;
  box-shadow: var(--vt-shadow-sm);
}

.list-item {
  padding: var(--archer-space-lg);
  border-bottom: 1px solid var(--vt-border-primary);
  transition: all var(--archer-transition-normal) var(--archer-ease-out);
  cursor: pointer;
  position: relative;
}

.list-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--vt-gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.list-item:hover {
  background: rgba(212, 175, 55, 0.05);
  transform: translateX(4px);
}

.list-item:hover::before {
  opacity: 1;
}

.list-item:last-child {
  border-bottom: none;
}

.list-item-content {
  display: flex;
  align-items: center;
  gap: var(--archer-space-md);
}

.list-item-title {
  font-size: var(--archer-text-base);
  font-weight: var(--archer-font-semibold);
  color: var(--vt-text-primary);
  margin-bottom: var(--archer-space-xs);
}

.list-item-subtitle {
  font-size: var(--archer-text-sm);
  color: var(--vt-text-secondary);
}

.list-item-meta {
  margin-left: auto;
  text-align: right;
}

.list-item-prefix {
  flex-shrink: 0;
}

.list-item-suffix {
  flex-shrink: 0;
  margin-left: auto;
}

.list-item-icon {
  width: 40px;
  height: 40px;
  background: var(--vt-gradient-primary);
  color: #0D1B2A;
  border-radius: var(--archer-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--vt-shadow-glow);
}

/* ==========================================================================
   Modern Modal System - Coeur Mining Gold Theme
   ========================================================================== */

.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(10, 21, 32, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--archer-z-modal);
  opacity: 0;
  visibility: hidden;
  transition: all var(--archer-transition-normal) var(--archer-ease-out);
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: linear-gradient(135deg, rgba(21, 34, 56, 0.98) 0%, rgba(26, 41, 66, 0.95) 100%);
  border-radius: var(--archer-radius-lg);
  box-shadow: var(--vt-shadow-lg), 0 0 60px rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow: hidden;
  transform: scale(0.9);
  transition: transform var(--archer-transition-normal) var(--archer-ease-out);
}

.modal.show .modal-content {
  transform: scale(1);
}

.modal-header {
  padding: var(--archer-space-lg);
  border-bottom: 1px solid var(--vt-border-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(26, 41, 66, 0.9) 0%, rgba(21, 34, 56, 0.9) 100%);
}

.modal-title {
  font-size: var(--archer-text-lg);
  font-weight: var(--archer-font-semibold);
  color: var(--vt-text-primary);
  margin: 0;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: var(--archer-radius-md);
  background-color: transparent;
  color: var(--vt-text-secondary);
  border: 1px solid var(--vt-border-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--archer-transition-normal) var(--archer-ease-out);
}

.modal-close:hover {
  background: rgba(231, 76, 60, 0.15);
  color: var(--vt-danger);
  border-color: var(--vt-danger);
  box-shadow: 0 0 15px rgba(231, 76, 60, 0.3);
}

.modal-body {
  padding: var(--archer-space-lg);
  max-height: 60vh;
  overflow-y: auto;
}

.modal-footer {
  padding: var(--archer-space-lg);
  border-top: 1px solid var(--vt-border-primary);
  display: flex;
  gap: var(--archer-space-sm);
  justify-content: flex-end;
  background: linear-gradient(135deg, rgba(26, 41, 66, 0.9) 0%, rgba(21, 34, 56, 0.9) 100%);
}

/* ==========================================================================
   Empty State and Loading State - Coeur Mining Gold Theme
   ========================================================================== */

.empty-state {
  text-align: center;
  padding: var(--archer-space-4xl);
  color: var(--vt-text-secondary);
}

.empty-state-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--archer-space-lg);
  background: linear-gradient(135deg, rgba(26, 41, 66, 0.9) 0%, rgba(21, 34, 56, 0.9) 100%);
  border-radius: var(--archer-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vt-text-muted);
  border: 1px solid var(--vt-border-primary);
}

.empty-state-title {
  font-size: var(--archer-text-xl);
  font-weight: var(--archer-font-semibold);
  color: var(--vt-text-primary);
  margin-bottom: var(--archer-space-sm);
}

.empty-state-text {
  font-size: var(--archer-text-base);
  line-height: var(--archer-leading-relaxed);
  margin-bottom: var(--archer-space-lg);
}

.empty-data {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--archer-space-4xl);
  text-align: center;
  color: var(--vt-text-secondary);
}

.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--archer-space-4xl);
}

/* ==========================================================================
   Responsive Design Utilities
   ========================================================================== */

.hidden { display: none; }
.visible { display: block; }

/* Mobile Show/Hide */
.hidden-mobile { display: none; }
.visible-mobile { display: block; }

.hidden-desktop { display: block; }
.visible-desktop { display: none; }

/* ==========================================================================
   Responsive Breakpoint Optimization
   ========================================================================== */

/* Mobile Optimization */
@media (max-width: 640px) {
  .container {
    padding: 0 var(--archer-space-md);
  }

  .hidden-mobile { display: none !important; }
  .visible-mobile { display: block !important; }

  .nav-bar {
    height: 60px;
  }

  .nav-item {
    min-width: 60px;
    font-size: 10px;
  }

  .nav-item::before {
    width: 28px;
    height: 28px;
  }

  .modal-content {
    width: 95%;
    margin: var(--archer-space-lg);
  }
}

/* Tablet Optimization */
@media (min-width: 641px) and (max-width: 768px) {
  .nav-item {
    min-width: 70px;
  }
}

/* Desktop Optimization */
@media (min-width: 1024px) {
  .hidden-desktop { display: none !important; }
  .visible-desktop { display: block !important; }

  .container {
    padding: 0 var(--archer-space-xl);
  }

  .form-control {
    font-size: var(--archer-text-base);
  }
}

/* ==========================================================================
   Optimized Micro-interactions and Animations
   ========================================================================== */

/* Smooth Scrolling */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Hover Lift Effect */
.hover-lift {
  transition: transform var(--archer-transition-normal) var(--archer-ease-out);
}

.hover-lift:hover {
  transform: translateY(-2px);
}

/* Press Effect */
.press-effect {
  transition: transform var(--archer-transition-fast) var(--archer-ease-out);
}

.press-effect:active {
  transform: translateY(1px);
}

/* Fade In Animation */
.fade-in {
  animation: fadeIn var(--archer-transition-slow) var(--archer-ease-out);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Slide In Animation */
.slide-in {
  animation: slideIn var(--archer-transition-slow) var(--archer-ease-out);
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Glow Pulse Animation */
@keyframes glowPulse {
  0%, 100% { box-shadow: var(--vt-shadow-glow); }
  50% { box-shadow: var(--vt-shadow-glow-strong); }
}

.glow-pulse {
  animation: glowPulse 2s ease-in-out infinite;
}

/* ==========================================================================
   Accessibility and Usability Optimization
   ========================================================================== */

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --vt-border-primary: #3A4A5D;
    --vt-border-secondary: #FFD700;
    --vt-text-secondary: #C8D4E4;
  }
}

/* Reduced Motion Mode Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus Visibility */
.focus-visible {
  outline: 2px solid var(--vt-accent-primary);
  outline-offset: 2px;
}

/* Touch Device Optimization */
@media (pointer: coarse) {
  .btn,
  .nav-item,
  .form-control {
    min-height: 44px;
  }
}

/* Unified Back Button Style - Coeur Mining Gold Theme */
.back-button {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, rgba(26, 41, 66, 0.95) 0%, rgba(21, 34, 56, 0.95) 100%);
  border: 1px solid var(--vt-border-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
  box-shadow: var(--vt-shadow-sm);
  z-index: 10;
}

.back-button:hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(255, 215, 0, 0.15) 100%);
  border-color: var(--vt-accent-primary);
  box-shadow: var(--vt-shadow-glow);
  transform: translateY(-50%) scale(1.05);
}

.back-button:active {
  transform: translateY(-50%) scale(0.95);
}

.back-button svg {
  width: 20px;
  height: 20px;
  color: var(--vt-accent-primary);
}

.back-button:hover svg {
  color: #FFD700;
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.6));
}

/* Ensure header container has relative positioning */
.header,
.page-header {
  position: relative;
}

/* Adjust title styles to accommodate back button */
.header .title,
.page-header .page-title h1,
.page-header .header-title h1 {
  text-align: center;
  width: 100%;
  padding-left: 56px;
  box-sizing: border-box;
}

/* ==========================================================================
   Common Header Styles - Coeur Mining Gold Theme
   ========================================================================== */

.common-header {
  background: linear-gradient(180deg, rgba(21, 34, 56, 0.98) 0%, rgba(13, 27, 42, 0.95) 100%);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: var(--vt-shadow-md), 0 4px 30px rgba(212, 175, 55, 0.1);
  backdrop-filter: blur(20px);
}

.common-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--vt-gradient-primary);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.common-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}

/* Page Title Style */
.common-header-title {
  color: var(--vt-text-primary);
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  font-family: var(--archer-font-family);
  flex: 1;
  margin: 0;
}

/* Header Logo Styles */
.header-logo {
  display: flex;
  align-items: center;
  width: 33.33%;
}

.logo-image {
  height: 56px;
  width: 100%;
  max-width: 140px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.1));
}

/* Header Center Area */
.header-center {
  width: 33.33%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Header Customer Service Button */
.header-customer-service {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 33.33%;
}

/* Back Button Style - Coeur Mining Gold Theme */
.common-header .back-button {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, rgba(26, 41, 66, 0.95) 0%, rgba(21, 34, 56, 0.95) 100%);
  border: 1px solid var(--vt-border-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
  box-shadow: var(--vt-shadow-sm);
}

.common-header .back-button:hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(255, 215, 0, 0.15) 100%);
  border-color: var(--vt-accent-primary);
  box-shadow: var(--vt-shadow-glow);
  transform: translateY(-50%) scale(1.05);
}

.common-header .back-button:active {
  transform: translateY(-50%) scale(0.95);
}

.common-header .back-button svg {
  width: 20px;
  height: 20px;
  color: var(--vt-accent-primary);
}

.common-header .back-button:hover svg {
  color: #FFD700;
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.6));
}

/* Common Header Responsive Design */
@media (max-width: 480px) {
  .common-header {
    padding: 16px 0;
  }
  
  .common-header-content {
    padding: 0 12px;
  }
  
  .logo-image {
    height: 46px;
    max-width: 115px;
  }
  
  .common-header .back-button {
    width: 40px;
    height: 40px;
  }
}

/* Common Header Animation Effects */
.common-header.fade-in {
  animation: headerFadeIn 0.6s ease-out forwards;
}

@keyframes headerFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ensure page content is not blocked by fixed header */
.page-container.with-common-header {
  padding-top: 0;
}

.page-container.with-common-header .main-content {
  margin-top: 0;
}

/* ==========================================================================
   Hero Header - Coeur Mining Gold Theme (Universal Header Style)
   ========================================================================== */

.hero-header {
    background: linear-gradient(180deg, rgba(21, 34, 56, 0.98) 0%, rgba(13, 27, 42, 0.95) 100%);
    padding: 16px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), 0 2px 20px rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(20px);
}

.hero-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.hero-header-inner {
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-icon {
    width: 36px;
    height: 36px;
    background: var(--accent-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow-primary), 0 0 20px rgba(212, 175, 55, 0.3);
    animation: goldPulse 3s ease-in-out infinite;
}

.brand-icon svg {
    width: 20px;
    height: 20px;
    color: #0D1B2A;
}

.brand-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    font-family: 'Cinzel', 'Playfair Display', serif;
}

.hero-header-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 1px;
    text-align: center;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.hero-header .back-button {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(26, 41, 66, 0.95) 0%, rgba(21, 34, 56, 0.95) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    padding: 0;
}

.hero-header .back-button:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(255, 215, 0, 0.15) 100%);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow-primary);
    transform: translateY(-50%) scale(1.05);
}

.hero-header .back-button:active {
    transform: translateY(-50%) scale(0.98);
}

.hero-header .back-button svg {
    width: 20px;
    height: 20px;
    color: var(--accent-primary);
}

@media (max-width: 480px) {
    .hero-header {
        padding: 14px 16px;
    }
    
    .brand-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }
    
    .brand-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .brand-text {
        font-size: 18px;
    }
    
    .hero-header-title {
        font-size: 17px;
    }
    
    .hero-header .back-button {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }
    
    .hero-header .back-button svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 360px) {
    .brand-text {
        font-size: 16px;
    }
    
    .hero-header-title {
        font-size: 16px;
    }
}

/* ==========================================================================
   Scrollbar Styling - Coeur Mining Gold Theme
   ========================================================================== */

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--vt-bg-secondary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #2A3A4D 0%, #1B2838 100%);
  border-radius: 4px;
  border: 1px solid var(--vt-border-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--vt-accent-primary) 0%, var(--vt-accent-secondary) 100%);
  box-shadow: var(--vt-shadow-glow);
}

/* Firefox Scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: #2A3A4D var(--vt-bg-secondary);
}

/* ==========================================================================
   Gold Shimmer Effect - Coeur Mining Signature
   ========================================================================== */

.gold-shimmer {
  background: linear-gradient(
    90deg,
    var(--vt-accent-primary) 0%,
    #FFD700 25%,
    var(--vt-accent-primary) 50%,
    #FFD700 75%,
    var(--vt-accent-primary) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 3s linear infinite;
}

.gold-border {
  border: 2px solid transparent;
  background: linear-gradient(var(--vt-bg-card), var(--vt-bg-card)) padding-box,
              var(--vt-gradient-primary) border-box;
}

.gold-glow {
  box-shadow: var(--vt-shadow-glow);
}

.gold-glow-strong {
  box-shadow: var(--vt-shadow-glow-strong);
}

/* ==========================================================================
   Unified Masthead Header - Coeur Mining Gold Theme (Standard Header)
   ========================================================================== */

.masthead {
    position: relative;
    z-index: 10;
    padding: 20px 24px;
    background: linear-gradient(180deg, rgba(5, 10, 18, 0.95) 0%, transparent 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 480px;
    margin: 0 auto;
}

.masthead-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    width: 48px;
    height: 48px;
    background: linear-gradient(145deg, #D4AF37 0%, #B8860B 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    color: #050A12;
    font-family: 'Cormorant Garamond', serif;
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.2);
}

.brand-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.masthead .brand-name {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 1px;
}

.masthead .brand-tagline {
    font-size: 11px;
    color: rgba(212, 175, 55, 0.8);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 500;
}

/* Nav Back Button - Right Side Position */
.masthead .nav-back {
    width: 42px;
    height: 42px;
    background: rgba(27, 40, 56, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.masthead .nav-back:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: #D4AF37;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    transform: scale(1.05);
}

.masthead .nav-back svg {
    width: 20px;
    height: 20px;
    color: #D4AF37;
}

/* Masthead Responsive Design */
@media (max-width: 480px) {
    .masthead {
        padding: 16px 20px;
    }
    
    .brand-mark {
        width: 42px;
        height: 42px;
        font-size: 22px;
        border-radius: 12px;
    }
    
    .masthead .brand-name {
        font-size: 18px;
    }
    
    .masthead .brand-tagline {
        font-size: 10px;
        letter-spacing: 2px;
    }
    
    .masthead .nav-back {
        width: 38px;
        height: 38px;
    }
    
    .masthead .nav-back svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 360px) {
    .masthead {
        padding: 14px 16px;
    }
    
    .brand-mark {
        width: 38px;
        height: 38px;
        font-size: 20px;
        border-radius: 10px;
    }
    
    .masthead .brand-name {
        font-size: 16px;
    }
    
    .masthead .brand-tagline {
        font-size: 9px;
        letter-spacing: 1.5px;
    }
    
    .masthead .nav-back {
        width: 36px;
        height: 36px;
    }
}


.panel-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.panel-icon svg {
  width: 22px;
  height: 22px;
  color: #0D1B2A;
}

.panel-title {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0;
}

.guidelines-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

.guidelines-icon svg {
  width: 26px;
  height: 26px;
  color: #0D1B2A;
}



 .blank-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 24px;
  text-align: center;
}

 .blank-state.hidden {
  display: none;
}

 .blank-visual {
  position: relative;
  width: 140px;
  height: 140px;
  margin-bottom: 32px;
}

 .hex-shape {
  position: absolute;
  inset: 0;
  animation: hexRotate 20s linear infinite;
}

 .hex-shape svg {
  width: 100%;
  height: 100%;
  color: rgba(212, 175, 55, 0.2);
}

@keyframes hexRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

 .blank-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

 .blank-icon svg {
  width: 40px;
  height: 40px;
  color: var(--vt-text-muted);
}

 .blank-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--vt-text-primary);
  margin: 0 0 12px 0;
  letter-spacing: 1px;
}

 .blank-desc {
  font-size: 14px;
  color: var(--vt-text-muted);
  margin: 0;
  line-height: 1.6;
}


.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  text-align: center;
  background: linear-gradient(135deg, rgba(21, 34, 56, 0.6) 0%, rgba(13, 27, 42, 0.8) 100%);
  border-radius: 24px;
  border: 2px dashed rgba(255, 255, 255, 0.08);
}

.empty-icon {
  width: 100px;
  height: 100px;
  background: rgba(80, 200, 120, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid rgba(80, 200, 120, 0.2);
}

.empty-icon svg {
  width: 48px;
  height: 48px;
  color: rgba(255, 255, 255, 0.3);
}

.empty-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}

.empty-hint {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 24px;
}

.empty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #50C878 0%, #3DA868 100%);
  border: none;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #050A12;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 8px 24px rgba(80, 200, 120, 0.35);
  text-decoration: none;
}

.empty-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(80, 200, 120, 0.5);
}

.empty-btn svg {
  width: 18px;
  height: 18px;
}