@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;500;600;700&family=Playfair+Display:wght@400;600;700&display=swap');

:root {

  --hz-bg-primary: #E8EDE4;
  --hz-bg-secondary: #DDE5D8;
  --hz-bg-card: #FAFAF8;
  --hz-bg-elevated: #FFFFFF;
  --hz-bg-page: #E8EDE4;

  --hz-accent-primary: #2F4538;
  --hz-accent-secondary: #C5A028;
  --hz-accent-tertiary: #367C2B;
  --hz-accent-gradient: linear-gradient(135deg, #2F4538 0%, #3A5548 100%);
  --hz-accent-glow: rgba(47, 69, 56, 0.12);

  --hz-text-primary: #2F4538;
  --hz-text-secondary: #5A6B5E;
  --hz-text-muted: #8A958C;
  --hz-text-accent: #C5A028;

  --hz-border-primary: #D4DDD0;
  --hz-border-secondary: rgba(47, 69, 56, 0.22);
  --hz-border-glow: rgba(197, 160, 40, 0.35);

  --hz-success: #367C2B;
  --hz-warning: #B8860B;
  --hz-danger: #A83232;
  --hz-info: #3A5548;

  --hz-shadow-sm: 0 1px 4px rgba(47, 69, 56, 0.06);
  --hz-shadow-md: 0 2px 12px rgba(47, 69, 56, 0.08);
  --hz-shadow-lg: 0 4px 24px rgba(47, 69, 56, 0.1);
  --hz-shadow-glow: 0 2px 12px rgba(47, 69, 56, 0.1);
  --hz-shadow-glow-strong: 0 4px 16px rgba(47, 69, 56, 0.14);
  --hz-shadow-ice-glow: 0 2px 8px rgba(47, 69, 56, 0.08);

  --hz-gradient-primary: linear-gradient(135deg, #2F4538 0%, #3A5548 100%);
  --hz-gradient-dark: linear-gradient(135deg, #2F4538 0%, #3A5548 100%);
  --hz-gradient-card: linear-gradient(135deg, #FAFAF8 0%, #FFFFFF 100%);
  --hz-gradient-accent: linear-gradient(135deg, #2F4538 0%, #367C2B 100%);
  --hz-gradient-warm: linear-gradient(135deg, #C5A028 0%, #B8922A 100%);
  --hz-gradient-aurora: linear-gradient(135deg, #2F4538 0%, #5A6B5E 50%, #C5A028 100%);

  --vt-bg-primary: var(--hz-bg-primary);
  --vt-bg-secondary: var(--hz-bg-secondary);
  --vt-bg-card: var(--hz-bg-card);
  --vt-bg-elevated: var(--hz-bg-elevated);
  --vt-bg-page: var(--hz-bg-page);

  --vt-accent-primary: var(--hz-accent-primary);
  --vt-accent-secondary: var(--hz-accent-secondary);
  --vt-accent-gradient: var(--hz-accent-gradient);
  --vt-accent-glow: var(--hz-accent-glow);

  --vt-text-primary: var(--hz-text-primary);
  --vt-text-secondary: var(--hz-text-secondary);
  --vt-text-muted: var(--hz-text-muted);
  --vt-text-accent: var(--hz-text-accent);
  --vt-text-inverse: #FAFAF8;

  --vt-border-primary: var(--hz-border-primary);
  --vt-border-secondary: var(--hz-border-secondary);
  --vt-border-glow: var(--hz-border-glow);

  --vt-success: var(--hz-success);
  --vt-warning: var(--hz-warning);
  --vt-danger: var(--hz-danger);
  --vt-info: var(--hz-info);

  --vt-shadow-sm: var(--hz-shadow-sm);
  --vt-shadow-md: var(--hz-shadow-md);
  --vt-shadow-lg: var(--hz-shadow-lg);
  --vt-shadow-glow: var(--hz-shadow-glow);
  --vt-shadow-glow-strong: var(--hz-shadow-glow-strong);

  --vt-gradient-primary: var(--hz-gradient-primary);
  --vt-gradient-dark: var(--hz-gradient-dark);
  --vt-gradient-card: var(--hz-gradient-card);

  --bg-page: #E8EDE4;
  --bg-card: #FAFAF8;
  --bg-secondary: #DDE5D8;
  --bg-elevated: #FFFFFF;
  --bg-overlay: rgba(232, 237, 228, 0.95);

  --accent-primary: #2F4538;
  --accent-secondary: #C5A028;
  --accent-tertiary: #367C2B;
  --accent-gradient: linear-gradient(135deg, #2F4538 0%, #3A5548 100%);

  --text-primary: #2F4538;
  --text-secondary: #5A6B5E;
  --text-muted: #8A958C;
  --text-inverse: #FAFAF8;

  --border-color: #D4DDD0;
  --border-light: rgba(47, 69, 56, 0.08);

  --success: #367C2B;
  --warning: #C67B3E;
  --danger: #B71C1C;
  --info: #2D5016;

  --shadow-light: 0 1px 4px rgba(47, 69, 56, 0.06);
  --shadow-medium: 0 2px 12px rgba(47, 69, 56, 0.08);
  --shadow-card: 0 2px 16px rgba(47, 69, 56, 0.07);
  --shadow-glow-primary: 0 2px 12px rgba(47, 69, 56, 0.1);
  --shadow-glow-secondary: 0 2px 8px rgba(197, 160, 40, 0.12);
  --shadow-none: none;

  --gradient-dark: linear-gradient(135deg, #2F4538 0%, #3A5548 100%);
  --gradient-card: linear-gradient(135deg, #FAFAF8 0%, #FFFFFF 100%);

  --icon-plate-bg: #FAFAF8;
  --icon-plate-color: #2F4538;
  --icon-plate-border: 1px solid #D4DDD0;

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

  --radius-none: 0;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 50%;

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

  --font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
  --font-numeric: var(--font-family);

  --archer-font-family: var(--font-display);
  --archer-font-sans: var(--font-family);
  --archer-font-mono: var(--font-mono);

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

  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  --leading-tight: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.75;

  --z-base: 0;
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal: 10000;
  --z-popover: 1050;
  --z-tooltip: 1060;
  --z-toast: 9999;
}

* {
  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-family);
  background-color: var(--hz-bg-page);
  color: var(--hz-text-primary);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: none;
  background-attachment: fixed;
}

.balance-amount,
.amount-number,
.amount-value,
.amount-text,
.amount-symbol,
.overview-amount,
.chip-value,
.invest-price,
.invest-meta-value,
.stat-value,
.stat-number,
.modal-stat-value,
.tier-number,
.tier-percent,
.value-amount,
.user-value,
.user-rank-number,
.page-current,
.page-total,
.page-number,
.balance-modal-amount,
.option-balance,
.task-progress-text,
.task-reward,
.member-phone-value,
.member-phone,
.member-earnings,
.modal-level-badge,
.rank-badge,
.guideline-number,
.amount-option .value,
.amount-option .currency,
.amount-badge,
.bonus-badge,
.filter-count,
.link-text,
.amount-input-field,
.currency-symbol,
.user-phone {
  font-family: var(--font-numeric);
}

a {
  color: var(--hz-accent-primary);
  text-decoration: none;
  transition: color var(--transition-normal) var(--ease-out);
}

a:hover {
  color: var(--hz-accent-secondary);
  text-shadow: none;
}

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

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(--transition-normal) var(--ease-out);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.text-primary { color: var(--hz-text-primary); }
.text-secondary { color: var(--hz-text-secondary); }
.text-success { color: var(--hz-success); }
.text-warning { color: var(--hz-warning); }
.text-danger { color: var(--hz-danger); }
.text-info { color: var(--hz-info); }
.text-accent { color: var(--hz-accent-primary); }
.text-ice { color: var(--hz-accent-primary); text-shadow: none; }
.text-moss { color: var(--hz-accent-secondary); text-shadow: none; }

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

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

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--hz-border-primary);
  border-top-color: var(--hz-accent-primary);
  border-right-color: var(--hz-accent-secondary);
  border-radius: var(--radius-full);
  animation: spin 1s linear infinite;
  box-shadow: var(--hz-shadow-glow);
}

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

@keyframes fieldPulse {
  0%, 100% {
    box-shadow: 0 0 16px rgba(45, 70, 40, 0.2);
  }
  50% {
    box-shadow: 0 0 24px rgba(233, 162, 38, 0.3);
  }
}

@keyframes fieldGlow {
  0%, 100% {
    filter: drop-shadow(0 0 4px rgba(45, 70, 40, 0.3));
  }
  50% {
    filter: drop-shadow(0 0 8px rgba(233, 162, 38, 0.4));
  }
}

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

@keyframes floatUp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes breathe {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}

.bottom-navigation {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 70px !important;
  background: #FFFFFF !important;
  border-top: 1px solid #D4DDD0 !important;
  box-shadow: 0 -1px 8px rgba(47, 69, 56, 0.04) !important;
  z-index: 9999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-around !important;
  padding: 8px 0 !important;
  backdrop-filter: none !important;
}

.nav-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px !important;
  color: var(--hz-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: transparent !important;
  color: var(--hz-accent-primary) !important;
  transform: none !important;
}

.nav-item:hover .nav-icon {
  background: var(--hz-accent-primary) !important;
  color: #FFFFFF !important;
  opacity: 1 !important;
}

.nav-item.active {
  color: var(--hz-accent-primary) !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  animation: none !important;
}

.nav-icon {
  width: 36px !important;
  height: 36px !important;
  padding: 7px !important;
  box-sizing: border-box !important;
  background: var(--hz-accent-primary) !important;
  border-radius: 10px !important;
  stroke: #FFFFFF !important;
  fill: #FFFFFF !important;
  stroke-width: 2 !important;
  color: #FFFFFF !important;
  transition: all 0.3s ease !important;
  opacity: 0.55 !important;
}

.nav-icon path {
  fill: #FFFFFF !important;
}

.nav-item.active .nav-icon {
  opacity: 1 !important;
  box-shadow: var(--hz-shadow-glow) !important;
  animation: none !important;
}

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

@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: 32px !important;
    height: 32px !important;
    padding: 6px !important;
    border-radius: 8px !important;
  }
}

.form-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-xl);
  background: var(--hz-accent-primary);
  color: #FAFAF8;
  border: 1px solid var(--hz-accent-primary);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  font-family: var(--font-family);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal) var(--ease-out);
  min-height: 48px;
  line-height: 1;
  gap: var(--space-sm);
  box-shadow: var(--hz-shadow-sm);
  text-transform: none;
  letter-spacing: 0.3px;
}

.form-button:hover {
  transform: translateY(-1px);
  box-shadow: var(--hz-shadow-md);
  background: #3A5548;
  border-color: #3A5548;
}

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

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

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

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

.toast.success {
  background: rgba(74, 222, 128, 0.1);
  color: var(--hz-success);
  border-color: var(--hz-success);
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.3), 0 0 40px rgba(74, 222, 128, 0.1);
}

.toast.error {
  background: rgba(248, 113, 113, 0.1);
  color: var(--hz-danger);
  border-color: var(--hz-danger);
  box-shadow: 0 0 20px rgba(248, 113, 113, 0.3), 0 0 40px rgba(248, 113, 113, 0.1);
}

.toast.warning {
  background: rgba(233, 162, 38, 0.1);
  color: var(--hz-warning);
  border-color: var(--hz-warning);
  box-shadow: 0 0 12px rgba(233, 162, 38, 0.15);
}

.toast.info {
  background: rgba(45, 70, 40, 0.1);
  color: var(--hz-accent-primary);
  border-color: var(--hz-accent-primary);
  box-shadow: var(--hz-shadow-glow), 0 0 40px rgba(45, 70, 40, 0.15);
}

.card {
  background: var(--hz-bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--hz-shadow-sm);
  border: 1px solid var(--hz-border-primary);
  overflow: hidden;
  transition: all var(--transition-normal) var(--ease-out);
  margin-bottom: var(--space-lg);
  position: relative;
}

.card::before {
  display: none;
}

.card:hover {
  box-shadow: var(--hz-shadow-md);
  border-color: var(--hz-border-secondary);
  transform: translateY(-1px);
}

.card:hover::before {
  display: none;
}

.card-header {
  padding: var(--space-lg);
  border-bottom: 1px solid var(--hz-border-primary);
  background: var(--hz-bg-elevated);
}

.card-title {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--hz-text-primary);
  margin: 0;
  text-shadow: none;
}

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

.card-footer {
  padding: var(--space-lg);
  border-top: 1px solid var(--hz-border-primary);
  background: var(--hz-bg-elevated);
}

.header {
  height: 60px;
  background: rgba(255, 251, 245, 0.98);
  color: var(--hz-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--hz-border-primary);
  box-shadow: var(--hz-shadow-sm);
  z-index: var(--z-sticky);
}

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

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

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

.back-btn:hover {
  background: linear-gradient(135deg, rgba(45, 70, 40, 0.2) 0%, rgba(233, 162, 38, 0.15) 100%);
  color: var(--hz-accent-primary);
  border-color: var(--hz-accent-primary);
  box-shadow: var(--hz-shadow-glow);
}

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

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

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

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

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

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

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

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

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

.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; }

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

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

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

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

.btn-primary {
  background: var(--hz-accent-primary);
  color: #FAFAF8;
  border: 1px solid var(--hz-accent-primary);
  box-shadow: var(--hz-shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--hz-shadow-md);
  background: #3A5548;
  border-color: #3A5548;
}

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

.btn-secondary {
  background: var(--hz-bg-card);
  color: var(--hz-text-primary);
  border-color: var(--hz-border-primary);
}

.btn-secondary:hover {
  background: var(--hz-bg-elevated);
  border-color: var(--hz-accent-primary);
  color: var(--hz-accent-primary);
  transform: translateY(-1px);
  box-shadow: var(--hz-shadow-sm);
}

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

.btn-outline:hover {
  background: var(--hz-accent-primary);
  color: #FAFAF8;
  transform: translateY(-1px);
  box-shadow: var(--hz-shadow-sm);
}

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

.btn-ghost:hover {
  background: rgba(45, 70, 40, 0.1);
  color: var(--hz-accent-primary);
}

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

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

.form-control {
  width: 100%;
  padding: var(--space-md);
  border: 1px solid var(--hz-border-primary);
  border-radius: var(--radius-md);
  background: var(--hz-bg-card);
  color: var(--hz-text-primary);
  font-size: var(--text-base);
  font-family: var(--font-family);
  transition: all var(--transition-normal) var(--ease-out);
  min-height: 44px;
}

.form-control:focus {
  border-color: var(--hz-accent-primary);
  outline: none;
  box-shadow: var(--hz-shadow-glow), inset 0 0 20px rgba(45, 70, 40, 0.05);
}

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

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

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

.form-control.is-valid {
  border-color: var(--hz-success);
  box-shadow: 0 0 15px rgba(74, 222, 128, 0.2);
}

.form-control.is-invalid {
  border-color: var(--hz-danger);
  box-shadow: 0 0 15px rgba(248, 113, 113, 0.2);
}

.form-control:disabled {
  background: var(--hz-bg-secondary);
  color: var(--hz-text-muted);
  cursor: not-allowed;
}

.list {
  background: var(--hz-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--hz-border-primary);
  overflow: hidden;
  box-shadow: var(--hz-shadow-sm);
}

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

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

.list-item:hover {
  background: rgba(45, 70, 40, 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(--space-md);
}

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

.list-item-subtitle {
  font-size: var(--text-sm);
  color: var(--hz-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(--icon-plate-bg);
  color: var(--icon-plate-color);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(45, 70, 40, 0.18);
}

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

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

.modal-content {
  background: var(--hz-bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--hz-shadow-lg);
  border: 1px solid var(--hz-border-primary);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow: hidden;
  transform: scale(0.9);
  transition: transform var(--transition-normal) var(--ease-out);
}

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

.modal-header {
  padding: var(--space-lg);
  border-bottom: 1px solid var(--hz-border-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--hz-bg-elevated);
}

.modal-title {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--hz-text-primary);
  margin: 0;
  text-shadow: 0 0 20px rgba(45, 70, 40, 0.3);
}

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

.modal-close:hover {
  background: rgba(45, 70, 40, 0.15);
  color: var(--hz-danger);
  border-color: var(--hz-danger);
  box-shadow: 0 0 15px rgba(45, 70, 40, 0.3);
}

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

.modal-footer {
  padding: var(--space-lg);
  border-top: 1px solid var(--hz-border-primary);
  display: flex;
  gap: var(--space-sm);
  justify-content: flex-end;
  background: var(--hz-bg-elevated);
}

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

.empty-state-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  background: var(--icon-plate-bg);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--icon-plate-color);
  border: none;
  box-shadow: 0 4px 12px rgba(45, 70, 40, 0.18);
}

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

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

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

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

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

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

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

@media (max-width: 640px) {
  .container {
    padding: 0 var(--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(--space-lg);
  }
}

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

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

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

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

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

.hover-lift {
  transition: transform var(--transition-normal) var(--ease-out);
}

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

.press-effect {
  transition: transform var(--transition-fast) var(--ease-out);
}

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

.fade-in {
  animation: fadeIn var(--transition-slow) var(--ease-out);
}

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

.slide-in {
  animation: slideIn var(--transition-slow) var(--ease-out);
}

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

@keyframes glowPulse {
  0%, 100% { box-shadow: var(--hz-shadow-glow); }
  50% { box-shadow: var(--hz-shadow-glow-strong); }
}

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

@media (prefers-contrast: high) {
  :root {
    --hz-border-primary: #5A3545;
    --hz-border-secondary: #F97316;
    --hz-text-secondary: #E8C4A8;
  }
}

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

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

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

.back-button {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: var(--icon-plate-bg);
  border: var(--icon-plate-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
  box-shadow: var(--hz-shadow-sm);
  z-index: 10;
}

.back-button:hover {
  background: var(--hz-bg-elevated);
  border-color: var(--hz-accent-primary);
  box-shadow: var(--hz-shadow-md);
  transform: translateY(-50%);
}

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

.back-button svg {
  width: 20px;
  height: 20px;
  color: var(--icon-plate-color);
}

.back-button:hover svg {
  color: var(--icon-plate-color);
  filter: none;
}

.header,
.page-header {
  position: relative;
}

.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 {
  background: #FFFFFF;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--hz-border-primary);
  box-shadow: var(--hz-shadow-sm);
  backdrop-filter: none;
}

.common-header::after {
  display: none;
}

.common-header-title {
  color: var(--hz-text-primary);
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  font-family: var(--font-display);
  flex: 1;
  margin: 0;
}

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

.common-header-title {
  color: var(--hz-text-primary);
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  font-family: var(--font-display);
  flex: 1;
  margin: 0;
}

.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(45, 70, 40, 0.1));
}

.header-center {
  width: 33.33%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-customer-service {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 33.33%;
}

.common-header .back-button {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: var(--icon-plate-bg);
  border: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(45, 70, 40, 0.18);
}

.common-header .back-button:hover {
  background: linear-gradient(135deg, #367C2B 0%, #2D4628 100%);
  box-shadow: 0 6px 16px rgba(45, 70, 40, 0.25);
  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(--icon-plate-color);
}

.common-header .back-button:hover svg {
  color: var(--icon-plate-color);
  filter: none;
}

@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.fade-in {
  animation: headerFadeIn 0.6s ease-out forwards;
}

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

.page-container.with-common-header {
  padding-top: 0;
}

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

.hero-header {
    background: #FFFFFF;
    padding: 16px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--hz-border-primary);
    box-shadow: var(--hz-shadow-sm);
    backdrop-filter: none;
}

.hero-header::before {
    display: none;
}

.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(--icon-plate-bg);
    border: var(--icon-plate-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.brand-icon svg {
    width: 20px;
    height: 20px;
    color: var(--icon-plate-color);
}

.brand-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.5px;
    text-shadow: none;
    font-family: var(--font-display);
}

.hero-header-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.3px;
    text-align: center;
    text-shadow: none;
    font-family: var(--font-display);
}

.hero-header .back-button {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--icon-plate-bg);
    border: var(--icon-plate-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--hz-shadow-sm);
    padding: 0;
}

.hero-header .back-button:hover {
    background: var(--hz-bg-elevated);
    border-color: var(--accent-primary);
    box-shadow: var(--hz-shadow-md);
    transform: translateY(-50%);
}

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

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

@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;
    }
}

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

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

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

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

* {
  scrollbar-width: thin;
  scrollbar-color: #2D4628 var(--hz-bg-secondary);
}

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

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

.ice-glow {
  box-shadow: var(--hz-shadow-glow);
}

.ice-glow-strong {
  box-shadow: var(--hz-shadow-glow-strong);
}

.masthead {
    position: relative;
    z-index: 10;
    padding: 20px 24px;
    background: #FFFFFF;
    border-bottom: 1px solid var(--hz-border-primary);
    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: var(--hz-accent-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    color: #FAFAF8;
    font-family: var(--font-display);
    box-shadow: var(--hz-shadow-sm);
}

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

.masthead .brand-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--hz-text-primary);
    font-family: var(--font-display);
    letter-spacing: 0.3px;
}

.masthead .brand-tagline {
    font-size: 11px;
    color: var(--hz-text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.masthead .nav-back {
    width: 42px;
    height: 42px;
    background: var(--icon-plate-bg);
    border: var(--icon-plate-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    box-shadow: var(--hz-shadow-sm);
}

.masthead .nav-back:hover {
    background: var(--hz-bg-elevated);
    border-color: var(--hz-accent-primary);
    box-shadow: var(--hz-shadow-md);
    transform: none;
}

.masthead .nav-back svg {
    width: 20px;
    height: 20px;
    color: var(--icon-plate-color);
}

@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;
    }
}
