@import url(https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap);
/* ===== LIGHT THEME (Default) ===== */
:root {
  /* Primary Colors */
  --primary-color: #007bff;
  --primary-gradient: linear-gradient(135deg, #f0c5d5 0%, #8ac0d5 100%);
  --primary-pink: #f0c5d5;
  --primary-blue: #8ac0d5;

  /* Semantic Colors */
  --success-color: #28a745;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #17a2b8;

  /* Background Colors */
  --bg-primary: #f5f7fa;
  --bg-secondary: #f9fafb;
  --bg-card: #ffffff;
  --bg-input: #f9fafb;
  --bg-hover: #f3f4f6;
  --bg-overlay: rgba(0, 0, 0, 0.5);

  /* Text Colors */
  --text-primary: #111827;
  --text-secondary: #6b7280;
  --text-tertiary: #9ca3af;
  --text-inverse: #ffffff;
  --text-link: #93c5fd;
  --text-link-hover: #d8b4fe;

  /* Border Colors */
  --border-primary: #e5e7eb;
  --border-secondary: #f3f4f6;
  --border-focus: #8ac0d5;

  /* Shadow Colors */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-bottom-nav: 0 -2px 20px rgba(0, 0, 0, 0.08);
  --shadow-gradient: 0 4px 12px rgba(240, 197, 213, 0.15);

  /* Scrollbar Colors */
  --scrollbar-track: #f3f4f6;
  --scrollbar-thumb: linear-gradient(135deg, #f0c5d5 0%, #8ac0d5 100%);

  /* Toggle/Switch Colors */
  --toggle-bg: #e5e7eb;
  --toggle-bg-active: linear-gradient(135deg, #f0c5d5 0%, #8ac0d5 100%);
  --toggle-knob: #ffffff;

  /* Alert Colors */
  --alert-error-bg: #fef2f2;
  --alert-error-text: #dc2626;
  --alert-error-border: #fecaca;
  --alert-success-bg: #f0fdf4;
  --alert-success-text: #16a34a;
  --alert-success-border: #bbf7d0;

  /* Premium Badge */
  --badge-premium-bg: #fef3c7;
  --badge-premium-text: #92400e;
  --badge-premium-icon: #f59e0b;

  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;

  /* Typography */
  --font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Roboto", sans-serif;
  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size-md: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 20px;
  --font-size-2xl: 24px;
  --font-size-3xl: 32px;

  /* Border Radius */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 16px;
  --border-radius-2xl: 20px;
  --border-radius-full: 50%;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.2s ease;
  --transition-slow: 0.3s ease;
}

/* ===== DARK THEME ===== */
[data-theme="dark"] {
  /* Background Colors */
  --bg-primary: #121212;
  --bg-secondary: #1e1e1e;
  --bg-card: #2d2d2d;
  --bg-input: #3d3d3d;
  --bg-hover: #3d3d3d;
  --bg-overlay: rgba(0, 0, 0, 0.7);

  /* Text Colors */
  --text-primary: #f9fafb;
  --text-secondary: #d1d5db;
  --text-tertiary: #9ca3af;
  --text-inverse: #111827;
  --text-link: #93c5fd;
  --text-link-hover: #d8b4fe;

  /* Border Colors */
  --border-primary: #404040;
  --border-secondary: #333333;
  --border-focus: #8ac0d5;

  /* Shadow Colors */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-bottom-nav: 0 -2px 20px rgba(0, 0, 0, 0.3);
  --shadow-gradient: 0 4px 12px rgba(138, 192, 213, 0.2);

  /* Scrollbar Colors */
  --scrollbar-track: #2d2d2d;
  --scrollbar-thumb: linear-gradient(135deg, #f0c5d5 0%, #8ac0d5 100%);

  /* Toggle/Switch Colors */
  --toggle-bg: #404040;
  --toggle-bg-active: linear-gradient(135deg, #f0c5d5 0%, #8ac0d5 100%);
  --toggle-knob: #ffffff;

  /* Alert Colors */
  --alert-error-bg: #3d1f1f;
  --alert-error-text: #fca5a5;
  --alert-error-border: #7f1d1d;
  --alert-success-bg: #1f3d1f;
  --alert-success-text: #86efac;
  --alert-success-border: #166534;

  /* Premium Badge */
  --badge-premium-bg: #3d3a28;
  --badge-premium-text: #fcd34d;
  --badge-premium-icon: #f59e0b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: background-color var(--transition-normal),
    color var(--transition-normal);
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
    monospace;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-gradient);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #e5b5c5 0%, #7ab0c5 100%);
}

/* Selection styles */
::selection {
  background: var(--primary-blue);
  color: var(--text-inverse);
}

::-moz-selection {
  background: var(--primary-blue);
  color: var(--text-inverse);
}

.language-switcher {
  position: relative;
  display: inline-block;
}

.language-switcher-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: var(--font-size-md);
  color: #111827;
}

[data-theme="dark"] .language-switcher-btn {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

.language-switcher-btn:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

[data-theme="dark"] .language-switcher-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

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

.language-switcher-btn svg:last-child {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.language-switcher-btn[aria-expanded="true"] svg:last-child {
  transform: rotate(180deg);
}

.language-switcher-current {
  font-size: 16px;
  line-height: 1;
}

.language-switcher-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: white;
  border-radius: var(--border-radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  z-index: 1001;
  animation: dropdownFadeIn 0.2s ease-out;
}

[data-theme="dark"] .language-switcher-dropdown {
  background: #1f2937;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

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

.language-switcher-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: background var(--transition-fast);
  text-align: left;
  font-size: var(--font-size-md);
  color: #374151;
}

[data-theme="dark"] .language-switcher-option {
  color: rgba(255, 255, 255, 0.8);
}

.language-switcher-option:hover {
  background: rgba(147, 197, 253, 0.2);
}

[data-theme="dark"] .language-switcher-option:hover {
  background: rgba(255, 255, 255, 0.1);
}

.language-switcher-option.active {
  background: rgba(147, 197, 253, 0.3);
  color: #111827;
  font-weight: 600;
}

[data-theme="dark"] .language-switcher-option.active {
  background: rgba(147, 197, 253, 0.2);
  color: #ffffff;
}

.language-flag {
  font-size: 20px;
  line-height: 1;
}

.language-name {
  flex: 1 1;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .language-switcher-btn {
    padding: 8px 10px;
  }

  .language-switcher-dropdown {
    right: auto;
    left: 0;
  }
}

/* Mobile menu specific styles */
.landing-mobile-menu-settings .language-switcher {
  width: 100%;
}

.landing-mobile-menu-settings .language-switcher-btn {
  width: 100%;
  justify-content: flex-start;
  padding: 12px;
  border: 1px solid var(--border-primary);
  background: var(--bg-input);
}

.landing-mobile-menu-settings .language-switcher-btn:hover {
  background: var(--bg-hover);
  border-color: var(--primary-blue);
  transform: none;
}

.landing-mobile-menu-settings .language-switcher-dropdown {
  position: static;
  width: 100%;
  margin-top: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ===== CSS VARIABLES FOR CLAYMORPHISM LANDING ===== */
:root {
  /* Primary Colors */
  --clay-pink: #ff6b9d;
  --clay-pink-light: #ec4899;
  --clay-blue: #8ac0d5;
  --clay-blue-light: #60a5fa;
  --clay-gradient: linear-gradient(135deg, #ff6b9d 0%, #8ac0d5 100%);

  /* Light Mode */
  --clay-bg-primary: #ffffff;
  --clay-bg-secondary: #f8f9fa;
  --clay-bg-card: #ffffff;
  --clay-bg-gradient: linear-gradient(135deg, #e8d5f0 0%, #f8d8e8 100%);
  --clay-text-primary: #1f2937;
  --clay-text-secondary: #6b7280;

  /* Claymorphism Effects */
  --clay-shadow-outer: 8px 8px 16px rgba(0, 0, 0, 0.08),
    -8px -8px 16px rgba(255, 255, 255, 0.9);
  --clay-shadow-inner: inset 4px 4px 8px rgba(0, 0, 0, 0.05),
    inset -4px -4px 8px rgba(255, 255, 255, 0.8);
  --clay-shadow-hover: 12px 12px 24px rgba(0, 0, 0, 0.1),
    -12px -12px 24px rgba(255, 255, 255, 1);
  --clay-border: 3px solid rgba(255, 255, 255, 0.5);

  /* Border Radius */
  --clay-radius-sm: 12px;
  --clay-radius-md: 16px;
  --clay-radius-lg: 20px;
  --clay-radius-xl: 24px;
  --clay-radius-full: 9999px;

  /* Typography */
  --clay-font-title: 36px;
  --clay-font-title-mobile: 28px;
  --clay-font-section: 24px;
  --clay-font-card: 20px;
  --clay-font-subtitle-lg: 18px;
  --clay-font-subtitle-md: 16px;
  --clay-font-subtitle-sm: 14px;
  --clay-font-body: 16px;
  --clay-font-small: 14px;
  --clay-font-tiny: 12px;

  /* Transitions */
  --clay-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --clay-transition-fast: all 0.2s ease-out;
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --clay-bg-primary: #1a1625;
  --clay-bg-secondary: #2a2436;
  --clay-bg-card: #2a2436;
  --clay-bg-gradient: linear-gradient(135deg, #1a1625 0%, #221e35 100%);
  --clay-text-primary: #f3f4f6;
  --clay-text-secondary: #9ca3af;

  --clay-shadow-outer: 8px 8px 16px rgba(0, 0, 0, 0.3),
    -8px -8px 16px rgba(60, 50, 80, 0.2);
  --clay-shadow-inner: inset 4px 4px 8px rgba(0, 0, 0, 0.2),
    inset -4px -4px 8px rgba(60, 50, 80, 0.1);
  --clay-shadow-hover: 12px 12px 24px rgba(0, 0, 0, 0.4),
    -12px -12px 24px rgba(60, 50, 80, 0.3);
  --clay-border: 3px solid rgba(255, 255, 255, 0.1);
}

/* ===== ANIMATIONS ===== */
@keyframes clayFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes clayPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(0.95);
  }
}

@keyframes clayBlobMove {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

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

/* ===== BASE STYLES ===== */
.landing-new {
  min-height: 100vh;
  background: linear-gradient(135deg, #e8d5f0 0%, #f8d8e8 100%);
  background: var(--clay-bg-gradient);
  overflow-x: hidden;
  position: relative;
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

/* ===== DECORATIVE BLOBS ===== */
.landing-new__decorations {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.landing-new__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
}

.landing-new__blob--1 {
  width: 400px;
  height: 400px;
  background: #ff6b9d;
  background: var(--clay-pink);
  top: -100px;
  right: -100px;
  animation: clayBlobMove 20s ease-in-out infinite;
}

.landing-new__blob--2 {
  width: 300px;
  height: 300px;
  background: #8ac0d5;
  background: var(--clay-blue);
  bottom: 20%;
  left: -50px;
  animation: clayBlobMove 15s ease-in-out infinite reverse;
}

.landing-new__blob--3 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, #ff6b9d, #8ac0d5);
  background: linear-gradient(135deg, var(--clay-pink), var(--clay-blue));
  top: 50%;
  right: 10%;
  animation: clayBlobMove 18s ease-in-out infinite;
}

/* ===== NAVBAR ===== */
.landing-new__navbar {
  position: fixed;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 1000;
  background: #ffffff;
  background: var(--clay-bg-card);
  border-radius: 24px;
  border-radius: var(--clay-radius-xl);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.08),
    -8px -8px 16px rgba(255, 255, 255, 0.9);
  box-shadow: var(--clay-shadow-outer);
  border: 3px solid rgba(255, 255, 255, 0.5);
  border: var(--clay-border);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  animation: clayFadeIn 0.5s ease-out;
}

.landing-new__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.landing-new__logo-img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border-radius: var(--clay-radius-sm);
  object-fit: contain;
}

.landing-new__logo-text {
  font-size: 20px;
  font-size: var(--clay-font-card);
  font-weight: 700;
  color: #1f2937;
  color: var(--clay-text-primary);
}

.landing-new__nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.landing-new__nav-link {
  font-size: 16px;
  font-size: var(--clay-font-body);
  color: #6b7280;
  color: var(--clay-text-secondary);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease-out;
  transition: var(--clay-transition-fast);
  position: relative;
}

.landing-new__nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #ff6b9d 0%, #8ac0d5 100%);
  background: var(--clay-gradient);
  transition: all 0.2s ease-out;
  transition: var(--clay-transition-fast);
  border-radius: 2px;
}

.landing-new__nav-link:hover {
  color: #1f2937;
  color: var(--clay-text-primary);
}

.landing-new__nav-link:hover::after {
  width: 100%;
}

.landing-new__nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.landing-new__theme-toggle {
  width: 44px;
  height: 44px;
  border: none;
  background: #f8f9fa;
  background: var(--clay-bg-secondary);
  border-radius: 16px;
  border-radius: var(--clay-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.08),
    -8px -8px 16px rgba(255, 255, 255, 0.9);
  box-shadow: var(--clay-shadow-outer);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: var(--clay-transition);
}

.landing-new__theme-toggle:hover {
  box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.05),
    inset -4px -4px 8px rgba(255, 255, 255, 0.8);
  box-shadow: var(--clay-shadow-inner);
}

.landing-new__theme-toggle svg {
  width: 20px;
  height: 20px;
  color: #1f2937;
  color: var(--clay-text-primary);
}

/* ===== BUTTONS ===== */
.landing-new__btn {
  padding: 12px 24px;
  border-radius: 16px;
  border-radius: var(--clay-radius-md);
  font-size: 16px;
  font-size: var(--clay-font-body);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: var(--clay-transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.08),
    -8px -8px 16px rgba(255, 255, 255, 0.9);
  box-shadow: var(--clay-shadow-outer);
}

.landing-new__btn svg {
  width: 18px;
  height: 18px;
}

.landing-new__btn--primary {
  background: linear-gradient(135deg, #ff6b9d 0%, #8ac0d5 100%);
  background: var(--clay-gradient);
  color: white;
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.landing-new__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 12px 12px 24px rgba(0, 0, 0, 0.1),
    -12px -12px 24px rgba(255, 255, 255, 1);
  box-shadow: var(--clay-shadow-hover);
}

.landing-new__btn--outline {
  background: #ffffff;
  background: var(--clay-bg-card);
  color: #1f2937;
  color: var(--clay-text-primary);
  border: 3px solid rgba(255, 255, 255, 0.5);
  border: var(--clay-border);
}

.landing-new__btn--outline:hover {
  background: #f8f9fa;
  background: var(--clay-bg-secondary);
  box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.05),
    inset -4px -4px 8px rgba(255, 255, 255, 0.8);
  box-shadow: var(--clay-shadow-inner);
}

.landing-new__btn--ghost {
  background: transparent;
  color: #1f2937;
  color: var(--clay-text-primary);
  box-shadow: none;
}

.landing-new__btn--ghost:hover {
  background: #f8f9fa;
  background: var(--clay-bg-secondary);
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.08),
    -8px -8px 16px rgba(255, 255, 255, 0.9);
  box-shadow: var(--clay-shadow-outer);
}

.landing-new__btn--white {
  background: white;
  color: #ff6b9d;
  color: var(--clay-pink);
  border: 3px solid rgba(255, 255, 255, 0.5);
}

.landing-new__btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.landing-new__btn--large {
  padding: 16px 32px;
  font-size: 18px;
  font-size: var(--clay-font-subtitle-lg);
}

.landing-new__btn--full {
  width: 100%;
}

/* Mobile Menu Button */
.landing-new__menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: #f8f9fa;
  background: var(--clay-bg-secondary);
  border-radius: 16px;
  border-radius: var(--clay-radius-md);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.08),
    -8px -8px 16px rgba(255, 255, 255, 0.9);
  box-shadow: var(--clay-shadow-outer);
}

.landing-new__menu-btn svg {
  width: 24px;
  height: 24px;
  color: #1f2937;
  color: var(--clay-text-primary);
}

/* ===== MOBILE MENU ===== */
.landing-new__mobile-menu {
  position: fixed;
  top: 88px;
  left: 16px;
  right: 16px;
  z-index: 999;
  background: #ffffff;
  background: var(--clay-bg-card);
  border-radius: 24px;
  border-radius: var(--clay-radius-xl);
  padding: 24px;
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.08),
    -8px -8px 16px rgba(255, 255, 255, 0.9);
  box-shadow: var(--clay-shadow-outer);
  border: 3px solid rgba(255, 255, 255, 0.5);
  border: var(--clay-border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: var(--clay-transition);
}

.landing-new__mobile-menu--open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.landing-new__mobile-link {
  font-size: 18px;
  font-size: var(--clay-font-subtitle-lg);
  color: #1f2937;
  color: var(--clay-text-primary);
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 16px;
  border-radius: var(--clay-radius-md);
  cursor: pointer;
  transition: all 0.2s ease-out;
  transition: var(--clay-transition-fast);
  text-decoration: none;
  display: block;
}

.landing-new__mobile-link:hover {
  background: #f8f9fa;
  background: var(--clay-bg-secondary);
}

.landing-new__mobile-settings {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 2px solid #f8f9fa;
  border-top: 2px solid var(--clay-bg-secondary);
}

.landing-new__mobile-theme {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #f8f9fa;
  background: var(--clay-bg-secondary);
  border: none;
  border-radius: 16px;
  border-radius: var(--clay-radius-md);
  font-size: 14px;
  font-size: var(--clay-font-small);
  color: #1f2937;
  color: var(--clay-text-primary);
  cursor: pointer;
  font-weight: 600;
}

.landing-new__mobile-theme svg {
  width: 18px;
  height: 18px;
}

.landing-new__mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 12px;
  border-top: 2px solid #f8f9fa;
  border-top: 2px solid var(--clay-bg-secondary);
}

/* ===== HERO SECTION ===== */
.landing-new__hero {
  padding: 140px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 64px;
  gap: 64px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
  position: relative;
  z-index: 1;
}

.landing-new__hero-content {
  animation: clayFadeIn 0.6s ease-out;
}

.landing-new__hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #ffffff;
  background: var(--clay-bg-card);
  border: 3px solid rgba(255, 255, 255, 0.5);
  border: var(--clay-border);
  border-radius: 9999px;
  border-radius: var(--clay-radius-full);
  font-size: 14px;
  font-size: var(--clay-font-small);
  color: #ff6b9d;
  color: var(--clay-pink);
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.08),
    -8px -8px 16px rgba(255, 255, 255, 0.9);
  box-shadow: var(--clay-shadow-outer);
}

.landing-new__hero-badge svg {
  width: 16px;
  height: 16px;
}

.landing-new__hero-title {
  font-size: clamp(28px, 5vw, 56px);
  font-size: clamp(var(--clay-font-title-mobile), 5vw, 56px);
  font-weight: 800;
  color: #1f2937;
  color: var(--clay-text-primary);
  line-height: 1.1;
  margin: 0 0 24px;
}

.landing-new__hero-title--gradient {
  display: block;
  background: linear-gradient(135deg, #ff6b9d 0%, #8ac0d5 100%);
  background: var(--clay-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.landing-new__hero-subtitle {
  font-size: 18px;
  font-size: var(--clay-font-subtitle-lg);
  color: #6b7280;
  color: var(--clay-text-secondary);
  line-height: 1.7;
  margin: 0 0 32px;
  max-width: 500px;
}

.landing-new__hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.landing-new__hero-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.landing-new__stat-card {
  background: #ffffff;
  background: var(--clay-bg-card);
  border: 3px solid rgba(255, 255, 255, 0.5);
  border: var(--clay-border);
  border-radius: 20px;
  border-radius: var(--clay-radius-lg);
  padding: 20px 24px;
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.08),
    -8px -8px 16px rgba(255, 255, 255, 0.9);
  box-shadow: var(--clay-shadow-outer);
  text-align: center;
  min-width: 100px;
}

.landing-new__stat-value {
  font-size: 24px;
  font-size: var(--clay-font-section);
  font-weight: 800;
  color: #1f2937;
  color: var(--clay-text-primary);
  background: linear-gradient(135deg, #ff6b9d 0%, #8ac0d5 100%);
  background: var(--clay-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.landing-new__stat-label {
  font-size: 12px;
  font-size: var(--clay-font-tiny);
  color: #6b7280;
  color: var(--clay-text-secondary);
  margin-top: 4px;
  font-weight: 600;
}

/* Hero Visual */
.landing-new__hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: clayFadeIn 0.8s ease-out 0.2s both;
}

.landing-new__hero-mockup {
  background: #ffffff;
  background: var(--clay-bg-card);
  border: 3px solid rgba(255, 255, 255, 0.5);
  border: var(--clay-border);
  border-radius: 24px;
  border-radius: var(--clay-radius-xl);
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.08),
    -8px -8px 16px rgba(255, 255, 255, 0.9);
  box-shadow: var(--clay-shadow-outer);
  padding: 0;
  width: 100%;
  max-width: 450px;
  overflow: hidden;
}

.landing-new__mockup-header {
  background: #f8f9fa;
  background: var(--clay-bg-secondary);
  padding: 16px 20px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .landing-new__mockup-header {
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.landing-new__mockup-dots {
  display: flex;
  gap: 8px;
}

.landing-new__mockup-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  background: var(--clay-bg-card);
  box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.05),
    inset -4px -4px 8px rgba(255, 255, 255, 0.8);
  box-shadow: var(--clay-shadow-inner);
}

.landing-new__mockup-dots span:nth-child(1) {
  background: #ff5f57;
}

.landing-new__mockup-dots span:nth-child(2) {
  background: #febc2e;
}

.landing-new__mockup-dots span:nth-child(3) {
  background: #28c840;
}

.landing-new__mockup-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.landing-new__mockup-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 16px;
  border-radius: var(--clay-radius-md);
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.08),
    -8px -8px 16px rgba(255, 255, 255, 0.9);
  box-shadow: var(--clay-shadow-outer);
  border: 3px solid rgba(255, 255, 255, 0.5);
  border: var(--clay-border);
  font-weight: 600;
  font-size: 14px;
  font-size: var(--clay-font-small);
  color: #1f2937;
  color: var(--clay-text-primary);
  animation: clayFloat 3s ease-in-out infinite;
}

.landing-new__mockup-card svg {
  width: 24px;
  height: 24px;
}

.landing-new__mockup-card--mood {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  animation-delay: 0s;
}

.landing-new__mockup-card--mood svg {
  color: #f59e0b;
}

[data-theme="dark"] .landing-new__mockup-card--mood {
  background: linear-gradient(135deg, #78350f 0%, #92400e 100%);
}

.landing-new__mockup-card--progress {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  animation-delay: 0.5s;
}

.landing-new__mockup-card--progress svg {
  color: #10b981;
}

[data-theme="dark"] .landing-new__mockup-card--progress {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
}

.landing-new__mockup-card--session {
  background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
  animation-delay: 1s;
}

.landing-new__mockup-card--session svg {
  color: #8b5cf6;
}

[data-theme="dark"] .landing-new__mockup-card--session {
  background: linear-gradient(135deg, #4c1d95 0%, #5b21b6 100%);
}

/* ===== TRUSTED BY SECTION ===== */
.landing-new__trusted {
  padding: 48px 24px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.landing-new__trusted-text {
  font-size: 14px;
  font-size: var(--clay-font-small);
  color: #6b7280;
  color: var(--clay-text-secondary);
  font-weight: 600;
  margin: 0 0 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.landing-new__trusted-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.landing-new__trusted-logo {
  font-size: 18px;
  font-size: var(--clay-font-subtitle-lg);
  font-weight: 700;
  color: #6b7280;
  color: var(--clay-text-secondary);
  opacity: 0.6;
  transition: all 0.2s ease-out;
  transition: var(--clay-transition-fast);
}

.landing-new__trusted-logo:hover {
  opacity: 1;
  color: #1f2937;
  color: var(--clay-text-primary);
}

/* ===== SECTION STYLES ===== */
.landing-new__section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.landing-new__section-badge {
  display: inline-block;
  padding: 8px 16px;
  background: #ffffff;
  background: var(--clay-bg-card);
  border: 3px solid rgba(255, 255, 255, 0.5);
  border: var(--clay-border);
  border-radius: 9999px;
  border-radius: var(--clay-radius-full);
  font-size: 14px;
  font-size: var(--clay-font-small);
  color: #ff6b9d;
  color: var(--clay-pink);
  font-weight: 700;
  margin-bottom: 16px;
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.08),
    -8px -8px 16px rgba(255, 255, 255, 0.9);
  box-shadow: var(--clay-shadow-outer);
}

.landing-new__section-title {
  font-size: clamp(24px, 4vw, 36px);
  font-size: clamp(var(--clay-font-section), 4vw, var(--clay-font-title));
  font-weight: 800;
  color: #1f2937;
  color: var(--clay-text-primary);
  margin: 0 0 16px;
  line-height: 1.2;
}

.landing-new__section-subtitle {
  font-size: 16px;
  font-size: var(--clay-font-body);
  color: #6b7280;
  color: var(--clay-text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ===== FEATURES SECTION ===== */
.landing-new__features {
  padding: 80px 24px;
  position: relative;
  z-index: 1;
}

.landing-new__features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 24px;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.landing-new__feature-card {
  background: #ffffff;
  background: var(--clay-bg-card);
  border: 3px solid rgba(255, 255, 255, 0.5);
  border: var(--clay-border);
  border-radius: 24px;
  border-radius: var(--clay-radius-xl);
  padding: 32px;
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.08),
    -8px -8px 16px rgba(255, 255, 255, 0.9);
  box-shadow: var(--clay-shadow-outer);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: var(--clay-transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.landing-new__feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #ff6b9d 0%, #8ac0d5 100%);
  background: var(--clay-gradient);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: var(--clay-transition);
}

.landing-new__feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 12px 12px 24px rgba(0, 0, 0, 0.1),
    -12px -12px 24px rgba(255, 255, 255, 1);
  box-shadow: var(--clay-shadow-hover);
}

.landing-new__feature-card:hover::before {
  opacity: 1;
}

.landing-new__feature-icon {
  width: 64px;
  height: 64px;
  background: #f8f9fa;
  background: var(--clay-bg-secondary);
  border-radius: 20px;
  border-radius: var(--clay-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.05),
    inset -4px -4px 8px rgba(255, 255, 255, 0.8);
  box-shadow: var(--clay-shadow-inner);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: var(--clay-transition);
}

.landing-new__feature-card:hover .landing-new__feature-icon {
  background: linear-gradient(135deg, #ff6b9d 0%, #8ac0d5 100%);
  background: var(--clay-gradient);
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.08),
    -8px -8px 16px rgba(255, 255, 255, 0.9);
  box-shadow: var(--clay-shadow-outer);
}

.landing-new__feature-icon svg {
  width: 28px;
  height: 28px;
  color: #ff6b9d;
  color: var(--clay-pink);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: var(--clay-transition);
}

.landing-new__feature-card:hover .landing-new__feature-icon svg {
  color: white;
}

/* Feature Card Color Variants */
.landing-new__feature-card--pink .landing-new__feature-icon svg {
  color: #ff6b9d;
  color: var(--clay-pink);
}

.landing-new__feature-card--blue .landing-new__feature-icon svg {
  color: #8ac0d5;
  color: var(--clay-blue);
}

.landing-new__feature-card--purple .landing-new__feature-icon svg {
  color: #8b5cf6;
}

.landing-new__feature-card--green .landing-new__feature-icon svg {
  color: #10b981;
}

.landing-new__feature-card--orange .landing-new__feature-icon svg {
  color: #f59e0b;
}

.landing-new__feature-card--teal .landing-new__feature-icon svg {
  color: #14b8a6;
}

.landing-new__feature-title {
  font-size: 20px;
  font-size: var(--clay-font-card);
  font-weight: 700;
  color: #1f2937;
  color: var(--clay-text-primary);
  margin: 0 0 12px;
}

.landing-new__feature-desc {
  font-size: 14px;
  font-size: var(--clay-font-small);
  color: #6b7280;
  color: var(--clay-text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ===== HOW IT WORKS SECTION ===== */
.landing-new__how-it-works {
  padding: 80px 24px;
  background: #f8f9fa;
  background: var(--clay-bg-secondary);
  position: relative;
  z-index: 1;
}

[data-theme="dark"] .landing-new__how-it-works {
  background: rgba(0, 0, 0, 0.2);
}

.landing-new__steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.landing-new__step {
  flex: 1 1;
  text-align: center;
  position: relative;
  max-width: 280px;
}

.landing-new__step-number {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #ff6b9d 0%, #8ac0d5 100%);
  background: var(--clay-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-size: var(--clay-font-small);
  font-weight: 700;
  color: white;
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.4);
  z-index: 2;
}

.landing-new__step-icon {
  width: 80px;
  height: 80px;
  background: #ffffff;
  background: var(--clay-bg-card);
  border: 3px solid rgba(255, 255, 255, 0.5);
  border: var(--clay-border);
  border-radius: 24px;
  border-radius: var(--clay-radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.08),
    -8px -8px 16px rgba(255, 255, 255, 0.9);
  box-shadow: var(--clay-shadow-outer);
  position: relative;
  z-index: 1;
}

.landing-new__step-icon svg {
  width: 32px;
  height: 32px;
  color: #ff6b9d;
  color: var(--clay-pink);
}

.landing-new__step-title {
  font-size: 18px;
  font-size: var(--clay-font-subtitle-lg);
  font-weight: 700;
  color: #1f2937;
  color: var(--clay-text-primary);
  margin: 0 0 12px;
}

.landing-new__step-desc {
  font-size: 14px;
  font-size: var(--clay-font-small);
  color: #6b7280;
  color: var(--clay-text-secondary);
  line-height: 1.6;
  margin: 0;
}

.landing-new__step-connector {
  position: absolute;
  top: 40px;
  left: calc(50% + 60px);
  width: calc(100% - 40px);
  height: 3px;
  background: #ffffff;
  background: var(--clay-bg-card);
  border-radius: 3px;
  box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.05),
    inset -4px -4px 8px rgba(255, 255, 255, 0.8);
  box-shadow: var(--clay-shadow-inner);
}

.landing-new__step-connector::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid #ff6b9d;
  border-left: 8px solid var(--clay-pink);
}

/* ===== TESTIMONIALS SECTION ===== */
.landing-new__testimonials {
  padding: 80px 24px;
  position: relative;
  z-index: 1;
}

.landing-new__testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 24px;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.landing-new__testimonial-card {
  background: #ffffff;
  background: var(--clay-bg-card);
  border: 3px solid rgba(255, 255, 255, 0.5);
  border: var(--clay-border);
  border-radius: 24px;
  border-radius: var(--clay-radius-xl);
  padding: 32px;
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.08),
    -8px -8px 16px rgba(255, 255, 255, 0.9);
  box-shadow: var(--clay-shadow-outer);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: var(--clay-transition);
}

.landing-new__testimonial-card:hover {
  box-shadow: 12px 12px 24px rgba(0, 0, 0, 0.1),
    -12px -12px 24px rgba(255, 255, 255, 1);
  box-shadow: var(--clay-shadow-hover);
}

.landing-new__testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.landing-new__testimonial-stars svg {
  width: 18px;
  height: 18px;
  color: #f59e0b;
}

.landing-new__testimonial-text {
  font-size: 16px;
  font-size: var(--clay-font-body);
  color: #6b7280;
  color: var(--clay-text-secondary);
  line-height: 1.7;
  margin: 0 0 24px;
  font-style: italic;
}

.landing-new__testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.landing-new__testimonial-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #ff6b9d 0%, #8ac0d5 100%);
  background: var(--clay-gradient);
  border-radius: 16px;
  border-radius: var(--clay-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 14px;
  font-size: var(--clay-font-small);
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.08),
    -8px -8px 16px rgba(255, 255, 255, 0.9);
  box-shadow: var(--clay-shadow-outer);
}

.landing-new__testimonial-info {
  flex: 1 1;
}

.landing-new__testimonial-name {
  font-size: 16px;
  font-size: var(--clay-font-body);
  font-weight: 700;
  color: #1f2937;
  color: var(--clay-text-primary);
  margin: 0 0 4px;
}

.landing-new__testimonial-role {
  font-size: 12px;
  font-size: var(--clay-font-tiny);
  color: #6b7280;
  color: var(--clay-text-secondary);
  margin: 0;
}

/* ===== PRICING SECTION ===== */
.landing-new__pricing {
  padding: 80px 24px;
  background: #f8f9fa;
  background: var(--clay-bg-secondary);
  position: relative;
  z-index: 1;
}

[data-theme="dark"] .landing-new__pricing {
  background: rgba(0, 0, 0, 0.2);
}

/* Pricing Grid - 4 column layout */
.landing-new__pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 24px;
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto 40px;
}

/* Pricing Card Styles */
.landing-new__pricing-card {
  background: #ffffff;
  background: var(--clay-bg-card);
  border: 3px solid rgba(255, 255, 255, 0.5);
  border: var(--clay-border);
  border-radius: 24px;
  border-radius: var(--clay-radius-xl);
  padding: 32px 24px;
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.08),
    -8px -8px 16px rgba(255, 255, 255, 0.9);
  box-shadow: var(--clay-shadow-outer);
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: var(--clay-transition);
  display: flex;
  flex-direction: column;
}

.landing-new__pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 12px 12px 24px rgba(0, 0, 0, 0.1),
    -12px -12px 24px rgba(255, 255, 255, 1);
  box-shadow: var(--clay-shadow-hover);
}

/* Popular Card */
.landing-new__pricing-card--popular {
  border-color: #8ac0d5;
  border-color: var(--clay-blue);
  border-width: 2px;
}

/* Badges */
.landing-new__pricing-badge-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f0c5d5 0%, #8ac0d5 100%);
  color: #111827;
  padding: 6px 16px;
  border-radius: 9999px;
  border-radius: var(--clay-radius-full);
  font-size: 12px;
  font-size: var(--clay-font-tiny);
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(138, 192, 213, 0.3);
}

[data-theme="dark"] .landing-new__pricing-badge-popular {
  color: #ffffff;
}

.landing-new__pricing-badge-discount {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 12px;
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  border-radius: 12px;
  border-radius: var(--clay-radius-sm);
  font-size: 12px;
  font-size: var(--clay-font-tiny);
  font-weight: 700;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

/* Card Icon */
.landing-new__pricing-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0c5d5 0%, #8ac0d5 100%);
  border-radius: 50%;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(138, 192, 213, 0.2);
}

.landing-new__pricing-card-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

/* Card Name */
.landing-new__pricing-card-name {
  font-size: 20px;
  font-size: var(--clay-font-card);
  font-weight: 700;
  color: #1f2937;
  color: var(--clay-text-primary);
  margin: 0 0 16px;
}

/* Price */
.landing-new__pricing-card-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.landing-new__pricing-currency {
  font-size: 18px;
  font-size: var(--clay-font-subtitle-lg);
  font-weight: 600;
  color: #6b7280;
  color: var(--clay-text-secondary);
}

.landing-new__pricing-amount {
  font-size: 36px;
  font-weight: 700;
  color: #1f2937;
  color: var(--clay-text-primary);
  line-height: 1;
}

.landing-new__pricing-period {
  font-size: 14px;
  font-size: var(--clay-font-small);
  color: #6b7280;
  color: var(--clay-text-secondary);
}

/* Original Price */
.landing-new__pricing-original {
  margin-bottom: 12px;
  min-height: 20px;
}

.landing-new__pricing-strikethrough {
  font-size: 14px;
  font-size: var(--clay-font-small);
  color: #6b7280;
  color: var(--clay-text-secondary);
  text-decoration: line-through;
  font-weight: 500;
  opacity: 0.6;
}

/* Card Description */
.landing-new__pricing-card-desc {
  font-size: 14px;
  font-size: var(--clay-font-small);
  color: #6b7280;
  color: var(--clay-text-secondary);
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Pricing Button */
.landing-new__pricing-btn {
  width: 100%;
  padding: 14px 24px;
  border-radius: 16px;
  border-radius: var(--clay-radius-md);
  font-size: 16px;
  font-size: var(--clay-font-subtitle-md);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: var(--clay-transition);
  border: none;
  margin-bottom: 20px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.landing-new__pricing-btn--current {
  background: #f8f9fa;
  background: var(--clay-bg-secondary);
  color: #1f2937;
  color: var(--clay-text-primary);
  cursor: default;
}

.landing-new__pricing-btn--current:hover {
  transform: none;
}

.landing-new__pricing-btn--primary {
  background: linear-gradient(135deg, #f0c5d5 0%, #8ac0d5 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(138, 192, 213, 0.3);
}

.landing-new__pricing-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(138, 192, 213, 0.4);
}

.landing-new__pricing-btn--dark {
  background: #1f2937;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .landing-new__pricing-btn--dark {
  background: #374151;
}

.landing-new__pricing-btn--dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(138, 192, 213, 0.4);
}

/* Features List */
.landing-new__pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.landing-new__pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  font-size: var(--clay-font-small);
  color: #1f2937;
  color: var(--clay-text-primary);
}

.landing-new__pricing-feature svg {
  width: 20px;
  height: 20px;
  min-width: 20px;
  color: #10b981;
  flex-shrink: 0;
  margin-top: 2px;
}

/* FAQ Section */
.landing-new__pricing-faq {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 40px;
}

.landing-new__pricing-faq-title {
  font-size: 24px;
  font-size: var(--clay-font-section);
  font-weight: 700;
  color: #1f2937;
  color: var(--clay-text-primary);
  text-align: center;
  margin: 0 0 32px;
}

.landing-new__pricing-faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 20px;
  gap: 20px;
}

.landing-new__pricing-faq-item {
  background: #ffffff;
  background: var(--clay-bg-card);
  border: 3px solid rgba(255, 255, 255, 0.5);
  border: var(--clay-border);
  border-radius: 20px;
  border-radius: var(--clay-radius-lg);
  padding: 20px;
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.08),
    -8px -8px 16px rgba(255, 255, 255, 0.9);
  box-shadow: var(--clay-shadow-outer);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: var(--clay-transition);
}

.landing-new__pricing-faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 12px 12px 24px rgba(0, 0, 0, 0.1),
    -12px -12px 24px rgba(255, 255, 255, 1);
  box-shadow: var(--clay-shadow-hover);
}

.landing-new__pricing-faq-question {
  font-size: 16px;
  font-size: var(--clay-font-subtitle-md);
  font-weight: 600;
  color: #1f2937;
  color: var(--clay-text-primary);
  margin: 0 0 8px;
}

.landing-new__pricing-faq-answer {
  font-size: 14px;
  font-size: var(--clay-font-small);
  color: #6b7280;
  color: var(--clay-text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ===== CTA SECTION ===== */
.landing-new__cta {
  padding: 80px 24px;
  position: relative;
  z-index: 1;
}

.landing-new__cta-card {
  background: linear-gradient(135deg, #ff6b9d 0%, #8ac0d5 100%);
  background: var(--clay-gradient);
  border-radius: 24px;
  border-radius: var(--clay-radius-xl);
  padding: 64px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 20px 60px rgba(255, 107, 157, 0.3);
  border: 4px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.landing-new__cta-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.landing-new__cta-content {
  position: relative;
  z-index: 1;
}

.landing-new__cta-title {
  font-size: clamp(24px, 4vw, 36px);
  font-size: clamp(var(--clay-font-section), 4vw, var(--clay-font-title));
  font-weight: 800;
  color: white;
  margin: 0 0 16px;
  line-height: 1.2;
}

.landing-new__cta-subtitle {
  font-size: 18px;
  font-size: var(--clay-font-subtitle-lg);
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 32px;
  line-height: 1.6;
}

.landing-new__cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.landing-new__footer {
  background: #ffffff;
  background: var(--clay-bg-card);
  border-top: 3px solid rgba(255, 255, 255, 0.5);
  border-top: var(--clay-border);
  padding: 64px 24px 24px;
  position: relative;
  z-index: 1;
}

.landing-new__footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  grid-gap: 48px;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 2px solid #f8f9fa;
  border-bottom: 2px solid var(--clay-bg-secondary);
}

.landing-new__footer-brand {
  max-width: 300px;
}

.landing-new__footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 16px;
}

.landing-new__footer-desc {
  font-size: 14px;
  font-size: var(--clay-font-small);
  color: #6b7280;
  color: var(--clay-text-secondary);
  line-height: 1.7;
  margin: 0;
}

.landing-new__footer-links-group h4 {
  font-size: 14px;
  font-size: var(--clay-font-small);
  font-weight: 700;
  color: #1f2937;
  color: var(--clay-text-primary);
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.landing-new__footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.landing-new__footer-link {
  font-size: 14px;
  font-size: var(--clay-font-small);
  color: #6b7280;
  color: var(--clay-text-secondary);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease-out;
  transition: var(--clay-transition-fast);
}

.landing-new__footer-link:hover {
  color: #ff6b9d;
  color: var(--clay-pink);
}

.landing-new__footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  text-align: center;
}

.landing-new__footer-copyright {
  font-size: 12px;
  font-size: var(--clay-font-tiny);
  color: #6b7280;
  color: var(--clay-text-secondary);
  margin: 0;
}

/* ===== SCROLL TO TOP ===== */
.landing-new__scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: #ffffff;
  background: var(--clay-bg-card);
  border: 3px solid rgba(255, 255, 255, 0.5);
  border: var(--clay-border);
  border-radius: 16px;
  border-radius: var(--clay-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.08),
    -8px -8px 16px rgba(255, 255, 255, 0.9);
  box-shadow: var(--clay-shadow-outer);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: var(--clay-transition);
  z-index: 100;
}

.landing-new__scroll-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.landing-new__scroll-top:hover {
  background: linear-gradient(135deg, #ff6b9d 0%, #8ac0d5 100%);
  background: var(--clay-gradient);
  box-shadow: 12px 12px 24px rgba(0, 0, 0, 0.1),
    -12px -12px 24px rgba(255, 255, 255, 1);
  box-shadow: var(--clay-shadow-hover);
}

.landing-new__scroll-top svg {
  width: 24px;
  height: 24px;
  color: #1f2937;
  color: var(--clay-text-primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: var(--clay-transition);
}

.landing-new__scroll-top:hover svg {
  color: white;
}

/* ===== RESPONSIVE STYLES ===== */
@media (min-width: 1024px) {
  .landing-new__pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .landing-new__hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .landing-new__hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .landing-new__hero-actions {
    justify-content: center;
  }

  .landing-new__hero-stats {
    justify-content: center;
  }

  .landing-new__features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .landing-new__testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .landing-new__footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .landing-new__pricing-grid {
    grid-template-columns: 1fr;
  }

  .landing-new__pricing-faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .landing-new__nav-links,
  .landing-new__nav-actions {
    display: none;
  }

  .landing-new__menu-btn {
    display: flex;
  }

  .landing-new__hero {
    padding: 120px 16px 60px;
  }

  .landing-new__hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .landing-new__hero-actions .landing-new__btn {
    width: 100%;
    max-width: 300px;
  }

  .landing-new__features-grid {
    grid-template-columns: 1fr;
  }

  .landing-new__steps {
    flex-direction: column;
    gap: 32px;
  }

  .landing-new__step {
    max-width: 100%;
  }

  .landing-new__step-connector {
    display: none;
  }

  .landing-new__testimonials-grid {
    grid-template-columns: 1fr;
  }

  .landing-new__pricing-grid {
    grid-template-columns: 1fr;
  }

  .landing-new__pricing-faq-grid {
    grid-template-columns: 1fr;
  }

  .landing-new__cta-card {
    padding: 40px 24px;
  }

  .landing-new__footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .landing-new__footer-brand {
    max-width: 100%;
  }

  .landing-new__footer-logo {
    justify-content: center;
  }

  .landing-new__trusted-logos {
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .landing-new__navbar {
    left: 8px;
    right: 8px;
    top: 8px;
    padding: 10px 16px;
  }

  .landing-new__mobile-menu {
    left: 8px;
    right: 8px;
    top: 80px;
  }

  .landing-new__hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .landing-new__stat-card {
    width: 100%;
    max-width: 200px;
  }

  .landing-new__feature-card {
    padding: 24px;
  }

  .landing-new__pricing-card {
    padding: 24px;
  }

  .landing-new__trusted-logos {
    flex-direction: column;
    gap: 16px;
  }
}

/* ===== VIDEO MODAL ===== */
.landing-new__video-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.landing-new__video-modal-content {
  position: relative;
  width: 100%;
  max-width: 1200px;
  background: #ffffff;
  background: var(--clay-bg-card);
  border-radius: 24px;
  border-radius: var(--clay-radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.3s ease-out;
}

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

.landing-new__video-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: var(--clay-transition);
}

.landing-new__video-modal-close:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

.landing-new__video-modal-close svg {
  width: 24px;
  height: 24px;
  color: #1f2937;
}

.landing-new__video-player {
  width: 100%;
  height: auto;
  display: block;
  max-height: 80vh;
  background: #000;
}

@media (max-width: 768px) {
  .landing-new__video-modal {
    padding: 10px;
  }

  .landing-new__video-modal-content {
    max-width: 100%;
  }

  .landing-new__video-modal-close {
    width: 36px;
    height: 36px;
    top: 12px;
    right: 12px;
  }

  .landing-new__video-modal-close svg {
    width: 20px;
    height: 20px;
  }
}

/* Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border-primary);
  box-shadow: var(--shadow-bottom-nav);
  z-index: 1000;
  max-width: 100%;
  transition: background-color var(--transition-normal),
    border-color var(--transition-normal);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--text-tertiary);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 68px;
  position: relative;
  text-decoration: none;
  outline: none;
}

.nav-item:focus {
  outline: none;
}

.nav-item:active {
  transform: scale(0.95);
}

.nav-item.active {
  color: var(--primary-blue);
}

.nav-item.active svg {
  color: var(--primary-blue);
  transform: scale(1.1);
}

.nav-item svg {
  color: var(--text-tertiary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item-ai {
  position: relative;
  margin-top: -20px;
}

.ai-fab {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(138, 192, 213, 0.5);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 4px solid var(--bg-card);
}

.nav-item-ai:hover .ai-fab {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(138, 192, 213, 0.6);
}

.nav-item-ai:active .ai-fab {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(138, 192, 213, 0.4);
}

.nav-item-ai span {
  color: var(--primary-blue);
  font-weight: 600;
}

/* Responsive Design */
@media (min-width: 768px) {
  .bottom-nav {
    max-width: 480px;
    margin: 0 auto;
    left: 0;
    right: 0;
    border-radius: 24px 24px 0 0;
  }
}

@media (min-width: 1024px) {
  .nav-item:hover {
    background: var(--bg-hover);
    color: var(--primary-blue);
  }

  .nav-item:hover svg {
    color: var(--primary-blue);
  }
}

/* ============================================
   SIDEBAR NAVIGATION - MOBILE HIDDEN
   ============================================ */
.sidebar-nav {
  display: none;
}

.sidebar-backdrop {
  display: none;
}

/* ============================================
   DESKTOP SIDEBAR - CURVED CAROUSEL
   ============================================ */
@media (min-width: 1024px) {
  .sidebar-backdrop {
    display: none !important;
  }

  /* Sidebar container - no background */
  .sidebar-nav {
    display: flex;
    position: fixed;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    pointer-events: none;
  }

  /* Inner content wrapper */
  .sidebar-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
    pointer-events: auto;
    position: relative;
    height: 0; /* Items positioned absolutely relative to center */
  }

  /* ============================================
     NAV ITEMS - SMOOTH CAROUSEL
     ============================================ */
  .sidebar-nav .nav-item {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 48px;
    height: 48px;
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    text-decoration: none;
    outline: none;
  }

  .sidebar-nav .nav-item:focus {
    outline: none;
  }

  /* Chỉ hiển thị item active khi collapsed */
  .sidebar-nav .nav-item.active {
    display: flex;
  }

  /* Hiển thị tất cả items khi expanded */
  .sidebar-nav.expanded .nav-item {
    display: flex;
  }

  /* Icon container */
  .nav-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .nav-item-icon svg {
    width: 28px;
    height: 28px;
    color: var(--text-tertiary);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  /* Label - Tooltip style */
  .nav-item-label {
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    background: var(--bg-primary);
    padding: 8px 14px;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.2s ease;
  }

  [data-theme="dark"] .nav-item-label {
    background: var(--bg-secondary);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  }

  /* Tooltip arrow */
  .nav-item-label::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right-color: var(--bg-primary);
  }

  [data-theme="dark"] .nav-item-label::before {
    border-right-color: var(--bg-secondary);
  }

  /* Show tooltip on hover */
  .nav-item:hover .nav-item-label {
    opacity: 1;
    visibility: visible;
    left: 56px;
  }

  /* ============================================
     HOVER STATE
     ============================================ */
  .nav-item:hover .nav-item-icon svg {
    color: var(--primary-blue);
  }

  /* ============================================
     ACTIVE STATE (Current Route / Center)
     ============================================ */
  .nav-item.active .nav-item-icon svg {
    color: var(--primary-blue);
  }

  /* ============================================
     AI ICON - SPECIAL STYLE
     ============================================ */
  .sidebar-nav .ai-fab {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(138, 192, 213, 0.3);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .nav-item:hover .ai-fab {
    box-shadow: 0 4px 20px rgba(138, 192, 213, 0.5);
  }

  .sidebar-nav .ai-fab svg,
  .sidebar-nav .ai-fab img {
    width: 40px;
    height: 40px;
    color: white !important;
    border-radius: 50%;
  }
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 1023px) {
  .sidebar-nav,
  .sidebar-backdrop {
    display: none !important;
  }
}

.payment-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.payment-modal {
  background: var(--bg-card);
  border-radius: 24px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease-out;
}

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

.payment-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--bg-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.payment-modal-close:hover {
  background: var(--bg-hover);
  transform: scale(1.1);
}

.payment-modal-close svg {
  color: var(--text-primary);
}

.payment-loading {
  padding: 60px 40px;
  text-align: center;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--bg-secondary);
  border-top: 4px solid #8ac0d5;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

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

.payment-content {
  padding: 40px 30px 30px;
}

.payment-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 20px 0;
  text-align: center;
}

.payment-amount-box {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 20px;
  border-radius: 16px;
  text-align: center;
  margin-bottom: 30px;
}

.payment-amount-label {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  margin-bottom: 8px;
}

.payment-amount {
  display: block;
  color: white;
  font-size: 32px;
  font-weight: 700;
}

.payment-qr-section {
  margin-bottom: 30px;
}

.payment-qr-section h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 16px 0;
  text-align: center;
}

.qr-code-container {
  background: white;
  padding: 20px;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.qr-code {
  width: 250px;
  height: 250px;
}

.payment-info-section {
  margin-bottom: 20px;
}

.payment-info-section h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 16px 0;
}

.payment-info-list {
  background: var(--bg-secondary);
  border-radius: 16px;
  padding: 16px;
}

.payment-info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--bg-hover);
}

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

.payment-info-item.highlight {
  background: rgba(138, 192, 213, 0.1);
  margin: 0 -16px;
  padding: 16px 16px;
  border-radius: 12px;
  border: 2px solid #8ac0d5;
}

.info-label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.info-value {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.payment-code {
  color: #8ac0d5;
  font-size: 18px;
  letter-spacing: 1px;
}

.copy-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  font-size: 16px;
  opacity: 0.6;
  transition: all 0.2s ease;
}

.copy-btn:hover {
  opacity: 1;
  transform: scale(1.2);
}

.payment-note {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  display: flex;
  gap: 12px;
}

[data-theme="dark"] .payment-note {
  background: rgba(255, 193, 7, 0.1);
  border-left-color: #ffc107;
}

.note-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.note-content {
  flex: 1 1;
}

.note-content strong {
  color: #856404;
  display: block;
  margin-bottom: 4px;
}

[data-theme="dark"] .note-content strong {
  color: #ffc107;
}

.note-content p {
  margin: 0;
  font-size: 14px;
  color: #856404;
  line-height: 1.5;
}

[data-theme="dark"] .note-content p {
  color: rgba(255, 193, 7, 0.9);
}

.payment-error {
  background: #fee;
  border-left: 4px solid #ef4444;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 16px;
  color: #991b1b;
  font-size: 14px;
}

.payment-actions {
  display: flex;
  gap: 12px;
  flex-direction: column;
}

.payment-btn {
  width: 100%;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.payment-btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.payment-btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.payment-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

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

.payment-btn-secondary:hover {
  background: var(--bg-hover);
}

.payment-success {
  padding: 60px 40px;
  text-align: center;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: white;
  font-size: 48px;
  font-weight: bold;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.payment-success h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 12px 0;
}

.payment-success p {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 0 0 12px 0;
  line-height: 1.6;
}

.success-note {
  color: var(--text-tertiary);
  font-size: 14px !important;
  margin-bottom: 24px !important;
}

@media (max-width: 480px) {
  .payment-modal {
    max-width: 100%;
    margin: 0;
    border-radius: 24px 24px 0 0;
    max-height: 95vh;
  }

  .payment-content {
    padding: 30px 20px 20px;
  }

  .payment-title {
    font-size: 20px;
  }

  .payment-amount {
    font-size: 28px;
  }

  .qr-code {
    width: 200px;
    height: 200px;
  }

  .payment-actions {
    position: -webkit-sticky;
    position: sticky;
    bottom: 0;
    background: var(--bg-card);
    padding: 16px 0 0;
  }
}

/* Fade In Animation */
@keyframes pricingFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Pricing Page Container */
.pricing-page-container {
  display: flex;
  min-height: 100vh;
  background: linear-gradient(
    180deg,
    #e8d5f0 0%,
    #f5e6f0 15%,
    #f8f0f5 30%,
    #f5f0f8 50%,
    #f0e8f5 70%,
    #f5e0f0 85%,
    #f8d8e8 100%
  );
}

[data-theme="dark"] .pricing-page-container {
  background: linear-gradient(
    180deg,
    #1a1625 0%,
    #1e1a2e 15%,
    #221e35 30%,
    #1e1a2e 50%,
    #1a1625 70%,
    #1e1a2e 85%,
    #221e35 100%
  );
}

/* Pricing Page Styles */
.pricing-page {
  flex: 1 1;
  min-height: 100vh;
  background: transparent;
  padding-bottom: 80px;
  transition: background-color var(--transition-normal);
}

/* Header */
.pricing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: transparent;
  position: relative;
}

.pricing-header-spacer {
  width: 36px;
}

.pricing-page-title {
  font-size: 30px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

[data-theme="dark"] .pricing-page-title {
  background: linear-gradient(135deg, #F0C5D5 0%, #D4B5D8 50%, #8AC0D5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.pricing-header .notification-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  background: var(--bg-card);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.pricing-header .notification-btn svg {
  color: var(--text-secondary);
}

.pricing-header .notification-btn:hover {
  background: var(--bg-hover);
}

.pricing-header .notification-btn:active {
  transform: scale(0.95);
}

/* Main Content */
.pricing-main {
  padding: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.pricing-main > * {
  animation: pricingFadeIn 0.4s ease-out backwards;
}

.pricing-main > *:nth-child(1) {
  animation-delay: 0.05s;
}
.pricing-main > *:nth-child(2) {
  animation-delay: 0.1s;
}
.pricing-main > *:nth-child(3) {
  animation-delay: 0.15s;
}

.pricing-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0 0 20px 0;
  line-height: 1.6;
  text-align: center;
  transition: color var(--transition-normal);
}

.pricing-discount-badge {
  padding: 2px 8px;
  background: linear-gradient(135deg, #f0c5d5 0%, #8ac0d5 100%);
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: #111827;
}

/* ===== PRICING CARDS ===== */
.pricing-cards-grid {
  display: grid;
  grid-gap: 20px;
  gap: 20px;
  margin-bottom: 24px;
  grid-template-columns: 1fr;
}

.pricing-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 24px;
  position: relative;
  border: 1px solid transparent;
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(138, 192, 213, 0.15);
  border-color: rgba(138, 192, 213, 0.3);
}

.pricing-card-popular {
  border: 2px solid #8ac0d5;
  box-shadow: 0 8px 24px rgba(138, 192, 213, 0.2);
}

.pricing-card-dark {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  color: white;
}

[data-theme="dark"] .pricing-card-dark {
  background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
}

.pricing-card-dark .pricing-card-name,
.pricing-card-dark .pricing-card-description,
.pricing-card-dark .pricing-currency,
.pricing-card-dark .pricing-amount,
.pricing-card-dark .pricing-period,
.pricing-card-dark .pricing-feature-text {
  color: #ffffff;
}

.pricing-card-dark .pricing-feature-check {
  background: rgba(138, 192, 213, 0.2);
  color: #8ac0d5;
}

/* Badges */
.pricing-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  background: linear-gradient(135deg, #f0c5d5 0%, #8ac0d5 100%);
  border-radius: var(--border-radius-full);
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
}

.pricing-discount-badge-card {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 12px;
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.pricing-new-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 10px;
  background: linear-gradient(135deg, #f0c5d5 0%, #8ac0d5 100%);
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: #111827;
}

/* Card Header */
.pricing-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.pricing-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #8AC0D5;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(138, 192, 213, 0.2);
}

.pricing-card-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.pricing-card-dark .pricing-card-icon {
  background: rgba(138, 192, 213, 0.3);
}

.pricing-card-name {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  transition: color var(--transition-normal);
}

.pricing-card-dark .pricing-card-name {
  color: #ffffff;
}

/* Pricing */
.pricing-card-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.pricing-original-price {
  margin-bottom: 12px;
  min-height: 20px;
}

.pricing-strikethrough {
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
  text-decoration: line-through;
  font-weight: 500;
}

.pricing-currency {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-normal);
}

.pricing-amount {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  transition: color var(--transition-normal);
}

.pricing-card-dark .pricing-amount,
.pricing-card-dark .pricing-currency,
.pricing-card-dark .pricing-period {
  color: #ffffff;
}

.pricing-period {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  transition: color var(--transition-normal);
}

.pricing-card-description {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.5;
  transition: color var(--transition-normal);
}

.pricing-card-dark .pricing-card-description {
  color: rgba(255, 255, 255, 0.7);
}

/* Card Button */
.pricing-card-btn {
  width: 100%;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: var(--font-size-md);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  margin-bottom: 20px;
}

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

.pricing-card-btn-secondary:hover {
  background: var(--bg-hover);
}

.pricing-card-btn-primary {
  background: #8AC0D5;
  color: white;
  box-shadow: 0 4px 12px rgba(138, 192, 213, 0.3);
}

.pricing-card-btn-primary:hover {
  background: #7ab0c5;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(138, 192, 213, 0.4);
}

.pricing-card-btn-dark {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.pricing-card-btn-dark:hover {
  background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(138, 192, 213, 0.4);
}

.pricing-card-btn-dark {
  background: #ffffff;
  color: #111827;
}

.pricing-card-btn-dark:hover {
  background: #f3f4f6;
  transform: translateY(-2px);
}

/* Features List */
.pricing-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
}

.pricing-feature-check {
  width: 20px;
  height: 20px;
  min-width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(138, 192, 213, 0.2);
  border-radius: 50%;
}

.pricing-feature-check svg {
  width: 12px;
  height: 12px;
  color: #8ac0d5;
}

.pricing-feature-text {
  font-size: var(--font-size-sm);
  color: var(--text-primary);
  line-height: 1.4;
  transition: color var(--transition-normal);
}

.pricing-card-dark .pricing-feature-text {
  color: rgba(255, 255, 255, 0.9);
}

.pricing-card-dark .pricing-feature-check {
  background: rgba(138, 192, 213, 0.3);
}

/* ===== FAQ SECTION ===== */
.pricing-faq-section {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

.pricing-faq-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 20px 0;
  transition: color var(--transition-normal);
}

.pricing-faq-grid {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
}

.pricing-faq-item {
  background: var(--bg-secondary);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-faq-item:hover {
  background: var(--bg-hover);
  border-color: rgba(138, 192, 213, 0.3);
}

.pricing-faq-question {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px 0;
  transition: color var(--transition-normal);
}

.pricing-faq-answer {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  transition: color var(--transition-normal);
}

/* ===== RESPONSIVE ===== */
@media (min-width: 768px) {
  .pricing-main {
    padding: 32px 40px;
    max-width: 1400px;
    margin: 0 auto;
  }

  .pricing-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .pricing-faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pricing-page {
    padding-bottom: 0;
  }

  .pricing-cards-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .bottom-nav {
    display: none;
  }
}

@media (min-width: 1280px) {
  .pricing-main {
    padding: 40px 60px;
  }

  .pricing-cards-grid {
    gap: 28px;
  }
}

@media (max-width: 480px) {
  .pricing-main {
    padding: 16px;
  }

  .pricing-page-title {
    font-size: 24px;
  }

  .pricing-subtitle {
    font-size: 14px;
  }

  .pricing-card {
    padding: 20px;
  }

  .pricing-card-icon {
    width: 40px;
    height: 40px;
  }

  .pricing-card-icon svg {
    width: 20px;
    height: 20px;
  }

  .pricing-amount {
    font-size: 32px;
  }
}

/* ===== FOOTER ===== */
.pricing-footer {
  padding: 40px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.pricing-footer-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.pricing-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.pricing-footer-logo-icon {
  width: 32px;
  height: 32px;
  background: var(--primary-gradient);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-footer-logo-icon svg {
  width: 18px;
  height: 18px;
  color: white;
}

.pricing-footer-logo-text {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: #111827;
}

[data-theme="dark"] .pricing-footer-logo-text {
  color: #ffffff;
}

.pricing-footer-text {
  font-size: var(--font-size-sm);
  color: #4b5563;
  margin-bottom: 16px;
}

[data-theme="dark"] .pricing-footer-text {
  color: rgba(255, 255, 255, 0.7);
}

.pricing-footer-link {
  color: #8ac0d5;
  text-decoration: none;
  font-weight: 500;
}

.pricing-footer-link:hover {
  text-decoration: underline;
}

.pricing-footer-copyright {
  font-size: var(--font-size-xs);
  color: #6b7280;
  margin: 0;
}

[data-theme="dark"] .pricing-footer-copyright {
  color: rgba(255, 255, 255, 0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .pricing-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pricing-navbar {
    padding: 12px 16px;
  }

  .pricing-nav-actions {
    display: none;
  }

  .pricing-back-btn {
    display: flex;
  }

  .pricing-hero {
    padding: 120px 16px 32px;
  }

  .pricing-title {
    font-size: 32px;
  }

  .pricing-subtitle {
    font-size: var(--font-size-md);
  }

  .pricing-toggle-btn {
    padding: 8px 16px;
    font-size: var(--font-size-sm);
  }

  .pricing-cards-section {
    padding: 24px 16px 60px;
  }

  .pricing-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pricing-card {
    padding: 24px 20px;
  }

  .pricing-amount {
    font-size: 32px;
  }

  .pricing-faq-section {
    padding: 40px 16px;
  }

  .pricing-faq-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pricing-footer {
    padding: 32px 16px;
  }
}

@media (max-width: 480px) {
  .pricing-toggle-container {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
  }

  .pricing-toggle-btn {
    width: 100%;
    justify-content: center;
  }
}

.auth-layout {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f9a8d4 0%, #93c5fd 50%, #d8b4fe 100%);
  padding: 20px;
}

[data-theme="dark"] .auth-layout {
  background: linear-gradient(135deg, #4a2040 0%, #1e3a5f 50%, #3d2563 100%);
}

.auth-container {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border-radius: 24px;
  padding: 40px 32px;
  box-shadow: var(--shadow-lg);
  transition: background-color var(--transition-normal);
}

.auth-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.logo-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #f9a8d4 0%, #93c5fd 50%, #d8b4fe 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 12px rgba(249, 168, 212, 0.3);
}

.auth-header {
  text-align: center;
}

.auth-title {
  font-size: 20px;
  color: var(--text-primary);
  font-weight: 500;
  margin: 0;
  margin-bottom: 4px;
}

.auth-brand {
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(135deg, #f9a8d4 0%, #93c5fd 50%, #d8b4fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.auth-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 8px;
}

.auth-content {
  width: 100%;
}

/* Mobile responsive */
@media (max-width: 480px) {
  .auth-layout {
    padding: 16px;
  }

  .auth-container {
    padding: 32px 24px;
    border-radius: 20px;
  }

  .logo-icon {
    width: 56px;
    height: 56px;
    font-size: 28px;
    border-radius: 14px;
  }

  .auth-title {
    font-size: 18px;
  }

  .auth-brand {
    font-size: 28px;
  }

  .auth-header {
    margin-bottom: 28px;
  }
}

@media (max-width: 360px) {
  .auth-container {
    padding: 28px 20px;
  }

  .auth-title {
    font-size: 16px;
  }

  .auth-brand {
    font-size: 24px;
  }
}

.auth-input-wrapper {
  margin-bottom: 20px;
  width: 100%;
}

.auth-input-container {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: 12px;
  padding: 12px 16px;
  transition: all 0.3s ease;
  position: relative;
}

.auth-input-container:focus-within {
  border-color: var(--primary-pink);
  box-shadow: 0 0 0 3px rgba(217, 70, 239, 0.1);
}

.auth-input-container.error {
  border-color: var(--danger-color);
}

.auth-input-icon {
  font-size: 18px;
  color: var(--text-tertiary);
  margin-right: 12px;
  display: flex;
  align-items: center;
}

.auth-input {
  flex: 1 1;
  border: none;
  outline: none;
  font-size: 15px;
  color: var(--text-primary);
  background: transparent;
}

.auth-input::placeholder {
  color: var(--text-tertiary);
}

.password-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  padding: 0;
  margin-left: 8px;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.password-toggle:hover {
  opacity: 1;
}

.auth-input-error {
  display: block;
  color: var(--alert-error-text);
  font-size: 13px;
  margin-top: 6px;
  margin-left: 4px;
}

/* Mobile responsive */
@media (max-width: 480px) {
  .auth-input-container {
    padding: 10px 14px;
  }

  .auth-input {
    font-size: 14px;
  }

  .auth-input-icon {
    font-size: 16px;
    margin-right: 10px;
  }
}

.auth-button {
  padding: 14px 24px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.auth-button.full-width {
  width: 100%;
}

.auth-button.primary {
  background: linear-gradient(135deg, #f9a8d4 0%, #93c5fd 50%, #d8b4fe 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(249, 168, 212, 0.3);
  margin-top: 10px;
}

.auth-button.primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(249, 168, 212, 0.4);
}

.auth-button.primary:active:not(:disabled) {
  transform: translateY(0);
}

.auth-button.secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-primary);
}

.auth-button.secondary:hover:not(:disabled) {
  background: var(--bg-hover);
  border-color: var(--border-secondary);
}

.auth-button.google {
  background: #ffffff !important;
  color: #1f2937 !important;
  border: 1px solid #d1d5db !important;
  font-weight: 500;
  margin-top: 10px;
}

.auth-button.google:hover:not(:disabled) {
  background: #f9fafb !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06) !important;
}

.auth-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.button-icon {
  font-size: 20px;
  display: flex;
  align-items: center;
}

.loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Mobile responsive */
@media (max-width: 480px) {
  .auth-button {
    padding: 12px 20px;
    font-size: 15px;
  }

  .button-icon {
    font-size: 18px;
  }
}

/* Fade In Animation */
@keyframes loginFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-form {
  width: 100%;
  animation: loginFadeIn 0.4s ease-out;
}

.login-form-group {
  margin-bottom: 4px;
}

.login-form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
  opacity: 0.95;
}

[data-theme="dark"] .login-form-label {
  color: #E5E7EB;
  opacity: 1;
}

.login-alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}

.login-alert-error {
  background-color: var(--alert-error-bg);
  color: var(--alert-error-text);
  border: 1px solid var(--alert-error-border);
}

.login-alert-success {
  background-color: var(--alert-success-bg);
  color: var(--alert-success-text);
  border: 1px solid var(--alert-success-border);
}

.forgot-password-link {
  text-align: right;
  margin-bottom: 24px;
  margin-top: -8px;
}

.forgot-password-link a {
  color: var(--text-link);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition-normal);
}

.forgot-password-link a:hover {
  color: var(--text-link-hover);
  text-decoration: underline;
}

.login-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 24px 0;
  color: var(--text-tertiary);
  font-size: 14px;
}

.login-divider::before,
.login-divider::after {
  content: "";
  flex: 1 1;
  border-bottom: 1px solid var(--border-primary);
}

.login-divider span {
  padding: 0 16px;
}

.signup-link {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-secondary);
}

.signup-link a {
  color: var(--text-link);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-normal);
}

.signup-link a:hover {
  color: var(--text-link-hover);
  text-decoration: underline;
}

/* Hidden Google Login Component */
.google-login-hidden {
  display: none !important;
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Mobile responsive */
@media (max-width: 480px) {
  .login-form-label {
    font-size: 13px;
  }

  .login-alert {
    padding: 10px 14px;
    font-size: 13px;
  }

  .forgot-password-link a {
    font-size: 13px;
  }

  .login-divider {
    font-size: 13px;
    margin: 20px 0;
  }

  .signup-link {
    font-size: 13px;
    margin-top: 20px;
  }
}

/* Fade In Animation */
@keyframes registerFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.register-header {
  text-align: center;
  margin-bottom: 32px;
  animation: registerFadeIn 0.4s ease-out;
}

.register-form {
  width: 100%;
}

.register-form-group {
  margin-bottom: 4px;
}

.register-form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 8px;
}

[data-theme="dark"] .register-form-label {
  color: #E5E7EB;
  opacity: 1;
}

.register-alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}

.register-alert-error {
  background-color: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.register-alert-success {
  background-color: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

.register-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 24px 0;
  color: #9ca3af;
  font-size: 14px;
}

.register-divider::before,
.register-divider::after {
  content: '';
  flex: 1 1;
  border-bottom: 1px solid #e5e7eb;
}

.register-divider span {
  padding: 0 16px;
}

.register-login-link {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: #6b7280;
}

.register-login-link a {
  color: #93C5FD;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.register-login-link a:hover {
  color: #D8B4FE;
  text-decoration: underline;
}

.google-login-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.google-login-wrapper > div {
  width: 100% !important;
}

.google-login-wrapper > div > div {
  width: 100% !important;
}

/* Mobile responsive */
@media (max-width: 480px) {
  .register-header {
    margin-bottom: 28px;
  }

  .form-label {
    font-size: 13px;
  }

  .alert {
    padding: 10px 14px;
    font-size: 13px;
  }

  .divider {
    font-size: 13px;
    margin: 20px 0;
  }

  .login-link {
    font-size: 13px;
    margin-top: 20px;
  }
}

/* Fade In Animation */
@keyframes forgotPasswordFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.forgot-password-header {
  text-align: center;
  margin-bottom: 32px;
  animation: forgotPasswordFadeIn 0.4s ease-out;
}

.forgot-password-form {
  width: 100%;
  animation: forgotPasswordFadeIn 0.4s ease-out;
}

.forgot-form-group {
  margin-bottom: 24px;
}

.forgot-form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
  opacity: 0.95;
}

[data-theme="dark"] .forgot-form-label {
  color: #E5E7EB;
  opacity: 1;
}

.forgot-alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}

.forgot-alert-error {
  background-color: var(--alert-error-bg);
  color: var(--alert-error-text);
  border: 1px solid var(--alert-error-border);
}

.back-to-login {
  text-align: center;
  margin-top: 24px;
}

.back-to-login a {
  color: #7c3aed;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.back-to-login a:hover {
  color: #6d28d9;
  text-decoration: underline;
}

/* Success message styles */
.success-message {
  text-align: center;
}

.success-icon {
  font-size: 64px;
  margin-bottom: 24px;
}

.success-message h2 {
  font-size: 24px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.success-message p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.success-message p strong {
  color: var(--text-primary);
  font-weight: 600;
}

.success-message .note {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 24px;
}

.resend-link {
  margin-top: 16px;
}

.link-button {
  background: none;
  border: none;
  color: #7c3aed;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
}

.link-button:hover {
  color: #6d28d9;
}

/* Mobile responsive */
@media (max-width: 480px) {
  .forgot-password-header {
    margin-bottom: 28px;
  }

  .forgot-form-label {
    font-size: 13px;
  }

  .forgot-alert {
    padding: 10px 14px;
    font-size: 13px;
  }

  .back-to-login a {
    font-size: 13px;
  }

  .success-icon {
    font-size: 56px;
    margin-bottom: 20px;
  }

  .success-message h2 {
    font-size: 22px;
  }

  .success-message p {
    font-size: 14px;
  }
}

/* Fade In Animation */
@keyframes resetPasswordFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reset-password-header {
  text-align: center;
  margin-bottom: 32px;
  animation: resetPasswordFadeIn 0.4s ease-out;
}

.reset-password-form {
  width: 100%;
  animation: resetPasswordFadeIn 0.4s ease-out;
}

.reset-form-group {
  margin-bottom: 4px;
}

.reset-form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 8px;
}

.reset-alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}

.reset-alert-error {
  background-color: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.reset-back-to-login {
  text-align: center;
  margin-top: 24px;
}

.reset-back-to-login a {
  color: #7c3aed;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.reset-back-to-login a:hover {
  color: #6d28d9;
  text-decoration: underline;
}

/* Success message styles */
.reset-success-message {
  text-align: center;
}

.reset-success-icon {
  font-size: 64px;
  margin-bottom: 24px;
}

.reset-success-message h2 {
  font-size: 24px;
  color: #1f2937;
  margin-bottom: 16px;
}

.success-message p {
  color: #6b7280;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Mobile responsive */
@media (max-width: 480px) {
  .reset-password-header {
    margin-bottom: 28px;
  }

  .form-label {
    font-size: 13px;
  }

  .alert {
    padding: 10px 14px;
    font-size: 13px;
  }

  .back-to-login a {
    font-size: 13px;
  }

  .success-icon {
    font-size: 56px;
    margin-bottom: 20px;
  }

  .success-message h2 {
    font-size: 22px;
  }

  .success-message p {
    font-size: 14px;
  }
}

/* Fade In Animation */
@keyframes adminLoginFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.admin-badge {
  text-align: center;
  margin-bottom: 16px;
  animation: adminLoginFadeIn 0.4s ease-out;
}

.admin-login-header {
  text-align: center;
  margin-bottom: 32px;
}

.admin-login-badge span {
  display: inline-block;
  padding: 8px 16px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.admin-login-form {
  width: 100%;
}

.admin-login-form-group {
  margin-bottom: 4px;
}

.admin-login-form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 8px;
}

.admin-login-alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}

.admin-login-alert-error {
  background-color: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.admin-login-admin-login-forgot-password-link {
  text-align: right;
  margin-bottom: 24px;
  margin-top: -8px;
}

.admin-login-forgot-password-link a {
  color: #7c3aed;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.admin-login-forgot-password-link a:hover {
  color: #6d28d9;
  text-decoration: underline;
}

.admin-login-admin-login-user-portal-link {
  text-align: center;
  margin-top: 24px;
}

.admin-login-user-portal-link a {
  color: #6b7280;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
}

.user-portal-link a:hover {
  color: #374151;
  text-decoration: underline;
}

/* Mobile responsive */
@media (max-width: 480px) {
  .admin-badge span {
    font-size: 12px;
    padding: 6px 14px;
  }

  .admin-login-header {
    margin-bottom: 28px;
  }

  .form-label {
    font-size: 13px;
  }

  .alert {
    padding: 10px 14px;
    font-size: 13px;
  }

  .forgot-password-link a,
  .user-portal-link a {
    font-size: 13px;
  }
}

/* Fade In Animation */
@keyframes adminForgotFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.admin-badge {
  text-align: center;
  margin-bottom: 16px;
  animation: adminForgotFadeIn 0.4s ease-out;
}

.admin-forgot-badge span {
  display: inline-block;
  padding: 8px 16px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
  margin-top: 10px;
}

.admin-forgot-header {
  text-align: center;
  margin-bottom: 32px;
}

.admin-forgot-form {
  width: 100%;
}

.admin-forgot-form-group {
  margin-bottom: 24px;
}

.admin-forgot-form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 8px;
}

.admin-forgot-alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}

.admin-forgot-alert-error {
  background-color: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.admin-forgot-admin-forgot-back-to-login {
  text-align: center;
  margin-top: 24px;
}

.admin-forgot-back-to-login a {
  color: #7c3aed;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.admin-forgot-back-to-login a:hover {
  color: #6d28d9;
  text-decoration: underline;
}

/* Success message styles */
.admin-forgot-success-message {
  text-align: center;
}

.success-icon {
  font-size: 64px;
  margin-bottom: 24px;
}

.success-message h2 {
  font-size: 24px;
  color: #1f2937;
  margin-bottom: 16px;
}

.success-message p {
  color: #6b7280;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.success-message p strong {
  color: #374151;
  font-weight: 600;
}

.success-message .note {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 24px;
}

.resend-link {
  margin-top: 16px;
}

.link-button {
  background: none;
  border: none;
  color: #7c3aed;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
}

.link-button:hover {
  color: #6d28d9;
}

/* Mobile responsive */
@media (max-width: 480px) {
  .admin-badge span {
    font-size: 12px;
    padding: 6px 14px;
  }

  .admin-forgot-header {
    margin-bottom: 28px;
  }

  .form-label {
    font-size: 13px;
  }

  .alert {
    padding: 10px 14px;
    font-size: 13px;
  }

  .back-to-login a {
    font-size: 13px;
  }

  .success-icon {
    font-size: 56px;
    margin-bottom: 20px;
  }

  .success-message h2 {
    font-size: 22px;
  }

  .success-message p {
    font-size: 14px;
  }
}

/* Admin Layout - Sidebar Only */

/* Admin Layout */
.admin-layout {
  display: flex;
  min-height: 100vh;
  background: var(--admin-bg-primary);
}

/* Sidebar */
.admin-sidebar {
  width: 280px;
  background: var(--admin-gradient-sidebar);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 100;
  box-shadow: var(--admin-shadow);
  border-right: 1px solid var(--admin-border);
}

.admin-sidebar-header {
  padding: 24px;
  border-bottom: 1px solid var(--admin-border);
}

.admin-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  font-size: 32px;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--admin-text-primary);
  letter-spacing: -0.5px;
}

/* Navigation */
.admin-nav {
  flex: 1 1;
  padding: 16px 12px;
  overflow-y: auto;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  color: var(--admin-text-secondary);
  text-decoration: none;
  border-radius: 12px;
  margin-bottom: 4px;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 500;
}

.admin-nav-item:hover {
  background: var(--admin-bg-hover);
  color: var(--admin-text-primary);
  transform: translateX(4px);
}

.admin-nav-item.active {
  background: var(--admin-gradient-primary);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  font-weight: 600;
}

.admin-nav-item.active .nav-icon {
  opacity: 1;
}

.nav-icon {
  font-size: 18px;
  width: 24px;
  text-align: center;
  opacity: 0.9;
}

.nav-label {
  flex: 1 1;
  font-weight: 500;
}

/* Sidebar Footer */
.admin-sidebar-footer {
  padding: 16px;
  border-top: 1px solid var(--admin-border);
}

.admin-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--admin-bg-hover);
  border-radius: 12px;
  margin-bottom: 12px;
}

.admin-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--admin-gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 16px;
  overflow: hidden;
}

.admin-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-user-details {
  flex: 1 1;
  min-width: 0;
}

.admin-user-name {
  display: block;
  color: var(--admin-text-primary);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.admin-user-role {
  display: block;
  color: var(--admin-text-secondary);
  font-size: 12px;
  text-transform: capitalize;
  font-weight: 500;
  line-height: 1.2;
}

.admin-logout-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-logout-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.3);
}

/* Footer Actions */
.admin-footer-actions {
  display: flex;
  gap: 8px;
}

.admin-theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--admin-bg-hover);
  border: 1px solid var(--admin-border);
  border-radius: 10px;
  color: var(--admin-text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 18px;
}

.admin-theme-toggle:hover {
  background: var(--admin-gradient-primary);
  color: white;
  transform: translateY(-1px);
}

.admin-logout-btn {
  flex: 1 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

/* Main Content */
.admin-main {
  flex: 1 1;
  margin-left: 280px;
  min-height: 100vh;
  background: var(--admin-bg-primary);
}

.admin-content {
  padding: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Page Header */
.admin-page-header {
  margin-bottom: 24px;
}

.admin-page-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--admin-text-primary);
  margin: 0 0 8px 0;
}

.admin-page-subtitle {
  font-size: 14px;
  color: var(--admin-text-secondary);
  margin: 0;
}

/* Cards */
.admin-card {
  background: var(--admin-bg-card);
  border-radius: 16px;
  box-shadow: var(--admin-shadow);
  overflow: hidden;
  border: 1px solid var(--admin-border);
}

.admin-card-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--admin-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--admin-text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-card-body {
  padding: 24px;
}

/* Stat Cards */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 20px;
  gap: 20px;
  margin-bottom: 24px;
}

.admin-stat-card {
  background: var(--admin-bg-card);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--admin-shadow);
  border: 1px solid var(--admin-border);
  position: relative;
  overflow: hidden;
}

.admin-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.admin-stat-card.blue::before {
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.admin-stat-card.green::before {
  background: linear-gradient(90deg, #10b981, #34d399);
}

.admin-stat-card.purple::before {
  background: linear-gradient(90deg, #8b5cf6, #a78bfa);
}

.admin-stat-card.orange::before {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.admin-stat-card.blue .stat-icon {
  background: rgba(59, 130, 246, 0.1);
}

.admin-stat-card.green .stat-icon {
  background: rgba(16, 185, 129, 0.1);
}

.admin-stat-card.purple .stat-icon {
  background: rgba(139, 92, 246, 0.1);
}

.admin-stat-card.orange .stat-icon {
  background: rgba(245, 158, 11, 0.1);
}

.stat-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--admin-text-primary);
  line-height: 1.2;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  color: var(--admin-text-secondary);
  margin-bottom: 12px;
}

.stat-change {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.stat-change.positive {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.stat-change.negative {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

/* Tables */
.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--admin-border);
}

.admin-table th {
  font-size: 12px;
  font-weight: 600;
  color: var(--admin-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--admin-bg-secondary);
}

.admin-table tbody tr {
  transition: background 0.15s ease;
}

.admin-table tbody tr:hover {
  background: var(--admin-bg-hover);
}

.admin-table td {
  font-size: 14px;
  color: var(--admin-text-primary);
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.status-badge.active {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.status-badge.inactive {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.status-badge.premium {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

.status-badge.free {
  background: rgba(107, 114, 128, 0.1);
  color: #6b7280;
}

.status-badge.pending {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.status-badge.verified {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.status-badge.rejected {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

/* Buttons */
.admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.admin-btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.admin-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.admin-btn-secondary {
  background: var(--admin-bg-hover);
  color: var(--admin-text-primary);
  border: 1px solid var(--admin-border);
}

.admin-btn-secondary:hover {
  background: var(--admin-bg-secondary);
}

.admin-btn-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.admin-btn-danger:hover {
  background: #ef4444;
  color: white;
}

.admin-btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

/* User Avatar in Table */
.user-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 14px;
  overflow: hidden;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-info {
  min-width: 0;
}

.user-name {
  font-weight: 600;
  color: var(--admin-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-email {
  font-size: 12px;
  color: var(--admin-text-secondary);
}

/* Responsive */
@media (max-width: 1200px) {
  .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .admin-sidebar {
    width: 80px;
  }

  .admin-sidebar-header {
    padding: 20px 12px;
  }

  .logo-text,
  .nav-label,
  .admin-user-details {
    display: none;
  }

  .admin-nav-item {
    justify-content: center;
    padding: 14px;
  }

  .nav-icon {
    margin: 0;
  }

  .admin-user-info {
    justify-content: center;
    padding: 10px;
  }

  .admin-logout-btn span:last-child {
    display: none;
  }

  .admin-main {
    margin-left: 80px;
  }
}

@media (max-width: 768px) {
  .admin-stats-grid {
    grid-template-columns: 1fr;
  }

  .admin-content {
    padding: 16px;
  }

  .admin-table {
    font-size: 12px;
  }

  .admin-table th,
  .admin-table td {
    padding: 10px 12px;
  }
}

/* Loading State */
.admin-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px;
  color: var(--admin-text-secondary);
}

.admin-loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--admin-border);
  border-top-color: #667eea;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 16px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Empty State */
.admin-empty {
  text-align: center;
  padding: 60px 24px;
  color: var(--admin-text-secondary);
}

.admin-empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.admin-empty-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--admin-text-primary);
  margin-bottom: 8px;
}

.admin-empty-text {
  font-size: 14px;
}

/* Search & Filters */
.admin-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.admin-search {
  flex: 1 1;
  min-width: 250px;
  position: relative;
}

.admin-search input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border: 1px solid var(--admin-border);
  border-radius: 10px;
  font-size: 14px;
  background: var(--admin-bg-card);
  color: var(--admin-text-primary);
  transition: all 0.2s ease;
}

.admin-search input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.admin-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}

.admin-filter-select {
  padding: 12px 16px;
  border: 1px solid var(--admin-border);
  border-radius: 10px;
  font-size: 14px;
  background: var(--admin-bg-card);
  color: var(--admin-text-primary);
  min-width: 150px;
  cursor: pointer;
}

.admin-filter-select:focus {
  outline: none;
  border-color: #667eea;
}

/* Pagination */
.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid #f3f4f6;
  margin-top: 16px;
}

.pagination-info {
  font-size: 14px;
  color: var(--admin-text-secondary);
}

.pagination-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination-btn {
  padding: 8px 14px;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  background: var(--admin-bg-card);
  color: var(--admin-text-primary);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pagination-btn:hover:not(:disabled) {
  background: var(--admin-bg-hover);
  border-color: var(--admin-border);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-btn.active {
  background: #667eea;
  color: white;
  border-color: #667eea;
}

/* Modal */
.admin-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
}

.admin-modal {
  background: var(--admin-bg-card);
  border-radius: 16px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--admin-shadow);
}

.admin-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--admin-border);
}

.admin-modal-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--admin-text-primary);
  margin: 0;
}

.admin-modal-close {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--admin-bg-hover);
  color: var(--admin-text-primary);
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.admin-modal-close:hover {
  background: var(--admin-bg-secondary);
}

.admin-modal-body {
  padding: 24px;
}

.admin-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid var(--admin-border);
}

/* Form */
.admin-form-group {
  margin-bottom: 20px;
}

.admin-form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--admin-text-primary);
  margin-bottom: 8px;
}

.admin-form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--admin-border);
  border-radius: 10px;
  font-size: 14px;
  background: var(--admin-bg-card);
  color: var(--admin-text-primary);
  transition: all 0.2s ease;
}

.admin-form-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.admin-form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Charts placeholder */
.admin-chart-container {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--admin-bg-secondary);
  border-radius: 12px;
  color: var(--admin-text-secondary);
}

/* Report Specific Styles */
.report-header-card {
  text-align: center;
  padding: 32px;
}

.report-title {
  margin: 0 0 8px 0;
  font-size: 24px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.report-subtitle {
  margin: 0;
  color: var(--admin-text-secondary);
  font-size: 14px;
}

.report-sections-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 24px;
  gap: 24px;
  margin-top: 24px;
}

.plan-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: var(--admin-bg-hover);
  border-radius: 10px;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}

.plan-item:hover {
  transform: translateX(4px);
}

.plan-item:nth-child(even) {
  background: var(--admin-bg-secondary);
}

.plan-info-title {
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--admin-text-primary);
}

.plan-info-subtitle {
  font-size: 12px;
  color: var(--admin-text-secondary);
}

.plan-revenue {
  font-weight: 700;
  font-size: 18px;
  color: var(--admin-success);
}

.hours-column {
  font-weight: 600;
  color: #667eea;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 24px;
  gap: 24px;
}

.comparison-item {
  text-align: center;
}

.comparison-label {
  font-size: 14px;
  color: var(--admin-text-secondary);
  margin-bottom: 8px;
}

.comparison-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--admin-text-primary);
}

.comparison-value.success {
  color: var(--admin-success);
}

.comparison-value.purple {
  color: #8b5cf6;
}

.comparison-info {
  font-size: 12px;
  color: var(--admin-text-secondary);
  margin-top: 4px;
}

@media (max-width: 992px) {
  .report-sections-grid {
    grid-template-columns: 1fr;
  }

  .comparison-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }
}

/* Global Admin Theme Variables */
:root,
[data-theme="dark"] {
  /* Dark Theme (default) */
  --admin-bg-primary: #0f1419;
  --admin-bg-secondary: #1a1a2e;
  --admin-bg-card: #1e1e2e;
  --admin-bg-hover: #2a2a3a;
  --admin-text-primary: #f8fafc;
  --admin-text-secondary: #cbd5e1;
  --admin-text-tertiary: #94a3b8;
  --admin-border: rgba(255, 255, 255, 0.12);
  --admin-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  --admin-gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --admin-gradient-sidebar: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
  
  /* Status Colors */
  --admin-success: #10b981;
  --admin-warning: #ffc107;
  --admin-danger: #ef4444;
  --admin-info: #3b82f6;
  --admin-secondary: #6b7280;
  
  /* Status Backgrounds */
  --admin-success-bg: rgba(16, 185, 129, 0.1);
  --admin-warning-bg: rgba(255, 193, 7, 0.1);
  --admin-danger-bg: rgba(239, 68, 68, 0.1);
  --admin-info-bg: rgba(59, 130, 246, 0.1);
  --admin-secondary-bg: rgba(107, 114, 128, 0.1);
}

[data-theme="light"] {
  /* Light Theme */
  --admin-bg-primary: #f8fafc;
  --admin-bg-secondary: #ffffff;
  --admin-bg-card: #ffffff;
  --admin-bg-hover: #f1f5f9;
  --admin-text-primary: #0f172a;
  --admin-text-secondary: #475569;
  --admin-text-tertiary: #64748b;
  --admin-border: rgba(0, 0, 0, 0.12);
  --admin-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --admin-gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --admin-gradient-sidebar: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  
  /* Status Colors (same in both themes) */
  --admin-success: #10b981;
  --admin-warning: #f59e0b;
  --admin-danger: #ef4444;
  --admin-info: #3b82f6;
  --admin-secondary: #6b7280;
  
  /* Status Backgrounds (adjusted for light theme) */
  --admin-success-bg: rgba(16, 185, 129, 0.1);
  --admin-warning-bg: rgba(245, 158, 11, 0.1);
  --admin-danger-bg: rgba(239, 68, 68, 0.1);
  --admin-info-bg: rgba(59, 130, 246, 0.1);
  --admin-secondary-bg: rgba(107, 114, 128, 0.1);
}

/* Global Admin Styles */
.admin-page {
  background: transparent;
  min-height: calc(100vh - 48px);
}

.admin-page-header h1 {
  color: #f8fafc;
  color: var(--admin-text-primary);
  margin: 0 0 8px 0;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.admin-page-header p {
  color: #cbd5e1;
  color: var(--admin-text-secondary);
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 500;
}

/* Admin Stats Grid */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 20px;
  gap: 20px;
  margin-bottom: 24px;
}

.admin-stat-card {
  background: #1e1e2e;
  background: var(--admin-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--admin-border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  box-shadow: var(--admin-shadow);
  transition: transform 0.2s ease;
}

.admin-stat-card:hover {
  transform: translateY(-2px);
}

.admin-stat-card .stat-icon {
  font-size: 32px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.1);
  background: var(--admin-info-bg);
}

.admin-stat-card.primary .stat-icon {
  background: rgba(59, 130, 246, 0.1);
  background: var(--admin-info-bg);
}

.admin-stat-card.success .stat-icon {
  background: rgba(16, 185, 129, 0.1);
  background: var(--admin-success-bg);
}

.admin-stat-card.warning .stat-icon {
  background: rgba(255, 193, 7, 0.1);
  background: var(--admin-warning-bg);
}

.admin-stat-card.danger .stat-icon {
  background: rgba(239, 68, 68, 0.1);
  background: var(--admin-danger-bg);
}

.admin-stat-card.secondary .stat-icon {
  background: rgba(107, 114, 128, 0.1);
  background: var(--admin-secondary-bg);
}

.admin-stat-card .stat-info h3 {
  font-size: 24px;
  font-weight: 700;
  color: #f8fafc;
  color: var(--admin-text-primary);
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.admin-stat-card .stat-info p {
  font-size: 14px;
  color: #cbd5e1;
  color: var(--admin-text-secondary);
  margin: 4px 0 0;
  font-weight: 500;
  line-height: 1.3;
}

/* Admin Tables */
.admin-table-container {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table thead {
  background: #1a1a2e;
  background: var(--admin-bg-secondary);
}

.admin-table th {
  padding: 16px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
  color: var(--admin-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--admin-border);
  line-height: 1.4;
}

.admin-table td {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--admin-border);
  color: #f8fafc;
  color: var(--admin-text-primary);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}

/* Status Badges */
.status-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  line-height: 1;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.status-badge.success {
  background: rgba(16, 185, 129, 0.1);
  background: var(--admin-success-bg);
  color: #10b981;
  color: var(--admin-success);
}

.status-badge.warning {
  background: rgba(255, 193, 7, 0.1);
  background: var(--admin-warning-bg);
  color: #ffc107;
  color: var(--admin-warning);
}

.status-badge.danger {
  background: rgba(239, 68, 68, 0.1);
  background: var(--admin-danger-bg);
  color: #ef4444;
  color: var(--admin-danger);
}

.status-badge.secondary {
  background: rgba(107, 114, 128, 0.1);
  background: var(--admin-secondary-bg);
  color: #6b7280;
  color: var(--admin-secondary);
}

/* Loading States */
.admin-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: #cbd5e1;
  color: var(--admin-text-secondary);
}

.admin-loading p {
  font-size: 16px;
  font-weight: 500;
  margin: 0;
  line-height: 1.4;
}

.admin-loading .spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border: 3px solid var(--admin-border);
  border-top: 3px solid #3b82f6;
  border-top: 3px solid var(--admin-info);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}

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

/* Buttons */
.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  line-height: 1;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background: var(--admin-gradient-primary);
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-success {
  background: #10b981;
  background: var(--admin-success);
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-success:hover {
  background: #059669;
}

.btn-danger {
  background: #ef4444;
  background: var(--admin-danger);
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-danger:hover {
  background: #dc2626;
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid var(--admin-border);
  color: #f8fafc;
  color: var(--admin-text-primary);
  font-weight: 500;
}

.btn-outline:hover {
  background: #2a2a3a;
  background: var(--admin-bg-hover);
  border-color: #94a3b8;
  border-color: var(--admin-text-tertiary);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Responsive */
@media (max-width: 1024px) {
  .admin-stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  .admin-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Utility Classes for Better Text Display */
.text-primary {
  color: #f8fafc !important;
  color: var(--admin-text-primary) !important;
}

.text-secondary {
  color: #cbd5e1 !important;
  color: var(--admin-text-secondary) !important;
}

.text-tertiary {
  color: #94a3b8 !important;
  color: var(--admin-text-tertiary) !important;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.text-sm {
  font-size: 12px;
  line-height: 1.4;
}

.text-base {
  font-size: 14px;
  line-height: 1.5;
}

.text-lg {
  font-size: 16px;
  line-height: 1.5;
}

/* Better focus states */
.admin-card:focus-within {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(102, 126, 234, 0.1);
  box-shadow: var(--admin-shadow), 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Improved readability for different themes */
[data-theme="light"] .admin-table tbody tr:hover {
  background-color: rgba(102, 126, 234, 0.03);
}

[data-theme="dark"] .admin-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

/* Better visibility for icons in different themes */
[data-theme="light"] .admin-stat-card .stat-icon {
  opacity: 0.9;
}

[data-theme="dark"] .admin-stat-card .stat-icon {
  opacity: 1;
}
/* AdminPayments specific styles - works with AdminTheme.css */

/* Payment specific styles */
.payment-code {
  font-family: 'Monaco', 'Consolas', monospace;
  font-size: 12px;
  background: var(--admin-info-bg);
  padding: 4px 8px;
  border-radius: 4px;
  color: var(--admin-info);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.user-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.user-cell .user-name {
  font-weight: 600;
  color: var(--admin-text-primary);
  font-size: 14px;
  line-height: 1.4;
}

.user-cell .user-email {
  font-size: 12px;
  color: var(--admin-text-secondary);
  line-height: 1.3;
}

.plan-badge {
  display: inline-block;
  padding: 4px 10px;
  background: var(--admin-gradient-primary);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.amount-cell {
  font-weight: 700;
  color: var(--admin-success);
  font-size: 14px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.text-muted {
  color: var(--admin-text-tertiary);
  font-size: 13px;
  font-style: italic;
}

/* Admin Filters */
.admin-filters {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.search-box {
  flex: 1 1;
  min-width: 250px;
}

.search-box input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  background: var(--admin-bg-secondary);
  color: var(--admin-text-primary);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.search-box input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-box input::placeholder {
  color: var(--admin-text-tertiary);
  font-weight: 400;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-group label {
  font-size: 14px;
  color: var(--admin-text-secondary);
  white-space: nowrap;
  font-weight: 500;
}

.filter-group select {
  padding: 12px 16px;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  background: var(--admin-bg-secondary);
  color: var(--admin-text-primary);
  font-size: 14px;
  cursor: pointer;
  font-weight: 500;
}

.filter-group select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Action Buttons */
.action-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
}

.action-buttons .btn {
  white-space: nowrap;
  min-width: auto;
}

.action-buttons .btn-sm {
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
}

/* Admin Pagination */
.admin-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-top: 1px solid var(--admin-border);
}

.page-info {
  font-size: 14px;
  color: var(--admin-text-secondary);
  font-weight: 500;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
  .admin-filters {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-box {
    min-width: 100%;
  }

  .filter-group {
    justify-content: space-between;
  }
}

/* Mood Check-in Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.check-in-modal {
  background: white;
  border-radius: 24px;
  padding: 32px 24px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  animation: slideUp 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.modal-emoji-large {
  font-size: 72px;
  margin-bottom: 20px;
  animation: bounce 1s ease infinite;
}

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

.modal-title {
  font-size: 22px;
  font-weight: 600;
  color: #1F1F1F;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.modal-description {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 28px 0;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-in-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #FF6B9D 0%, #FFA8C5 100%);
  border: none;
  border-radius: 16px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(255, 107, 157, 0.3);
}

.check-in-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
}

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

.skip-btn {
  width: 100%;
  padding: 14px;
  background: transparent;
  border: none;
  color: #999;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease;
}

.skip-btn:hover {
  color: #666;
}

/* Responsive */
@media (max-width: 480px) {
  .check-in-modal {
    padding: 28px 20px;
  }
  
  .modal-emoji-large {
    font-size: 60px;
  }
  
  .modal-title {
    font-size: 20px;
  }
}

.study-timer {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 20px;
  color: white;
  box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
  position: relative;
  overflow: hidden;
}

.study-timer::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.study-timer.paused {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
  box-shadow: 0 10px 40px rgba(107, 114, 128, 0.3);
}

.study-timer.paused::before {
  animation: none;
  opacity: 0.3;
}

.study-timer.waiting {
  background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  box-shadow: 0 10px 40px rgba(245, 158, 11, 0.4);
}

.study-timer.waiting::before {
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
  animation: pulse 3s ease-in-out infinite;
}

.timer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.timer-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  animation: blink 1s infinite;
}

.status-dot.paused {
  background: #f59e0b;
  animation: none;
}

.status-dot.waiting {
  background: #fbbf24;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.status-text {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.timer-subject {
  font-size: 14px;
  font-weight: 500;
  background: rgba(255,255,255,0.2);
  padding: 6px 12px;
  border-radius: 20px;
}

.timer-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin: 25px 0;
  position: relative;
  z-index: 1;
}

.timer-display.countdown {
  justify-content: center;
}

.countdown-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}

.countdown-icon {
  font-size: 50px;
  animation: swing 2s ease-in-out infinite;
}

@keyframes swing {
  0%, 100% { transform: rotate(-10deg); }
  50% { transform: rotate(10deg); }
}

.countdown-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.countdown-label {
  font-size: 13px;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.countdown-value {
  font-size: 36px;
  font-weight: 700;
  font-family: 'SF Mono', 'Menlo', monospace;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.time-block {
  flex: 1 1;
  text-align: center;
}

.time-label {
  display: block;
  font-size: 12px;
  opacity: 0.8;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.time-value {
  display: block;
  font-size: 32px;
  font-weight: 700;
  font-family: 'SF Mono', 'Menlo', monospace;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.timer-divider {
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-ring {
  width: 80px;
  height: 80px;
  position: relative;
}

.progress-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.progress-bg {
  fill: none;
  stroke: rgba(255,255,255,0.2);
  stroke-width: 8;
}

.progress-fill {
  fill: none;
  stroke: #10b981;
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dasharray 0.5s ease;
}

.study-timer.paused .progress-fill {
  stroke: #f59e0b;
}

.progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  font-weight: 700;
}

.timer-info {
  text-align: center;
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.timer-actions {
  display: flex;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.btn-timer {
  flex: 1 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-timer:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-icon {
  font-size: 18px;
}

.btn-pause {
  background: rgba(255,255,255,0.2);
  color: white;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.btn-pause:hover:not(:disabled) {
  background: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

.btn-resume {
  background: #10b981;
  color: white;
}

.btn-resume:hover:not(:disabled) {
  background: #059669;
  transform: translateY(-2px);
}

.btn-end {
  background: rgba(239, 68, 68, 0.9);
  color: white;
}

.btn-end:hover:not(:disabled) {
  background: #dc2626;
  transform: translateY(-2px);
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
}

.end-session-modal {
  background: white;
  border-radius: 24px;
  padding: 30px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: slideUp 0.3s ease;
}

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

.end-session-modal h3 {
  text-align: center;
  font-size: 24px;
  margin: 0 0 20px;
  color: #1f2937;
}

.modal-stats {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-stats .stat-label {
  color: #6b7280;
  font-size: 14px;
}

.modal-stats .stat-value {
  font-size: 24px;
  font-weight: 700;
  color: #667eea;
  font-family: 'SF Mono', monospace;
}

.focus-rating {
  margin-bottom: 20px;
}

.focus-rating label {
  display: block;
  font-size: 14px;
  color: #374151;
  margin-bottom: 10px;
  font-weight: 500;
}

.focus-stars {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.star-btn {
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  transition: transform 0.2s;
  padding: 5px;
}

.star-btn:hover {
  transform: scale(1.2);
}

.star-btn.active {
  animation: pop 0.3s ease;
}

@keyframes pop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

.focus-text {
  display: block;
  text-align: center;
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
}

.completion-notes {
  margin-bottom: 25px;
}

.completion-notes label {
  display: block;
  font-size: 14px;
  color: #374151;
  margin-bottom: 8px;
  font-weight: 500;
}

.completion-notes textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 14px;
  font-family: inherit;
  resize: none;
  transition: border-color 0.2s;
}

.completion-notes textarea:focus {
  outline: none;
  border-color: #667eea;
}

.modal-actions {
  display: flex;
  gap: 12px;
}

.btn-cancel {
  flex: 1 1;
  padding: 14px 20px;
  border: 2px solid #e5e7eb;
  background: white;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cancel:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.btn-confirm {
  flex: 1 1;
  padding: 14px 20px;
  border: none;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-confirm:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(16, 185, 129, 0.4);
}

.btn-confirm:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Responsive */
@media (max-width: 480px) {
  .study-timer {
    padding: 20px 16px;
  }

  .timer-header {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .time-value {
    font-size: 24px;
  }

  .progress-ring {
    width: 60px;
    height: 60px;
  }

  .timer-actions {
    flex-direction: column;
  }

  .btn-timer {
    padding: 12px 16px;
  }
}

/* ===================================
   NOTIFICATION ITEM COMPONENT
   Supports both Card View (Dropdown) and Table View (Full Page)
   =================================== */

/* ===================================
   CARD VIEW (Dropdown/Bell)
   =================================== */

.notification-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #F0F0F0;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  background: #FFFFFF;
  min-height: 80px;
  -webkit-user-select: none;
          user-select: none;
}

.notification-card:last-child {
  border-bottom: none;
}

.notification-card:hover {
  background: #F8F9FA;
  transform: translateX(2px);
}

.notification-card:active {
  transform: translateX(1px);
}

/* Unread State - Card */
.notification-card.unread {
  background: linear-gradient(135deg, #FFF8FB 0%, #FFF0F7 100%);
  border-left: 3px solid #FF6B9D;
  padding-left: 13px;
  box-shadow: inset 0 0 0 1px rgba(255, 107, 157, 0.08);
}

.notification-card.unread:hover {
  background: linear-gradient(135deg, #FFF0F7 0%, #FFE8F0 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 107, 157, 0.15);
}

.notification-card.unread .card-title {
  font-weight: 700;
  color: #1A1A1A;
}

/* Indicator Dot */
.card-indicator {
  position: absolute;
  left: 6px;
  top: 20px;
  width: 8px;
  height: 8px;
}

.notification-card.unread .unread-dot {
  display: block;
  width: 8px;
  height: 8px;
  background: #FF6B9D;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(255, 107, 157, 0.4);
}

@keyframes pulse-dot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

/* Card Icon */
.card-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: #F5F5F5;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.notification-card.unread .card-icon {
  background: linear-gradient(135deg, #FFE8F0 0%, #FFD6E5 100%);
  box-shadow: 0 2px 8px rgba(255, 107, 157, 0.15);
  transform: scale(1.05);
}

/* Card Content */
.card-content {
  flex: 1 1;
  min-width: 0;
  padding-right: 8px;
}

.card-title {
  font-size: 14px;
  font-weight: 600;
  color: #2C2C2C;
  margin: 0 0 6px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-message {
  font-size: 13px;
  color: #666666;
  margin: 0 0 8px 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.card-type {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Type Colors */
.card-type.type-mood {
  background: #FFF4E6;
  color: #E67E22;
}

.card-type.type-study {
  background: #E3F2FD;
  color: #2196F3;
}

.card-type.type-task {
  background: #E8F5E9;
  color: #4CAF50;
}

.card-type.type-achievement {
  background: #FFF9E6;
  color: #FFC107;
}

.card-type.type-streak {
  background: #FFE5E5;
  color: #FF5722;
}

.card-type.type-premium {
  background: #F3E5F5;
  color: #9C27B0;
}

.card-type.type-admin {
  background: #FCE4EC;
  color: #E91E63;
}

.card-type.type-announcement {
  background: #E0F2F1;
  color: #009688;
}

.card-type.type-system {
  background: #ECEFF1;
  color: #607D8B;
}

.card-type.type-default {
  background: #F5F5F5;
  color: #757575;
}

.card-time {
  font-size: 12px;
  color: #999999;
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-time::before {
  content: '🕐';
  font-size: 11px;
  opacity: 0.7;
}

/* Delete Button - Card */
.card-delete-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border: none;
  background: #F5F5F5;
  color: #999999;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  opacity: 0;
}

.notification-card:hover .card-delete-btn {
  opacity: 1;
}

.card-delete-btn:hover {
  background: #FFE5E5;
  color: #FF3B30;
  transform: scale(1.1);
}

.card-delete-btn:active {
  transform: scale(0.95);
}

/* ===================================
   TABLE VIEW (Full Page)
   =================================== */

.notification-row {
  display: grid;
  grid-template-columns: 48px 140px 1fr 140px 120px; /* removed type column */
  grid-gap: 16px;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #F0F0F0;
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 72px;
}

.notification-row:hover {
  background: #F8F9FA;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Unread State - Row */
.notification-row.unread {
  background: linear-gradient(135deg, #FFF8FB 0%, #FFF0F7 100%);
  border-left: 4px solid #FF6B9D;
  padding-left: 16px;
  box-shadow: inset 0 0 0 1px rgba(255, 107, 157, 0.08);
}

.notification-row.unread:hover {
  background: linear-gradient(135deg, #FFF0F7 0%, #FFE8F0 100%);
  box-shadow: 0 2px 8px rgba(255, 107, 157, 0.1), inset 0 0 0 1px rgba(255, 107, 157, 0.15);
}

.notification-row.unread .message-title {
  font-weight: 700;
  color: #1A1A1A;
}

/* Selected State */
.notification-row.selected {
  background: #E3F2FD;
  border-left: 4px solid #2196F3;
}

.notification-row.selected:hover {
  background: #BBDEFB;
}

/* Row Cells */
.row-cell {
  display: flex;
  align-items: center;
}

.checkbox-cell {
  justify-content: center;
}

.notification-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #FF6B9D;
  transition: transform 0.2s ease;
}

.notification-checkbox:hover {
  transform: scale(1.1);
}

/* Status Cell */
.status-indicator {
  display: flex;
  align-items: center;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.status-badge.unread {
  background: linear-gradient(135deg, #FFE8F0 0%, #FFD6E5 100%);
  color: #D81B60;
  border: 1px solid #FFB3D0;
}

.status-badge.unread .status-dot {
  width: 8px;
  height: 8px;
  background: #FF6B9D;
  border-radius: 50%;
  animation: pulse-status 2s ease-in-out infinite;
}

@keyframes pulse-status {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(255, 107, 157, 0.7);
  }
  50% {
    opacity: 0.7;
    box-shadow: 0 0 0 4px rgba(255, 107, 157, 0);
  }
}

.status-badge.read {
  background: #F5F5F5;
  color: #757575;
  border: 1px solid #E0E0E0;
}

.status-text {
  text-transform: capitalize;
}

/* Type Cell */
.type-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  max-width: 100%;
}

.type-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.type-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Message Cell */
.message-content {
  flex: 1 1;
  min-width: 0;
}

.message-title {
  font-size: 14px;
  font-weight: 600;
  color: #2C2C2C;
  margin: 0 0 4px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.message-text {
  font-size: 13px;
  color: #666666;
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Time Cell */
.time-text {
  font-size: 13px;
  color: #999999;
  white-space: nowrap;
}

.notification-row:hover .action-buttons {
  opacity: 1;
}

.action-icon-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: #F5F5F5;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  color: #757575;
}

.action-icon-btn:hover {
  transform: scale(1.1);
}

.action-icon-btn:active {
  transform: scale(0.95);
}

.action-icon-btn.mark-read:hover {
  background: #E8F5E9;
  color: #4CAF50;
}

.action-icon-btn.mark-unread:hover {
  background: #FFF3E0;
  color: #FF9800;
}

.action-icon-btn.delete:hover {
  background: #FFEBEE;
  color: #F44336;
}

/* ===================================
   RESPONSIVE - MOBILE
   =================================== */

@media (max-width: 768px) {
  /* Card View - Mobile Optimized */
  .notification-card {
    padding: 16px 14px;
    min-height: 88px;
    gap: 10px;
  }

  .card-icon {
    width: 48px;
    height: 48px;
    font-size: 26px;
  }

  .card-title {
    font-size: 15px;
  }

  .card-message {
    font-size: 14px;
  }

  .card-delete-btn {
    opacity: 1; /* Always visible on mobile */
  }

  /* Table View - Stack Layout */
  .notification-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px;
    position: relative;
  }

  .checkbox-cell {
    position: absolute;
    top: 16px;
    left: 16px;
  }

  .status-cell {
    margin-left: 40px;
  }

  .type-cell,
  .message-cell,
  .time-cell {
    margin-left: 40px;
  }

  .actions-cell {
    margin-left: 40px;
    margin-top: 8px;
  }

  .action-buttons {
    opacity: 1; /* Always visible on mobile */
    justify-content: flex-start;
  }

  .action-icon-btn {
    width: 44px; /* Touch-friendly */
    height: 44px;
  }
}

@media (max-width: 480px) {
  .notification-card {
    padding: 14px 12px;
  }

  .card-icon {
    width: 42px;
    height: 42px;
    font-size: 22px;
  }

  .card-type {
    font-size: 10px;
    padding: 2px 6px;
  }
}

/* ===================================
   DARK MODE
   =================================== */

/* Card View - Dark Mode */
[data-theme="dark"] .notification-card,
.dark-mode .notification-card {
  background: #2A2A2A;
  border-bottom: 1px solid #3D3D3D;
}

[data-theme="dark"] .notification-card:hover,
.dark-mode .notification-card:hover {
  background: #333333;
}

[data-theme="dark"] .notification-card.unread,
.dark-mode .notification-card.unread {
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.12) 0%, rgba(255, 107, 157, 0.06) 100%);
  border-left: 3px solid #FF6B9D;
  box-shadow: inset 0 0 0 1px rgba(255, 107, 157, 0.15);
}

[data-theme="dark"] .notification-card.unread:hover,
.dark-mode .notification-card.unread:hover {
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.18) 0%, rgba(255, 107, 157, 0.1) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 107, 157, 0.25);
}

[data-theme="dark"] .notification-card.unread .card-title,
.dark-mode .notification-card.unread .card-title {
  color: #F0F0F0;
}

[data-theme="dark"] .card-icon,
.dark-mode .card-icon {
  background: #3D3D3D;
}

[data-theme="dark"] .notification-card.unread .card-icon,
.dark-mode .notification-card.unread .card-icon {
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.25) 0%, rgba(255, 107, 157, 0.15) 100%);
  box-shadow: 0 2px 8px rgba(255, 107, 157, 0.3);
}

[data-theme="dark"] .card-title,
.dark-mode .card-title {
  color: #E0E0E0;
}

[data-theme="dark"] .card-message,
.dark-mode .card-message {
  color: #A0A0A0;
}

[data-theme="dark"] .card-time,
.dark-mode .card-time {
  color: #707070;
}

/* Type Colors - Dark Mode */
[data-theme="dark"] .card-type.type-mood,
.dark-mode .card-type.type-mood {
  background: rgba(230, 126, 34, 0.2);
  color: #F39C12;
}

[data-theme="dark"] .card-type.type-study,
.dark-mode .card-type.type-study {
  background: rgba(33, 150, 243, 0.2);
  color: #64B5F6;
}

[data-theme="dark"] .card-type.type-task,
.dark-mode .card-type.type-task {
  background: rgba(76, 175, 80, 0.2);
  color: #81C784;
}

[data-theme="dark"] .card-type.type-achievement,
.dark-mode .card-type.type-achievement {
  background: rgba(255, 193, 7, 0.2);
  color: #FFD54F;
}

[data-theme="dark"] .card-type.type-streak,
.dark-mode .card-type.type-streak {
  background: rgba(255, 87, 34, 0.2);
  color: #FF8A65;
}

[data-theme="dark"] .card-type.type-premium,
.dark-mode .card-type.type-premium {
  background: rgba(156, 39, 176, 0.2);
  color: #BA68C8;
}

[data-theme="dark"] .card-type.type-admin,
.dark-mode .card-type.type-admin {
  background: rgba(233, 30, 99, 0.2);
  color: #F48FB1;
}

[data-theme="dark"] .card-type.type-announcement,
.dark-mode .card-type.type-announcement {
  background: rgba(0, 150, 136, 0.2);
  color: #4DB6AC;
}

[data-theme="dark"] .card-type.type-system,
.dark-mode .card-type.type-system {
  background: rgba(96, 125, 139, 0.2);
  color: #90A4AE;
}

[data-theme="dark"] .card-type.type-default,
.dark-mode .card-type.type-default {
  background: rgba(117, 117, 117, 0.2);
  color: #BDBDBD;
}

[data-theme="dark"] .card-delete-btn,
.dark-mode .card-delete-btn {
  background: #3D3D3D;
  color: #999999;
}

[data-theme="dark"] .card-delete-btn:hover,
.dark-mode .card-delete-btn:hover {
  background: rgba(255, 59, 48, 0.2);
  color: #FF6B6B;
}

/* Table View - Dark Mode */
[data-theme="dark"] .notification-row,
.dark-mode .notification-row {
  background: #2A2A2A;
  border-bottom: 1px solid #3D3D3D;
}

[data-theme="dark"] .notification-row:hover,
.dark-mode .notification-row:hover {
  background: #333333;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .notification-row.unread,
.dark-mode .notification-row.unread {
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.12) 0%, rgba(255, 107, 157, 0.06) 100%);
  border-left: 4px solid #FF6B9D;
  box-shadow: inset 0 0 0 1px rgba(255, 107, 157, 0.15);
}

[data-theme="dark"] .notification-row.unread:hover,
.dark-mode .notification-row.unread:hover {
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.18) 0%, rgba(255, 107, 157, 0.1) 100%);
  box-shadow: 0 2px 8px rgba(255, 107, 157, 0.15), inset 0 0 0 1px rgba(255, 107, 157, 0.25);
}

[data-theme="dark"] .notification-row.selected,
.dark-mode .notification-row.selected {
  background: rgba(33, 150, 243, 0.15);
  border-left: 4px solid #2196F3;
}

[data-theme="dark"] .notification-row.selected:hover,
.dark-mode .notification-row.selected:hover {
  background: rgba(33, 150, 243, 0.25);
}

[data-theme="dark"] .status-badge.unread,
.dark-mode .status-badge.unread {
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.25) 0%, rgba(255, 107, 157, 0.15) 100%);
  color: #FF8AB8;
  border: 1px solid rgba(255, 107, 157, 0.3);
}

[data-theme="dark"] .status-badge.read,
.dark-mode .status-badge.read {
  background: #3D3D3D;
  color: #999999;
  border: 1px solid #4D4D4D;
}

[data-theme="dark"] .message-title,
.dark-mode .message-title {
  color: #E0E0E0;
}

[data-theme="dark"] .notification-row.unread .message-title,
.dark-mode .notification-row.unread .message-title {
  color: #F0F0F0;
}

[data-theme="dark"] .message-text,
.dark-mode .message-text {
  color: #A0A0A0;
}

[data-theme="dark"] .time-text,
.dark-mode .time-text {
  color: #707070;
}

[data-theme="dark"] .action-icon-btn,
.dark-mode .action-icon-btn {
  background: #3D3D3D;
  color: #999999;
}

[data-theme="dark"] .action-icon-btn.mark-read:hover,
.dark-mode .action-icon-btn.mark-read:hover {
  background: rgba(76, 175, 80, 0.2);
  color: #81C784;
}

[data-theme="dark"] .action-icon-btn.mark-unread:hover,
.dark-mode .action-icon-btn.mark-unread:hover {
  background: rgba(255, 152, 0, 0.2);
  color: #FFB74D;
}

[data-theme="dark"] .action-icon-btn.delete:hover,
.dark-mode .action-icon-btn.delete:hover {
  background: rgba(244, 67, 54, 0.2);
  color: #E57373;
}

/* Accessibility - Focus States */
.notification-checkbox:focus,
.action-icon-btn:focus,
.card-delete-btn:focus {
  outline: 2px solid #FF6B9D;
  outline-offset: 2px;
}

[data-theme="dark"] .notification-checkbox:focus,
[data-theme="dark"] .action-icon-btn:focus,
[data-theme="dark"] .card-delete-btn:focus,
.dark-mode .notification-checkbox:focus,
.dark-mode .action-icon-btn:focus,
.dark-mode .card-delete-btn:focus {
  outline-color: #FF8AB8;
}

/* Notification Detail Modal Styles */

.notification-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.notification-modal-content {
  background: linear-gradient(135deg, #FEFEFE 0%, #F8F9FA 100%);
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease-out;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Custom Scrollbar */
.notification-modal-content::-webkit-scrollbar {
  width: 8px;
}

.notification-modal-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 0 16px 16px 0;
}

.notification-modal-content::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #a78bfa 0%, #60a5fa 100%);
  border-radius: 10px;
}

.notification-modal-content::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #9370f5 0%, #4c92f0 100%);
}

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

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  background: linear-gradient(135deg, #FEFEFE 0%, #F8F9FA 100%);
  z-index: 1;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.modal-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1;
  min-width: 0;
}

.modal-icon {
  font-size: 32px;
  flex-shrink: 0;
  animation: iconBounce 0.5s ease-out;
}

@keyframes iconBounce {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.modal-close-btn {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: #6b7280;
  border-radius: 8px;
  transition: all 0.2s;
  flex-shrink: 0;
}

.modal-close-btn:hover {
  background-color: #f3f4f6;
  color: #111827;
}

.modal-body {
  padding: 24px;
}

.modal-info {
  background: linear-gradient(135deg, #F8F9FA 0%, #F0F1F3 100%);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.info-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.info-row:last-child {
  margin-bottom: 0;
}

.priority-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.priority-badge.priority-low {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.priority-badge.priority-normal {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #1e40af;
  border: 1px solid #93c5fd;
}

.priority-badge.priority-high {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.unread-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  border: 1px solid #fcd34d;
}

.info-label {
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
}

.info-value {
  font-size: 14px;
  color: #111827;
}

.modal-message {
  margin-bottom: 20px;
}

.modal-message h3 {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 12px 0;
}

.modal-message p {
  font-size: 15px;
  line-height: 1.6;
  color: #374151;
  margin: 0;
  white-space: pre-wrap;
}

.modal-metadata {
  background: linear-gradient(135deg, #F8F9FA 0%, #F0F1F3 100%);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.modal-metadata h3 {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 12px 0;
}

.metadata-grid {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.metadata-item {
  display: flex;
  gap: 8px;
  font-size: 14px;
}

.metadata-key {
  font-weight: 500;
  color: #6b7280;
  min-width: 120px;
}

.metadata-value {
  color: #111827;
  word-break: break-word;
}

.modal-footer {
  display: flex;
  gap: 12px;
  padding: 16px 24px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  position: -webkit-sticky;
  position: sticky;
  bottom: 0;
  background: linear-gradient(135deg, #FEFEFE 0%, #F8F9FA 100%);
  flex-wrap: wrap;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.modal-action-btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  flex: 1 1;
  min-width: 100px;
  font-family: inherit;
}

.modal-action-btn.primary {
  background: linear-gradient(135deg, #a78bfa 0%, #60a5fa 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(167, 139, 250, 0.3);
}

.modal-action-btn.primary:hover {
  background: linear-gradient(135deg, #9370f5 0%, #4c92f0 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(167, 139, 250, 0.4);
}

.modal-action-btn.secondary {
  background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
  color: #374151;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.modal-action-btn.secondary:hover {
  background: linear-gradient(135deg, #E5E7EB 0%, #D1D5DB 100%);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .notification-modal-overlay {
    background-color: rgba(0, 0, 0, 0.75);
  }

  .notification-modal-content {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .modal-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  }

  .modal-title {
    color: #f9fafb;
  }

  .modal-close-btn {
    color: #9ca3af;
  }

  .modal-close-btn:hover {
    background-color: #374151;
    color: #f9fafb;
  }

  .modal-info,
  .modal-metadata {
    background: linear-gradient(135deg, #111827 0%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
  }

  .info-label {
    color: #9ca3af;
  }

  .info-value {
    color: #f9fafb;
  }

  .modal-message p {
    color: #d1d5db;
  }

  .modal-message h3,
  .modal-metadata h3 {
    color: #f9fafb;
  }

  .metadata-key {
    color: #9ca3af;
  }

  .metadata-value {
    color: #f9fafb;
  }

  .modal-footer {
    border-top-color: rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  }

  .modal-action-btn.primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
  }

  .modal-action-btn.primary:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.5);
  }

  .modal-action-btn.secondary {
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    color: #f9fafb;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .modal-action-btn.secondary:hover {
    background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
  }
}

/* Responsive design */
@media (max-width: 640px) {
  .notification-modal-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .notification-modal-content {
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    max-height: 95vh;
  }

  .modal-header {
    padding: 20px 16px 12px;
  }

  .modal-title {
    font-size: 18px;
  }

  .modal-icon {
    font-size: 28px;
  }

  .modal-body {
    padding: 16px;
  }

  .modal-footer {
    padding: 12px 16px 20px;
    flex-direction: column;
  }

  .modal-action-btn {
    width: 100%;
    min-width: 0;
    min-width: initial;
  }

  .info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .priority-badge,
  .unread-badge {
    font-size: 12px;
    padding: 5px 12px;
  }
}

/* Notification Bell Component */
.notification-bell {
  position: relative;
}

.bell-button {
  position: relative;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  transition: color 0.2s ease;
}

.bell-button:hover {
  color: #FF6B9D;
}

.bell-button .badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: #FF3B30;
  color: white;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
}

/* Connection Indicator */
.bell-button .connection-indicator {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  background: #34C759;
  border-radius: 50%;
  border: 2px solid white;
  animation: pulse 2s ease-in-out infinite;
}

.bell-button.disconnected .connection-indicator {
  background: #FF9500;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

/* Dropdown */
.notification-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 400px;
  max-height: 600px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 
              0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  animation: fadeIn 0.2s ease-out;
  overflow: hidden;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #F0F0F0;
  background: linear-gradient(to bottom, #FAFAFA, white);
}

.dropdown-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1F1F1F;
  margin: 0;
}

.mark-all-btn {
  background: transparent;
  border: none;
  color: #FF6B9D;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.mark-all-btn:hover {
  background: #FFF0F5;
}

.mark-all-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Tabs */
.notification-tabs {
  display: flex;
  gap: 6px;
  padding: 12px 24px;
  border-bottom: 1px solid #F0F0F0;
  background: #FAFAFA;
}

.notification-tabs .tab {
  flex: 1 1;
  padding: 10px 12px;
  background: transparent;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.notification-tabs .tab:hover {
  background: #F0F0F0;
  color: #333;
}

.notification-tabs .tab.active {
  background: white;
  color: #FF6B9D;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(255, 107, 157, 0.15);
}

/* Notification List */
.notification-list {
  overflow-y: auto;
  max-height: 440px;
  scrollbar-width: thin;
  scrollbar-color: #E0E0E0 transparent;
}

.notification-list::-webkit-scrollbar {
  width: 6px;
}

.notification-list::-webkit-scrollbar-track {
  background: transparent;
}

.notification-list::-webkit-scrollbar-thumb {
  background: #E0E0E0;
  border-radius: 3px;
}

.notification-list::-webkit-scrollbar-thumb:hover {
  background: #BDBDBD;
}

/* Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  text-align: center;
}

.empty-icon {
  font-size: 56px;
  margin-bottom: 16px;
  opacity: 0.4;
  animation: float 3s ease-in-out infinite;
}

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

.empty-state p {
  font-size: 15px;
  color: #999;
  margin: 0;
  font-weight: 500;
}

/* Footer */
.dropdown-footer {
  padding: 12px 24px;
  border-top: 1px solid #F0F0F0;
  background: #FAFAFA;
}

.view-all-btn {
  width: 100%;
  padding: 12px;
  background: white;
  border: 1px solid #E5E5E5;
  border-radius: 10px;
  color: #FF6B9D;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.view-all-btn:hover {
  background: #FF6B9D;
  color: white;
  border-color: #FF6B9D;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.25);
}

.view-all-btn::after {
  content: '→';
  transition: transform 0.2s ease;
}

.view-all-btn:hover::after {
  transform: translateX(4px);
}

/* Responsive */
@media (max-width: 480px) {
  .notification-dropdown {
    width: calc(100vw - 32px);
    right: -16px;
    left: auto;
    max-height: 80vh;
    border-radius: 12px;
    position: absolute;
    animation: fadeIn 0.2s ease-out;
  }

  .dropdown-header {
    padding: 16px 20px;
  }

  .dropdown-header h3 {
    font-size: 16px;
  }

  .notification-tabs {
    padding: 8px 16px;
  }

  .notification-item {
    padding: 14px 20px;
  }

  .notif-icon {
    width: 36px;
    height: 36px;
    font-size: 24px;
  }

  .notif-content h4 {
    font-size: 13px;
  }

  .notif-content p {
    font-size: 12px;
  }
}

@media (max-width: 768px) and (min-width: 481px) {
  .notification-dropdown {
    width: calc(100vw - 64px);
    right: 8px;
    max-height: 70vh;
  }
}

/* ===================================
   DARK MODE STYLES
   =================================== */

/* Dark mode variables */
:root[data-theme="dark"] .notification-bell,
.dark-mode .notification-bell {
  /* Bell button */
}

:root[data-theme="dark"] .bell-button,
.dark-mode .bell-button {
  color: #B0B0B0;
}

:root[data-theme="dark"] .bell-button:hover,
.dark-mode .bell-button:hover {
  color: #FF6B9D;
}

:root[data-theme="dark"] .bell-button .connection-indicator,
.dark-mode .bell-button .connection-indicator {
  border-color: #1E1E1E;
}

/* Dropdown */
:root[data-theme="dark"] .notification-dropdown,
.dark-mode .notification-dropdown {
  background: #1E1E1E;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 
              0 4px 12px rgba(0, 0, 0, 0.4);
  border: 1px solid #2D2D2D;
}

/* Header */
:root[data-theme="dark"] .dropdown-header,
.dark-mode .dropdown-header {
  border-bottom: 1px solid #2D2D2D;
  background: linear-gradient(to bottom, #252525, #1E1E1E);
}

:root[data-theme="dark"] .dropdown-header h3,
.dark-mode .dropdown-header h3 {
  color: #E0E0E0;
}

:root[data-theme="dark"] .mark-all-btn,
.dark-mode .mark-all-btn {
  color: #FF6B9D;
}

:root[data-theme="dark"] .mark-all-btn:hover,
.dark-mode .mark-all-btn:hover {
  background: rgba(255, 107, 157, 0.15);
}

/* Tabs */
:root[data-theme="dark"] .notification-tabs,
.dark-mode .notification-tabs {
  border-bottom: 1px solid #2D2D2D;
  background: #252525;
}

:root[data-theme="dark"] .notification-tabs .tab,
.dark-mode .notification-tabs .tab {
  color: #888;
}

:root[data-theme="dark"] .notification-tabs .tab:hover,
.dark-mode .notification-tabs .tab:hover {
  background: #2D2D2D;
  color: #B0B0B0;
}

:root[data-theme="dark"] .notification-tabs .tab.active,
.dark-mode .notification-tabs .tab.active {
  background: #2D2D2D;
  color: #FF6B9D;
  box-shadow: 0 2px 8px rgba(255, 107, 157, 0.25);
}

/* Notification List */
:root[data-theme="dark"] .notification-list::-webkit-scrollbar-thumb,
.dark-mode .notification-list::-webkit-scrollbar-thumb {
  background: #3D3D3D;
}

:root[data-theme="dark"] .notification-list::-webkit-scrollbar-thumb:hover,
.dark-mode .notification-list::-webkit-scrollbar-thumb:hover {
  background: #4D4D4D;
}

/* Empty State */
:root[data-theme="dark"] .empty-state p,
.dark-mode .empty-state p {
  color: #707070;
}

/* Footer */
:root[data-theme="dark"] .dropdown-footer,
.dark-mode .dropdown-footer {
  border-top: 1px solid #2D2D2D;
  background: #252525;
}

:root[data-theme="dark"] .view-all-btn,
.dark-mode .view-all-btn {
  background: #2A2A2A;
  border: 1px solid #3D3D3D;
  color: #FF6B9D;
}

:root[data-theme="dark"] .view-all-btn:hover,
.dark-mode .view-all-btn:hover {
  background: #FF6B9D;
  color: #1E1E1E;
  border-color: #FF6B9D;
}

.premium-banner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 20px;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.premium-banner {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 24px;
  max-width: 450px;
  width: 100%;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 215, 0, 0.3);
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(30px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.premium-banner-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s;
}

.premium-banner-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  transform: scale(1.1);
}

.premium-banner-icon {
  font-size: 64px;
  margin-bottom: 16px;
  animation: bounce 1s ease infinite;
}

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

.premium-banner-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffd700;
  margin: 0 0 12px 0;
  text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.premium-banner-message {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 20px 0;
  line-height: 1.6;
}

.premium-banner-expiry {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 165, 0, 0.15) 100%);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.expiry-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.expiry-date {
  color: #ffd700;
  font-size: 18px;
  font-weight: 700;
}

.premium-features {
  text-align: left;
  margin-bottom: 24px;
}

.premium-features h4 {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  margin: 0 0 12px 0;
  font-weight: 600;
}

.premium-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.premium-features li {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.premium-banner-btn {
  width: 100%;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  color: #1a1a2e;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
  transition: all 0.3s ease;
}

.premium-banner-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 215, 0, 0.5);
}

@media (max-width: 480px) {
  .premium-banner {
    padding: 30px 20px;
    margin: 0 10px;
  }
  
  .premium-banner-icon {
    font-size: 48px;
  }
  
  .premium-banner-title {
    font-size: 20px;
  }
}

/* Quote Card Styles */
.quote-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-md) var(--spacing-lg);
  color: var(--text-inverse);
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1);
}

.quote-card:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.95) 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.8);
}

.quote-card:active {
  transform: translateY(0);
}

.quote-icon {
  font-size: 28px;
  flex-shrink: 0;
  line-height: 1;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.2));
  transform: scale(1);
  transition: transform 0.2s ease;
}

.quote-card:hover .quote-icon {
  transform: scale(1.1);
}

.quote-content {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.quote-text {
  font-size: var(--font-size-sm);
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
  color: #1a1a2e;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-style: italic;
  font-family: var(--font-family);
}

.quote-author {
  font-size: var(--font-size-xs);
  font-weight: 700;
  margin: 0;
  color: #2d3561;
  text-align: right;
  font-family: var(--font-family);
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .quote-card {
    padding: 14px var(--spacing-md);
  }

  .quote-icon {
    font-size: 24px;
  }

  .quote-text {
    font-size: 13px;
  }

  .quote-author {
    font-size: 11px;
  }
}

/* Dark Theme Support */
[data-theme="dark"] .quote-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.12) 100%);
  border: 2px solid rgba(255, 255, 255, 0.25);
}

[data-theme="dark"] .quote-card:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.18) 100%);
  border-color: rgba(255, 255, 255, 0.35);
}

[data-theme="dark"] .quote-text {
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .quote-author {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Quote Modal Overlay */
.quote-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-overlay);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: var(--spacing-lg);
  animation: fadeIn var(--transition-slow) ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Modal Content */
.quote-modal-content {
  background: var(--bg-card);
  border-radius: var(--border-radius-2xl);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: slideUp var(--transition-slow) ease;
  position: relative;
}

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

/* Header */
.quote-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-md);
  border-bottom: 1px solid var(--border-secondary);
}

.quote-modal-title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-family: var(--font-family);
}

.quote-modal-icon {
  font-size: 28px;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.quote-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-secondary);
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  line-height: 1;
  padding: 0;
  font-weight: 300;
}

.quote-modal-close:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
  transform: rotate(90deg);
}

/* Body */
.quote-modal-body {
  padding: 40px var(--spacing-xl);
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(240, 197, 213, 0.08) 0%,
    rgba(138, 192, 213, 0.08) 100%
  );
  transition: opacity var(--transition-slow);
}

.quote-modal-body.refreshing {
  opacity: 0.5;
}

/* Quote Decorations */
.quote-decoration {
  position: absolute;
  font-size: 120px;
  font-weight: bold;
  color: rgba(240, 197, 213, 0.15);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
  -webkit-user-select: none;
          user-select: none;
}

.quote-decoration-left {
  top: 20px;
  left: 20px;
}

.quote-decoration-right {
  bottom: 20px;
  right: 20px;
  transform: rotate(180deg);
}

/* Quote Content */
.quote-main-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.quote-modal-text {
  font-size: var(--font-size-lg);
  font-weight: 500;
  line-height: 1.7;
  color: var(--text-primary);
  text-align: center;
  margin: 0 0 var(--spacing-lg) 0;
  font-style: italic;
  font-family: var(--font-family);
}

.quote-modal-author-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
}

.quote-author-divider {
  width: 60px;
  height: 2px;
  background: var(--primary-gradient);
  border-radius: 2px;
}

.quote-modal-author {
  font-size: var(--font-size-md);
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  margin: 0;
  font-family: var(--font-family);
}

/* Category Tag */
.quote-category {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-lg);
}

.quote-category-tag {
  display: inline-block;
  padding: 6px var(--spacing-md);
  background: rgba(240, 197, 213, 0.15);
  color: var(--primary-pink);
  border-radius: var(--border-radius-2xl);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: lowercase;
  font-family: var(--font-family);
}

/* Actions */
.quote-modal-actions {
  display: flex;
  gap: var(--spacing-sm);
  padding: var(--spacing-lg) var(--spacing-lg);
  border-top: 1px solid var(--border-secondary);
}

.quote-action-btn {
  flex: 1 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: 14px var(--spacing-lg);
  border: none;
  border-radius: var(--border-radius-lg);
  font-size: var(--font-size-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-family);
}

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

.quote-refresh-btn {
  background: var(--primary-gradient);
  color: var(--text-inverse);
}

.quote-refresh-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gradient);
}

.quote-share-btn {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-primary);
}

.quote-share-btn:hover {
  background: var(--bg-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.refresh-icon {
  display: inline-block;
  transition: transform 0.5s ease;
}

.refresh-icon.spinning {
  animation: spin 0.5s ease;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Footer */
.quote-modal-footer {
  padding: var(--spacing-md) var(--spacing-lg);
  background: var(--bg-secondary);
  border-radius: 0 0 var(--border-radius-2xl) var(--border-radius-2xl);
  text-align: center;
}

.quote-footer-text {
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
  font-family: var(--font-family);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .quote-modal-overlay {
    padding: var(--spacing-md);
  }

  .quote-modal-content {
    max-width: 100%;
    border-radius: var(--border-radius-xl);
  }

  .quote-modal-header {
    padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-sm);
  }

  .quote-modal-title {
    font-size: var(--font-size-lg);
  }

  .quote-modal-icon {
    font-size: 24px;
  }

  .quote-modal-body {
    padding: var(--spacing-xl) var(--spacing-lg);
    min-height: 240px;
  }

  .quote-decoration {
    font-size: 80px;
  }

  .quote-decoration-left {
    top: 10px;
    left: 10px;
  }

  .quote-decoration-right {
    bottom: 10px;
    right: 10px;
  }

  .quote-modal-text {
    font-size: var(--font-size-md);
    margin-bottom: var(--spacing-lg);
  }

  .quote-modal-author {
    font-size: var(--font-size-sm);
  }

  .quote-modal-actions {
    flex-direction: column;
    padding: var(--spacing-md) var(--spacing-lg);
    gap: var(--spacing-sm);
  }

  .quote-action-btn {
    width: 100%;
  }

  .quote-modal-footer {
    padding: var(--spacing-sm) var(--spacing-lg);
  }
}

/* Dark Theme */
[data-theme="dark"] .quote-modal-content {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

[data-theme="dark"] .quote-modal-body {
  background: linear-gradient(
    135deg,
    rgba(240, 197, 213, 0.05) 0%,
    rgba(138, 192, 213, 0.05) 100%
  );
}

[data-theme="dark"] .quote-decoration {
  color: rgba(240, 197, 213, 0.08);
}

[data-theme="dark"] .quote-category-tag {
  background: rgba(240, 197, 213, 0.15);
  color: #f0c5d5;
}

[data-theme="dark"] .quote-share-btn {
  background: var(--bg-input);
  color: var(--text-primary);
  border-color: var(--border-primary);
}

[data-theme="dark"] .quote-share-btn:hover {
  background: var(--bg-hover);
}

/* Dashboard Container */
.dashboard-container {
  min-height: 100vh;
  background: linear-gradient(
    180deg,
    #e8d5f0 0%,
    #f5e6f0 15%,
    #f8f0f5 30%,
    #f5f0f8 50%,
    #f0e8f5 70%,
    #f5e0f0 85%,
    #f8d8e8 100%
  );
  padding-bottom: 80px;
  font-family: var(--font-family);
  transition: background-color var(--transition-normal);
  display: flex;
}

[data-theme="dark"] .dashboard-container {
  background: linear-gradient(
    180deg,
    #1a1625 0%,
    #1e1a2e 15%,
    #221e35 30%,
    #1e1a2e 50%,
    #1a1625 70%,
    #1e1a2e 85%,
    #221e35 100%
  );
}

/* Dashboard Wrapper */
.dashboard-wrapper {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
}

/* Loading State */
.dashboard-loading {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--border-primary);
  border-top-color: var(--primary-pink);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Header */
.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-secondary);
  transition: background-color var(--transition-normal),
    border-color var(--transition-normal);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-pink);
}

.header-text {
  display: flex;
  flex-direction: column;
}

.greeting {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.2;
}

.username {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 4px 0 0 0;
}

.notification-btn {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: none;
  background: var(--bg-input);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.notification-btn svg {
  color: var(--text-secondary);
}

.notification-btn:active {
  transform: scale(0.95);
  background: var(--bg-hover);
}

.notification-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 10px;
  height: 10px;
  background: var(--primary-gradient);
  border-radius: 50%;
  border: 2px solid var(--bg-card);
}

/* Main Content */
.dashboard-main {
  padding: 20px;
}

/* Gradient Card Base */
.gradient-card {
  background: var(--primary-gradient);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow-gradient);
}

/* Streak Card */
.streak-card {
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.streak-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.streak-info {
  color: white;
}

.streak-label {
  font-size: 14px;
  margin: 0;
  opacity: 0.95;
  font-weight: 500;
}

.streak-days {
  font-size: 48px;
  font-weight: 600;
  margin: 4px 0;
  letter-spacing: -1px;
}

.streak-icon {
  font-size: 48px;
  line-height: 1;
  filter: drop-shadow(0 2px 8px rgba(255, 100, 0, 0.3));
}

.quotes-btn {
  background: rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: none;
  border-radius: 12px;
  padding: 12px 24px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.quotes-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

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

/* Section Titles */
.section-title {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0 0 16px 0;
}

/* Progress Section */
.progress-section {
  margin-bottom: 32px;
}

.progress-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-card);
  transition: background-color var(--transition-normal);
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.progress-label {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
}

.progress-time {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.progress-bar {
  height: 8px;
  background: var(--bg-secondary);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: var(--primary-gradient);
  border-radius: 10px;
  transition: width 0.5s ease;
  position: relative;
}

/* Upcoming Sessions */
.dashboard-sessions {
  margin-bottom: 32px;
}

.dashboard-sessions-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dashboard-session-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: all var(--transition-normal);
  margin-bottom: 10px;
}

.dashboard-session-card:active {
  transform: scale(0.98);
  box-shadow: var(--shadow-sm);
}

.dashboard-session-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dashboard-session-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dashboard-session-info {
  display: flex;
  flex-direction: column;
}

.dashboard-session-subject {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0 0 4px 0;
}

.dashboard-session-time {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

/* AI Section */
.ai-section {
  margin-bottom: 24px;
}

.ai-section-full {
  grid-column: 1 / -1;
  margin-top: 8px;
}

.ai-section-full .ai-card {
  max-width: 100%;
}

/* Missed Sessions Alert */
.missed-section {
  margin-bottom: 24px;
}

.missed-alert {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-left: 4px solid #f59e0b;
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
  animation: slideIn 0.4s ease;
}

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

.missed-icon {
  font-size: 28px;
  flex-shrink: 0;
  line-height: 1;
}

.missed-content {
  flex: 1 1;
}

.missed-title {
  font-size: 16px;
  font-weight: 600;
  color: #92400e;
  margin: 0 0 6px 0;
}

.missed-text {
  font-size: 14px;
  color: #78350f;
  margin: 0;
  line-height: 1.5;
}

.missed-text strong {
  font-weight: 600;
  color: #b45309;
}

.missed-count {
  font-size: 13px;
  color: #92400e;
  margin: 6px 0 0 0;
  font-weight: 500;
}

/* Mobile-first: Single column layout */
.dashboard-grid {
  display: flex;
  flex-direction: column;
}

.dashboard-left-col,
.dashboard-right-col {
  display: flex;
  flex-direction: column;
}

.ai-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
}

.ai-icon {
  font-size: 32px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.3);
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-text {
  color: white;
  font-size: 15px;
  font-weight: 500;
  margin: 0;
  line-height: 1.5;
}


.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--text-tertiary);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 12px;
  transition: all var(--transition-normal);
  min-width: 64px;
}

.nav-item:active {
  transform: scale(0.95);
}

.nav-item.active {
  color: var(--primary-blue);
}

.nav-item.active svg {
  color: var(--primary-blue);
}

.nav-item svg {
  color: var(--text-tertiary);
  transition: color var(--transition-normal);
}

.nav-item-ai {
  position: relative;
  margin-top: -24px;
}

.ai-fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(138, 192, 213, 0.4);
  transition: all var(--transition-normal);
}

.nav-item-ai:active .ai-fab {
  transform: scale(0.95);
}

.nav-item-ai span {
  color: var(--primary-blue);
}

/* Responsive Design */
@media (min-width: 768px) {
  .dashboard-container {
    padding-bottom: 0;
  }

  .dashboard-wrapper {
    flex: 1 1;
  }

  .dashboard-header {
    padding: 24px 40px;
  }

  /* Grid Layout for Desktop */
  .dashboard-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    grid-gap: 28px;
    gap: 28px;
    align-items: start;
    margin-bottom: 24px;
  }

  .dashboard-left-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .dashboard-right-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .streak-card {
    padding: 28px;
  }

  .progress-card {
    padding: 24px;
  }

  .dashboard-session-card {
    padding: 20px;
    margin-bottom: 15px;
  }

  .dashboard-session-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  }

  .ai-card {
    padding: 24px;
  }

  .nav-item:hover {
    background: var(--bg-hover);
    color: var(--primary-blue);
  }

  .nav-item:hover svg {
    color: var(--primary-blue);
  }

  .quotes-btn:hover {
    background: rgba(255, 255, 255, 0.4);
  }
}

@media (min-width: 1024px) {
  .dashboard-container {
    padding-bottom: 0;
  }

  /* Sidebar navigation is now handled by SidebarNav.css */

  /* Hide bottom nav on desktop */
  .bottom-nav {
    display: none;
  }
}

@media (min-width: 1200px) {
  .dashboard-main {
    max-width: 1300px;
    margin-left: 220px;
  }

  .dashboard-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
  }

  .greeting {
    font-size: 24px;
  }

  .username {
    font-size: 18px;
  }

  .profile-avatar {
    width: 64px;
    height: 64px;
  }
}

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

.dashboard-main > * {
  animation: fadeIn 0.4s ease-out backwards;
}

.dashboard-main > *:nth-child(1) {
  animation-delay: 0.05s;
}
.dashboard-main > *:nth-child(2) {
  animation-delay: 0.1s;
}
.dashboard-main > *:nth-child(3) {
  animation-delay: 0.15s;
}
.dashboard-main > *:nth-child(4) {
  animation-delay: 0.2s;
}

/* Calendar Page Container */
.calendar-page-container {
  display: flex;
  min-height: 100vh;
  background: linear-gradient(
    180deg,
    #e8d5f0 0%,
    #f5e6f0 15%,
    #f8f0f5 30%,
    #f5f0f8 50%,
    #f0e8f5 70%,
    #f5e0f0 85%,
    #f8d8e8 100%
  );
}

[data-theme="dark"] .calendar-page-container {
  background: linear-gradient(
    180deg,
    #1a1625 0%,
    #1e1a2e 15%,
    #221e35 30%,
    #1e1a2e 50%,
    #1a1625 70%,
    #1e1a2e 85%,
    #221e35 100%
  );
}

/* Calendar Page */
.calendar-page {
  flex: 1 1;
  min-height: 100vh;
  background: transparent;
  padding-bottom: 80px;
  transition: background-color var(--transition-normal);
}

/* Header */
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: transparent;
  position: relative;
}

.calendar-header .header-spacer {
  width: 40px;
  height: 40px;
}

.calendar-page-title {
  font-size: 30px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

[data-theme="dark"] .calendar-page-title {
  background: linear-gradient(135deg, #F0C5D5 0%, #D4B5D8 50%, #8AC0D5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.calendar-header .notification-btn {
  position: absolute;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  background: var(--bg-card);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.calendar-header .notification-btn:hover {
  background: var(--bg-hover);
}

.calendar-header .notification-btn:active {
  transform: scale(0.95);
}

.back-btn svg,
.header-action-btn svg {
  color: var(--text-secondary);
}

.back-btn:active,
.header-action-btn:active {
  transform: scale(0.95);
  background: var(--bg-hover);
}

.page-title {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}

[data-theme="dark"] .page-title {
  background: linear-gradient(135deg, #F0C5D5 0%, #D4B5D8 50%, #8AC0D5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.calendar-content {
  padding: 20px;
}

.calendar-header button:not(.mark-all-btn):not(.view-all-btn):not(.tab) {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  background: var(--bg-card);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.calendar-header button:not(.mark-all-btn):not(.view-all-btn):not(.tab) svg h1 {
  color: var(--text-secondary);
}

.calendar-header button:not(.mark-all-btn):not(.view-all-btn):not(.tab):active {
  transform: scale(0.95);
  background: var(--bg-hover);
}

/* Main Content */
.calendar-main {
  padding: 20px;
}

/* Animations */
@keyframes calendarFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.calendar-main > * {
  animation: calendarFadeIn 0.4s ease-out backwards;
}

.calendar-main > *:nth-child(1) {
  animation-delay: 0.05s;
}
.calendar-main > *:nth-child(2) {
  animation-delay: 0.1s;
}
.calendar-main > *:nth-child(3) {
  animation-delay: 0.15s;
}
.calendar-main > *:nth-child(4) {
  animation-delay: 0.2s;
}

/* Week Calendar Container */
.week-calendar-container {
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

.week-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.month-year {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.calendar-day-name {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 0;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.calendar-day:not(.empty):hover {
  background: var(--bg-hover);
}

.calendar-day:not(.empty):active {
  transform: scale(0.95);
}

.calendar-day.today {
  background: var(--primary-gradient);
  color: white;
  border-color: #8AC0D5;
}

.week-navigation span {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  min-width: 70px;
  text-align: center;
  transition: color var(--transition-normal);
}

/* Week Calendar */
.week-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-gap: 10px;
  gap: 10px;
}

.week-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 6px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  background: var(--bg-secondary);
}

.week-day:hover {
  background: var(--bg-hover);
  transform: translateY(-2px);
}

.week-day.selected {
  background: #8AC0D5;
  box-shadow: 0 8px 20px rgba(138, 192, 213, 0.4);
  transform: scale(1.05);
}

.week-day.selected .day-name,
.week-day.selected .day-number {
  color: white !important;
  font-weight: 700;
}

.day-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary) !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color var(--transition-normal);
}

.day-number {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  transition: color var(--transition-normal);
}

/* Sessions Section */
.sessions-section {
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 4px 0;
  transition: color var(--transition-normal);
}

.sessions-count {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 20px 0;
  transition: color var(--transition-normal);
}

/* Sessions List */
.sessions-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.no-sessions {
  text-align: center;
  padding: 40px 20px;
  background: var(--bg-secondary);
  border-radius: 16px;
  color: var(--text-tertiary);
  transition: all var(--transition-normal);
}

/* Calendar Session Item */
.calendar-session-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg-secondary);
  border-radius: 16px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  cursor: pointer;
}

.calendar-session-item:hover {
  background: var(--bg-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(138, 192, 213, 0.15);
  border: 1px solid rgba(138, 192, 213, 0.3);
}

.calendar-session-item:active {
  transform: translateY(0);
}

.calendar-session-icon {
  width: 48px;
  height: 48px;
  background: #8AC0D5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(138, 192, 213, 0.2);
}

.calendar-session-details {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.calendar-session-time {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0;
  transition: color var(--transition-normal);
}

.calendar-session-subject {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  margin: 0;
  transition: color var(--transition-normal);
}

.calendar-status-badge {
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

/* Responsive */
@media (min-width: 768px) {
  .calendar-main {
    padding: 32px 40px;
    max-width: 1000px;
    margin: 0 auto;
  }

  .calendar-session-item:hover {
    transform: translateY(-2px);
  }
}

@media (min-width: 1024px) {
  .calendar-page {
    padding-bottom: 0;
  }

  /* Hide bottom nav on desktop */
  .bottom-nav {
    display: none;
  }
}

@media (max-width: 480px) {
  .calendar-main {
    padding: 16px;
  }

  .week-calendar {
    gap: 6px;
    padding: 12px;
  }

  .week-day {
    padding: 8px 2px;
  }

  .day-name {
    font-size: 10px;
  }

  .day-number {
    font-size: 14px;
  }

  .calendar-session-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .calendar-session-time {
    font-size: 14px;
  }

  .calendar-session-subject {
    font-size: 13px;
  }

  .calendar-status-badge {
    font-size: 13px;
  }

  .center-content {
    margin: 0 10px;
  }

  .calendar-title {
    font-size: 24px;
  }
}
/* Mood Tracking Page - Based on Figma Mockup */
.mood-page-container {
  display: flex;
  min-height: 100vh;
  background: linear-gradient(
    180deg,
    #e8d5f0 0%,
    #f5e6f0 15%,
    #f8f0f5 30%,
    #f5f0f8 50%,
    #f0e8f5 70%,
    #f5e0f0 85%,
    #f8d8e8 100%
  );
}

[data-theme="dark"] .mood-page-container {
  background: linear-gradient(
    180deg,
    #1a1625 0%,
    #1e1a2e 15%,
    #221e35 30%,
    #1e1a2e 50%,
    #1a1625 70%,
    #1e1a2e 85%,
    #221e35 100%
  );
}

.mood-page {
  flex: 1 1;
  min-height: 100vh;
  background: transparent;
  padding-bottom: 80px;
  position: relative;
}

/* Animations */
@keyframes moodFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mood-content > * {
  animation: moodFadeIn 0.4s ease-out backwards;
}

.mood-content > *:nth-child(1) {
  animation-delay: 0.05s;
}
.mood-content > *:nth-child(2) {
  animation-delay: 0.1s;
}
.mood-content > *:nth-child(3) {
  animation-delay: 0.15s;
}
.mood-content > *:nth-child(4) {
  animation-delay: 0.2s;
}

/* Success Toast */
.success-toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #4CAF50;
  color: white;
  padding: 12px 24px;
  border-radius: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  animation: slideDown 0.3s ease-out;
  font-size: 14px;
  font-weight: 500;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Header */
.mood-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  background: transparent;
  position: relative;
}

.mood-header .history-btn {
  position: absolute;
  right: 20px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-normal);
}

.mood-header .history-btn:hover {
  transform: scale(1.05);
}

.mood-title {
  font-size: 30px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

[data-theme="dark"] .mood-title {
  background: linear-gradient(135deg, #F0C5D5 0%, #D4B5D8 50%, #8AC0D5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.history-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.history-btn:hover {
  transform: scale(1.1);
}

.history-btn:active {
  transform: scale(0.95);
}

/* Content */
.mood-content {
  padding: 16px;
}

.mood-question {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 20px 0;
}

/* Mood Selector */
.mood-selector {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 20px;
  padding: 0;
}

.mood-option {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 6px;
  background: var(--bg-card);
  border: 2px solid transparent;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-card);
}

.mood-option:hover {
  transform: scale(0.98);
  box-shadow: var(--shadow-sm);
}

.mood-option.selected {
  border-color: #FF6B9D;
  background: var(--bg-card);
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
}

.mood-emoji {
  font-size: 36px;
  line-height: 1;
}

.mood-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-tertiary);
  transition: color var(--transition-normal);
}

.mood-option.selected .mood-label {
  color: #FF6B9D;
  font-weight: 700;
}

/* Note Section */
.note-section {
  margin-bottom: 20px;
}

.section-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.note-input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-primary);
  border-radius: 16px;
  font-size: 14px;
  font-family: inherit;
  resize: none;
  background: var(--bg-card);
  color: var(--text-primary);
  transition: all 0.2s ease;
  min-height: 80px;
  box-shadow: var(--shadow-card);
}

.note-input:focus {
  outline: none;
  border-color: #FF6B9D;
}

.note-input::placeholder {
  color: var(--text-tertiary);
}

.char-count {
  text-align: right;
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 8px;
  transition: color var(--transition-normal);
}

/* Energy Level Slider */
.energy-section {
  margin-bottom: 20px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.energy-value {
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(135deg, #FF6B9D 0%, #FFA8C5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 4px 12px;
  border-radius: 12px;
  background-color: rgba(255, 107, 157, 0.1);
  transition: all 0.3s ease;
}

.energy-slider-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.energy-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

[data-theme="dark"] .energy-display {
  background: rgba(255, 255, 255, 0.05);
}

.energy-description {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0;
  text-align: center;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.slider-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.energy-icon {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.energy-icon .energy-svg {
  transition: all 0.3s ease;
}

.energy-icon.animate {
  animation: energyPulse 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes energyPulse {
  0% { 
    transform: scale(1) rotate(0deg); 
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
  }
  25% { 
    transform: scale(0.85) rotate(-5deg); 
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
  }
  50% { 
    transform: scale(1.25) rotate(5deg); 
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.2));
  }
  75% { 
    transform: scale(0.95) rotate(-2deg); 
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.15));
  }
  100% { 
    transform: scale(1) rotate(0deg); 
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
  }
}

.slider-label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
  min-width: 40px;
}

.energy-slider {
  flex: 1 1;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(
    to right,
    #DC2626 0%,
    #F59E0B 25%,
    #FBBF24 50%,
    #10B981 75%,
    #FBBF24 100%
  );
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.energy-slider:hover {
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
  transform: scaleY(1.1);
}

.energy-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6B9D 0%, #FFA8C5 100%);
  cursor: pointer;
  box-shadow: 
    0 2px 8px rgba(255, 107, 157, 0.3),
    0 0 0 4px rgba(255, 107, 157, 0.1);
  -webkit-transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 3px solid white;
}

.energy-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 
    0 4px 16px rgba(255, 107, 157, 0.4),
    0 0 0 6px rgba(255, 107, 157, 0.15);
}

.energy-slider::-webkit-slider-thumb:active {
  transform: scale(1.05);
  box-shadow: 
    0 2px 8px rgba(255, 107, 157, 0.5),
    0 0 0 8px rgba(255, 107, 157, 0.2);
}

.energy-slider::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6B9D 0%, #FFA8C5 100%);
  cursor: pointer;
  border: 3px solid white;
  box-shadow: 
    0 2px 8px rgba(255, 107, 157, 0.3),
    0 0 0 4px rgba(255, 107, 157, 0.1);
  -moz-transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.energy-slider::-moz-range-thumb:hover {
  transform: scale(1.15);
  box-shadow: 
    0 4px 16px rgba(255, 107, 157, 0.4),
    0 0 0 6px rgba(255, 107, 157, 0.15);
}

.energy-slider::-moz-range-thumb:active {
  transform: scale(1.05);
  box-shadow: 
    0 2px 8px rgba(255, 107, 157, 0.5),
    0 0 0 8px rgba(255, 107, 157, 0.2);
}

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #FF6B9D 0%, #FFA8C5 100%);
  border: none;
  border-radius: 24px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(255, 107, 157, 0.3);
}

.submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
}

.submit-btn:active:not(:disabled) {
  transform: translateY(0);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Responsive - Desktop */
@media (min-width: 768px) {
  .mood-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 32px 40px;
  }

  .mood-question {
    font-size: 26px;
  }

  .mood-option:hover {
    transform: scale(1.05);
  }
}

@media (min-width: 1024px) {
  .mood-page {
    padding-bottom: 0;
  }

  /* Hide bottom nav on desktop */
  .bottom-nav {
    display: none;
  }
}

/* Responsive - Mobile */
@media (min-width: 768px) {
  .mood-content {
    padding: 20px;
  }
  
  .mood-selector {
    gap: 8px;
  }
  
  .mood-option {
    padding: 14px 8px;
  }
  
  .mood-emoji {
    font-size: 40px;
  }
  
  .mood-label {
    font-size: 12px;
  }
}

/* Account Page Container */
.account-page {
  display: flex;
  min-height: 100vh;
  background: linear-gradient(
    180deg,
    #e8d5f0 0%,
    #f5e6f0 15%,
    #f8f0f5 30%,
    #f5f0f8 50%,
    #f0e8f5 70%,
    #f5e0f0 85%,
    #f8d8e8 100%
  );
  transition: background-color var(--transition-normal);
}

[data-theme="dark"] .account-page {
  background: linear-gradient(
    180deg,
    #1a1625 0%,
    #1e1a2e 15%,
    #221e35 30%,
    #1e1a2e 50%,
    #1a1625 70%,
    #1e1a2e 85%,
    #221e35 100%
  );
}

.account-wrapper {
  flex: 1 1;
  display: flex;
  flex-direction: column;
}

.account-content {
  padding: 24px 20px;
  padding-bottom: 100px;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

/* Desktop Grid Layout */
.account-content-grid {
  display: block;
}

.account-left-column,
.account-right-column {
  width: 100%;
}

/* Page Title */
.account-page-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 24px 0;
  letter-spacing: -0.5px;
}

/* Profile Card */
.profile-card {
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

[data-theme="dark"] .profile-card {
  background: rgba(30, 26, 46, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Desktop Profile Card */
@media (min-width: 1024px) {
  .profile-card {
    padding: 32px;
  }

  .profile-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  }

  .profile-card-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .profile-details {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .profile-email {
    white-space: normal;
  }
}

.profile-card-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.profile-avatar-wrapper {
  position: relative;
  flex-shrink: 0;
}

.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.profile-edit-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a78bfa 0%, #60a5fa 100%);
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(167, 139, 250, 0.4);
}

.profile-edit-btn svg {
  color: white;
}

.profile-edit-btn:hover {
  transform: scale(1.1);
}

.profile-edit-btn:active {
  transform: scale(0.95);
}

.profile-details {
  flex: 1 1;
  min-width: 0;
}

.profile-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px 0;
  letter-spacing: -0.3px;
}

.profile-email {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 10px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: 20px;
  color: #92400e;
  font-size: 12px;
  font-weight: 600;
}

.profile-plan-badge svg {
  color: #f59e0b;
}

[data-theme="dark"] .profile-plan-badge {
  background: linear-gradient(135deg, #422006 0%, #78350f 100%);
  color: #fcd34d;
}

[data-theme="dark"] .profile-plan-badge svg {
  color: #fbbf24;
}

/* Premium Upgrade Card */
.premium-upgrade-card {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px;
  background: linear-gradient(135deg, #a78bfa 0%, #60a5fa 100%);
  border: none;
  border-radius: 20px;
  margin-bottom: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(167, 139, 250, 0.3);
}

.premium-upgrade-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(167, 139, 250, 0.4);
}

.premium-upgrade-card:active {
  transform: scale(0.98);
}

/* Desktop Premium Card */
@media (min-width: 1024px) {
  .premium-upgrade-card {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

  .premium-upgrade-icon {
    margin-bottom: 8px;
  }

  .premium-upgrade-content {
    text-align: center !important;
  }

  .premium-upgrade-arrow {
    display: none;
  }
}

.premium-upgrade-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.premium-upgrade-icon svg {
  color: white;
}

.premium-upgrade-content {
  flex: 1 1;
  text-align: left;
}

.premium-upgrade-title {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: white;
  margin-bottom: 2px;
}

.premium-upgrade-subtitle {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.premium-upgrade-arrow {
  color: rgba(255, 255, 255, 0.8);
  flex-shrink: 0;
}

/* Account Section */
.account-section {
  margin-bottom: 24px;
}

.section-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 12px 4px;
}

/* Desktop Section Spacing */
@media (min-width: 1024px) {
  .account-section {
    margin-bottom: 28px;
  }

  .section-title {
    font-size: 15px;
    margin: 0 0 16px 4px;
  }
}

/* Settings List */
.settings-list {
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

[data-theme="dark"] .settings-list {
  background: rgba(30, 26, 46, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Desktop Settings List */
@media (min-width: 1024px) {
  .settings-list {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  }

  .settings-list:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  }
}

/* Settings Item */
.settings-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
}

[data-theme="dark"] .settings-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.settings-item:hover {
  background: rgba(167, 139, 250, 0.08);
}

[data-theme="dark"] .settings-item:hover {
  background: rgba(167, 139, 250, 0.12);
}

.settings-item:active {
  background: rgba(167, 139, 250, 0.12);
}

/* Desktop Settings Item */
@media (min-width: 1024px) {
  .settings-item {
    padding: 20px 24px;
    gap: 18px;
  }

  .settings-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #a78bfa 0%, #60a5fa 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
  }

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

  .settings-item-icon {
    width: 48px;
    height: 48px;
  }

  .settings-item-label {
    font-size: 17px;
  }

  .settings-item-value {
    font-size: 15px;
    font-weight: 500;
  }
}

/* Settings Item Icon */
.settings-item-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.settings-item-icon svg {
  color: white;
}

/* Icon Background Colors */
.icon-bg-blue {
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
}

.icon-bg-purple {
  background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
}

.icon-bg-orange {
  background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
}

.icon-bg-green {
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
}

.icon-bg-cyan {
  background: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%);
}

.icon-bg-pink {
  background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
}

/* Settings Item Content */
.settings-item-content {
  flex: 1 1;
  min-width: 0;
}

.settings-item-label {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
}

.settings-item-value {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 3px;
  line-height: 1.3;
}

/* Dropdown Style for Language & Theme */
.settings-item-dropdown {
  justify-content: flex-start;
  padding: 12px 18px;
}

.settings-item-dropdown .settings-item-icon {
  width: 36px;
  height: 36px;
  background: transparent !important;
  box-shadow: none;
}

.settings-item-dropdown .settings-item-icon svg {
  color: var(--text-primary);
}

.settings-item-dropdown-value {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  text-align: left;
}

.settings-item-dropdown .settings-item-chevron {
  color: var(--text-secondary);
  margin-left: auto;
}

.settings-item-chevron {
  color: var(--text-tertiary);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.settings-item:hover .settings-item-chevron {
  transform: translateX(2px);
  color: var(--text-secondary);
}

/* Logout Button */
.logout-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border: 2px solid #fca5a5;
  border-radius: 16px;
  margin: 24px 0 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  font-size: 16px;
  font-weight: 600;
  color: #dc2626;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .logout-button {
  background: rgba(30, 26, 46, 0.7);
  border-color: #991b1b;
  color: #f87171;
}

.logout-button:hover {
  background: #fef2f2;
  border-color: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.15);
}

[data-theme="dark"] .logout-button:hover {
  background: rgba(127, 29, 29, 0.3);
}

.logout-button:active {
  transform: scale(0.98);
}

.logout-button svg {
  color: currentColor;
}

/* App Version */
.app-version {
  text-align: center;
  font-size: 13px;
  color: var(--text-tertiary);
  margin: 0 0 20px;
}

/* Theme Modal */
.theme-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.2s ease;
  padding: 20px;
}

.theme-modal {
  background: var(--bg-primary);
  border-radius: 24px;
  padding: 24px;
  width: 100%;
  max-width: 480px;
  max-height: 85vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.theme-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.theme-modal-header h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.theme-modal-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--bg-input);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.theme-modal-close:hover {
  background: var(--bg-hover);
}

.theme-modal-close svg {
  color: var(--text-secondary);
}

.theme-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.theme-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-input);
  border: 2px solid transparent;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  text-align: left;
}

.theme-option:hover {
  background: var(--bg-hover);
}

.theme-option.active {
  border-color: #8b5cf6;
  background: rgba(139, 92, 246, 0.08);
}

.theme-option-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border-radius: 12px;
  color: var(--text-secondary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.theme-option.active .theme-option-icon {
  background: linear-gradient(135deg, #a78bfa 0%, #60a5fa 100%);
  color: white;
}

.theme-option-label {
  flex: 1 1;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
}

.theme-option-check {
  color: #8b5cf6;
}

.theme-system-note {
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--bg-input);
  border-radius: 12px;
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
}

/* Language Modal */
.language-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.2s ease;
  padding: 20px;
}

.language-modal {
  background: var(--bg-primary);
  border-radius: 24px;
  padding: 24px;
  width: 100%;
  max-width: 480px;
  max-height: 85vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
}

.language-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.language-modal-header h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.language-modal-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--bg-input);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.language-modal-close:hover {
  background: var(--bg-hover);
}

.language-modal-close svg {
  color: var(--text-secondary);
}

.language-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.language-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-input);
  border: 2px solid transparent;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  text-align: left;
}

.language-option:hover {
  background: var(--bg-hover);
}

.language-option.active {
  border-color: #8b5cf6;
  background: rgba(139, 92, 246, 0.08);
}

.language-option-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border-radius: 12px;
  color: var(--text-secondary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}

.language-option.active .language-option-icon {
  background: linear-gradient(135deg, #a78bfa 0%, #60a5fa 100%);
  color: white;
}

.language-option-content {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.language-option-label {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
}

.language-option-flag {
  font-size: 20px;
  line-height: 1;
}

.language-option-check {
  color: #8b5cf6;
  flex-shrink: 0;
}

/* Responsive Design */
@media (min-width: 768px) {
  .account-content {
    padding: 32px 40px;
    padding-bottom: 100px;
  }

  .profile-avatar {
    width: 84px;
    height: 84px;
  }

  .profile-name {
    font-size: 22px;
  }

  .settings-item:hover {
    background: rgba(167, 139, 250, 0.1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  }
}

@media (min-width: 1024px) {
  .account-wrapper {
    padding-bottom: 0;
  }

  .account-content {
    padding: 40px 48px;
    padding-bottom: 40px;
    max-width: 1200px;
  }

  /* Desktop Two-Column Layout */
  .account-content-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    grid-gap: 32px;
    gap: 32px;
    align-items: start;
  }

  .account-left-column {
    position: -webkit-sticky;
    position: sticky;
    top: 24px;
  }

  .account-right-column {
    width: 100%;
    margin-top: -35px
  }

  .account-page-title {
    font-size: 32px;
    margin-bottom: 32px;
  }

  .profile-card {
    margin-bottom: 20px;
  }

  .premium-upgrade-card {
    margin-bottom: 0;
  }

  .logout-button {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .settings-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  .premium-upgrade-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(167, 139, 250, 0.4);
  }
}

@media (min-width: 1280px) {
  .account-content {
    max-width: 1400px;
    padding: 48px 64px;
  }

  .account-content-grid {
    grid-template-columns: 420px 1fr;
    gap: 40px;
  }

  .account-page-title {
    font-size: 36px;
    margin-bottom: 40px;
  }

  .profile-avatar {
    width: 96px;
    height: 96px;
  }

  .profile-name {
    font-size: 24px;
  }
}

/* Animation */
.account-content > * {
  animation: contentFadeIn 0.4s ease-out backwards;
}

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

.account-content > *:nth-child(1) {
  animation-delay: 0.05s;
}

.account-content > *:nth-child(2) {
  animation-delay: 0.1s;
}

.account-content > *:nth-child(3) {
  animation-delay: 0.15s;
}

.account-content > *:nth-child(4) {
  animation-delay: 0.2s;
}

.account-content > *:nth-child(5) {
  animation-delay: 0.25s;
}

.account-content > *:nth-child(6) {
  animation-delay: 0.3s;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .account-content > *,
  .theme-modal,
  .theme-modal-overlay,
  .settings-item,
  .profile-edit-btn,
  .premium-upgrade-card,
  .logout-button {
    animation: none;
    transition: none;
  }
}

/* About Page Container */
.about-page {
  display: flex;
  min-height: 100vh;
  background: linear-gradient(180deg,
      #e8d5f0 0%,
      #f5e6f0 15%,
      #f8f0f5 30%,
      #f5f0f8 50%,
      #f0e8f5 70%,
      #f5e0f0 85%,
      #f8d8e8 100%);
  transition: background-color var(--transition-normal);
}

[data-theme="dark"] .about-page {
  background: linear-gradient(180deg,
      #1a1625 0%,
      #1e1a2e 15%,
      #221e35 30%,
      #1e1a2e 50%,
      #1a1625 70%,
      #1e1a2e 85%,
      #221e35 100%);
}

.about-wrapper {
  flex: 1 1;
  display: flex;
  flex-direction: column;
}

/* Content Wrapper */
.about-content {
  padding: 24px 20px;
  padding-bottom: 100px;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

/* Desktop Layout */
@media (min-width: 1024px) {
  .about-content {
    padding: 32px 40px;
    max-width: 800px;
  }

  .about-wrapper {
    padding-bottom: 20px;
  }
}

/* Header Section */
.about-header-section {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.about-back-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .about-back-btn {
  background: rgba(30, 26, 46, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-back-btn svg {
  color: var(--text-primary);
}

.about-back-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-back-btn:active {
  transform: scale(0.95);
}

@media (min-width: 1024px) {
  .about-back-btn:hover {
    background: rgba(167, 139, 250, 0.08);
  }
}

.about-page-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.5px;
  flex: 1 1;
}

.about-page-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.5px;
  flex: 1 1;
}

/* App Header Card */
.about-app-header {
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 32px 24px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  text-align: center;
}

[data-theme="dark"] .about-app-header {
  background: rgba(30, 26, 46, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
  .about-app-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  }
}

.about-app-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #c4b5fd 0%, #93c5fd 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(167, 139, 250, 0.3);
}

.about-app-icon svg {
  width: 40px;
  height: 40px;
}

.about-app-icon svg path {
  fill: white;
}

.about-app-name {
  font-size: 28px;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 4px;
  letter-spacing: -0.5px;
}

.about-subtitle {
  font-size: 16px;
  color: #6b7280;
  margin: 0;
  font-weight: 400;
}

/* Section Cards */
.about-card {
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

[data-theme="dark"] .about-card {
  background: rgba(30, 26, 46, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
  .about-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  }
}

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: nowrap;
}

.section-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mission-icon {
  background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
  color: #3b82f6;
}

.team-icon {
  background: linear-gradient(135deg, #fef3c7 0%, #d9f99d 100%);
  color: #65a30d;
}

.connect-icon {
  background: linear-gradient(135deg, #fce7f3 0%, #fecdd3 100%);
  color: #ec4899;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.3px;
  flex: 1 1;
  text-align: left;
}

/* Mission Section */
.mission-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

/* Connect Section */
.connect-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 24px;
}

/* Team Section */
.team-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.team-member {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: all 0.2s ease;
}

[data-theme="dark"] .team-member {
  background: rgba(45, 45, 45, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

@media (min-width: 1024px) {
  .team-member:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: translateX(4px);
  }

  [data-theme="dark"] .team-member:hover {
    background: rgba(45, 45, 45, 0.6);
  }
}

.team-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(167, 139, 250, 0.3);
  box-shadow: 0 4px 12px rgba(167, 139, 250, 0.2);
}

.team-info {
  flex: 1 1;
}

.team-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px;
}

.team-role {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.social-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (min-width: 1024px) {
  .social-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    justify-content: center;

    .social-btn:active {
      transform: translateY(0) scale(0.95);
    }
  }
}

.social-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.social-btn:active {
  transform: translateY(0) scale(0.95);
}

.social-instagram {
  background: linear-gradient(45deg,
      #f09433 0%,
      #e6683c 25%,
      #dc2743 50%,
      #cc2366 75%,
      #bc1888 100%);
}

.social-facebook {
  background: #1877f2;
}

.social-linkedin {
  background: #0a66c2;
}

.social-btn svg {
  width: 24px;

  [data-theme="dark"] .team-avatar {
    border-color: rgba(64, 64, 64, 0.8);
  }

  /* Responsive Design */
  @media (max-width: 480px) {
    .about-page {
      padding: 16px;
    }

    .about-back-btn {
      top: 16px;
      left: 16px;
    }

    .about-content {
      padding-top: 40px;
    }

    .about-section {
      padding: 20px;
      margin: 12px 0;
    }

    .about-app-icon {
      width: 72px;
      height: 72px;
    }

    .about-app-name {
      font-size: 24px;
    }

    .team-avatar {
      width: 48px;
      height: 48px;
    }

    .social-btn {
      width: 48px;
      height: 48px;
    }
  }

  /* Large screens */
  @media (min-width: 768px) {
    .about-content {
      max-width: 500px;
    }

    .about-section {
      padding: 28px;
    }

    .social-links {
      gap: 20px;
    }

    content {
      max-width: 100%;
      padding: 16px;
    }

    .about-header-section {
      padding: 12px 16px;
      margin: 0 -16px 16px;
    }

    .about-page-title {
      font-size: 24px;
    }

    .about-app-header,
    .about-card {
      padding: 20px;
      margin-bottom: 12px;
    }

    .about-app-icon {
      width: 72px;
      height: 72px;
    }

    .about-app-name {
      font-size: 24px;
    }

    .section-icon {
      width: 40px;
      height: 40px;
    }

    .section-title {
      font-size: 18px;
    }

    .team-member {
      padding: 10px;
    }

    .team-avatar {
      width: 48px;
      height: 48px;
    }

    .social-btn {
      width: 48px;
      height: 48px;
    }

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

  /* Desktop Design */
  @media (min-width: 1024px) {
    .about-content {
      max-width: 800px;
      padding: 32px 40px;
    }

    .about-header-section {
      padding: 16px 0;
      margin-bottom: 24px;
    }

    .about-page-title {
      font-size: 32px;
    }

    .about-app-header,
    .about-card {
      padding: 32px;
    }

    .about-app-icon {
      width: 96px;
      height: 96px;
    }

    .about-app-icon svg {
      width: 48px;
      height: 48px;
    }

    .about-app-name {
      font-size: 32px;
    }

    .section-icon {
      width: 48px;
      height: 48px;
    }

    .section-title {
      font-size: 22px;
    }

    .mission-text,
    .connect-text {
      font-size: 16px;
    }

    .team-member {
      padding: 16px;
    }

    .team-avatar {
      width: 64px;
      height: 64px;
    }

    .team-name {
      font-size: 17px;
    }

    .social-links {
      gap: 20px;
    }

    .social-btn {
      width: 64px;
      height: 64px;
    }

    .social-btn svg {
      width: 28px;
      height: 28
    }

    ;
  }
}
:root {
  --toastify-color-light: #fff;
  --toastify-color-dark: #121212;
  --toastify-color-info: #3498db;
  --toastify-color-success: #07bc0c;
  --toastify-color-warning: #f1c40f;
  --toastify-color-error: hsl(6, 78%, 57%);
  --toastify-color-transparent: rgba(255, 255, 255, 0.7);

  --toastify-icon-color-info: var(--toastify-color-info);
  --toastify-icon-color-success: var(--toastify-color-success);
  --toastify-icon-color-warning: var(--toastify-color-warning);
  --toastify-icon-color-error: var(--toastify-color-error);

  --toastify-container-width: fit-content;
  --toastify-toast-width: 320px;
  --toastify-toast-offset: 16px;
  --toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));
  --toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));
  --toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));
  --toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));
  --toastify-toast-background: #fff;
  --toastify-toast-padding: 14px;
  --toastify-toast-min-height: 64px;
  --toastify-toast-max-height: 800px;
  --toastify-toast-bd-radius: 6px;
  --toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  --toastify-font-family: sans-serif;
  --toastify-z-index: 9999;
  --toastify-text-color-light: #757575;
  --toastify-text-color-dark: #fff;

  /* Used only for colored theme */
  --toastify-text-color-info: #fff;
  --toastify-text-color-success: #fff;
  --toastify-text-color-warning: #fff;
  --toastify-text-color-error: #fff;

  --toastify-spinner-color: #616161;
  --toastify-spinner-color-empty-area: #e0e0e0;
  --toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);
  --toastify-color-progress-dark: #bb86fc;
  --toastify-color-progress-info: var(--toastify-color-info);
  --toastify-color-progress-success: var(--toastify-color-success);
  --toastify-color-progress-warning: var(--toastify-color-warning);
  --toastify-color-progress-error: var(--toastify-color-error);
  /* used to control the opacity of the progress trail */
  --toastify-color-progress-bgo: 0.2;
}

.Toastify__toast-container {
  z-index: 9999;
  z-index: var(--toastify-z-index);
  -webkit-transform: translate3d(0, 0, 9999);
  -webkit-transform: translate3d(0, 0, var(--toastify-z-index));
  position: fixed;
  width: -webkit-fit-content;
  width: fit-content;
  width: var(--toastify-container-width);
  box-sizing: border-box;
  color: #fff;
  display: flex;
  flex-direction: column;
}

.Toastify__toast-container--top-left {
  top: max(16px, env(safe-area-inset-top));
  top: var(--toastify-toast-top);
  left: max(16px, env(safe-area-inset-left));
  left: var(--toastify-toast-left);
}
.Toastify__toast-container--top-center {
  top: max(16px, env(safe-area-inset-top));
  top: var(--toastify-toast-top);
  left: 50%;
  transform: translateX(-50%);
  align-items: center;
}
.Toastify__toast-container--top-right {
  top: max(16px, env(safe-area-inset-top));
  top: var(--toastify-toast-top);
  right: max(16px, env(safe-area-inset-right));
  right: var(--toastify-toast-right);
  align-items: end;
}
.Toastify__toast-container--bottom-left {
  bottom: max(16px, env(safe-area-inset-bottom));
  bottom: var(--toastify-toast-bottom);
  left: max(16px, env(safe-area-inset-left));
  left: var(--toastify-toast-left);
}
.Toastify__toast-container--bottom-center {
  bottom: max(16px, env(safe-area-inset-bottom));
  bottom: var(--toastify-toast-bottom);
  left: 50%;
  transform: translateX(-50%);
  align-items: center;
}
.Toastify__toast-container--bottom-right {
  bottom: max(16px, env(safe-area-inset-bottom));
  bottom: var(--toastify-toast-bottom);
  right: max(16px, env(safe-area-inset-right));
  right: var(--toastify-toast-right);
  align-items: end;
}

.Toastify__toast {
  --y: 0;
  position: relative;
  touch-action: none;
  width: 320px;
  width: var(--toastify-toast-width);
  min-height: 64px;
  min-height: var(--toastify-toast-min-height);
  box-sizing: border-box;
  margin-bottom: 1rem;
  padding: 14px;
  padding: var(--toastify-toast-padding);
  border-radius: 6px;
  border-radius: var(--toastify-toast-bd-radius);
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  box-shadow: var(--toastify-toast-shadow);
  max-height: 800px;
  max-height: var(--toastify-toast-max-height);
  font-family: sans-serif;
  font-family: var(--toastify-font-family);
  /* webkit only issue #791 */
  z-index: 0;
  /* inner swag */
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  word-break: break-word;
}

@media only screen and (max-width: 480px) {
  .Toastify__toast-container {
    width: 100vw;
    left: env(safe-area-inset-left);
    margin: 0;
  }
  .Toastify__toast-container--top-left,
  .Toastify__toast-container--top-center,
  .Toastify__toast-container--top-right {
    top: env(safe-area-inset-top);
    transform: translateX(0);
  }
  .Toastify__toast-container--bottom-left,
  .Toastify__toast-container--bottom-center,
  .Toastify__toast-container--bottom-right {
    bottom: env(safe-area-inset-bottom);
    transform: translateX(0);
  }
  .Toastify__toast-container--rtl {
    right: env(safe-area-inset-right);
    left: auto;
    left: initial;
  }
  .Toastify__toast {
    --toastify-toast-width: 100%;
    margin-bottom: 0;
    border-radius: 0;
  }
}

.Toastify__toast-container[data-stacked='true'] {
  width: 320px;
  width: var(--toastify-toast-width);
}

.Toastify__toast--stacked {
  position: absolute;
  width: 100%;
  transform: translate3d(0, var(--y), 0) scale(var(--s));
  transition: transform 0.3s;
}

.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,
.Toastify__toast--stacked[data-collapsed] .Toastify__close-button {
  transition: opacity 0.1s;
}

.Toastify__toast--stacked[data-collapsed='false'] {
  overflow: visible;
}

.Toastify__toast--stacked[data-collapsed='true']:not(:last-child) > * {
  opacity: 0;
}

.Toastify__toast--stacked:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: calc(var(--g) * 1px);
  bottom: 100%;
}

.Toastify__toast--stacked[data-pos='top'] {
  top: 0;
}

.Toastify__toast--stacked[data-pos='bot'] {
  bottom: 0;
}

.Toastify__toast--stacked[data-pos='bot'].Toastify__toast--stacked:before {
  transform-origin: top;
}

.Toastify__toast--stacked[data-pos='top'].Toastify__toast--stacked:before {
  transform-origin: bottom;
}

.Toastify__toast--stacked:before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  transform: scaleY(3);
  z-index: -1;
}

.Toastify__toast--rtl {
  direction: rtl;
}

.Toastify__toast--close-on-click {
  cursor: pointer;
}

.Toastify__toast-icon {
  -webkit-margin-end: 10px;
          margin-inline-end: 10px;
  width: 22px;
  flex-shrink: 0;
  display: flex;
}

.Toastify--animate {
  animation-fill-mode: both;
  animation-duration: 0.5s;
}

.Toastify--animate-icon {
  animation-fill-mode: both;
  animation-duration: 0.3s;
}

.Toastify__toast-theme--dark {
  background: #121212;
  background: var(--toastify-color-dark);
  color: #fff;
  color: var(--toastify-text-color-dark);
}

.Toastify__toast-theme--light {
  background: #fff;
  background: var(--toastify-color-light);
  color: #757575;
  color: var(--toastify-text-color-light);
}

.Toastify__toast-theme--colored.Toastify__toast--default {
  background: #fff;
  background: var(--toastify-color-light);
  color: #757575;
  color: var(--toastify-text-color-light);
}

.Toastify__toast-theme--colored.Toastify__toast--info {
  color: #fff;
  color: var(--toastify-text-color-info);
  background: #3498db;
  background: var(--toastify-color-info);
}

.Toastify__toast-theme--colored.Toastify__toast--success {
  color: #fff;
  color: var(--toastify-text-color-success);
  background: #07bc0c;
  background: var(--toastify-color-success);
}

.Toastify__toast-theme--colored.Toastify__toast--warning {
  color: #fff;
  color: var(--toastify-text-color-warning);
  background: #f1c40f;
  background: var(--toastify-color-warning);
}

.Toastify__toast-theme--colored.Toastify__toast--error {
  color: #fff;
  color: var(--toastify-text-color-error);
  background: hsl(6, 78%, 57%);
  background: var(--toastify-color-error);
}

.Toastify__progress-bar-theme--light {
  background: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);
  background: var(--toastify-color-progress-light);
}

.Toastify__progress-bar-theme--dark {
  background: #bb86fc;
  background: var(--toastify-color-progress-dark);
}

.Toastify__progress-bar--info {
  background: #3498db;
  background: var(--toastify-color-progress-info);
}

.Toastify__progress-bar--success {
  background: #07bc0c;
  background: var(--toastify-color-progress-success);
}

.Toastify__progress-bar--warning {
  background: #f1c40f;
  background: var(--toastify-color-progress-warning);
}

.Toastify__progress-bar--error {
  background: hsl(6, 78%, 57%);
  background: var(--toastify-color-progress-error);
}

.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,
.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,
.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,
.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error {
  background: rgba(255, 255, 255, 0.7);
  background: var(--toastify-color-transparent);
}

.Toastify__close-button {
  color: #fff;
  position: absolute;
  top: 6px;
  right: 6px;
  background: transparent;
  outline: none;
  border: none;
  padding: 0;
  cursor: pointer;
  opacity: 0.7;
  transition: 0.3s ease;
  z-index: 1;
}

.Toastify__toast--rtl .Toastify__close-button {
  left: 6px;
  right: auto;
  right: initial;
}

.Toastify__close-button--light {
  color: #000;
  opacity: 0.3;
}

.Toastify__close-button > svg {
  fill: currentColor;
  height: 16px;
  width: 14px;
}

.Toastify__close-button:hover,
.Toastify__close-button:focus {
  opacity: 1;
}

@keyframes Toastify__trackProgress {
  0% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0);
  }
}

.Toastify__progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.7;
  transform-origin: left;
}

.Toastify__progress-bar--animated {
  animation: Toastify__trackProgress linear 1 forwards;
}

.Toastify__progress-bar--controlled {
  transition: transform 0.2s;
}

.Toastify__progress-bar--rtl {
  right: 0;
  left: auto;
  left: initial;
  transform-origin: right;
  border-bottom-left-radius: 0;
  border-bottom-left-radius: initial;
}

.Toastify__progress-bar--wrp {
  position: absolute;
  overflow: hidden;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  border-bottom-left-radius: 6px;
  border-bottom-left-radius: var(--toastify-toast-bd-radius);
  border-bottom-right-radius: 6px;
  border-bottom-right-radius: var(--toastify-toast-bd-radius);
}

.Toastify__progress-bar--wrp[data-hidden='true'] {
  opacity: 0;
}

.Toastify__progress-bar--bg {
  opacity: 0.2;
  opacity: var(--toastify-color-progress-bgo);
  width: 100%;
  height: 100%;
}

.Toastify__spinner {
  width: 20px;
  height: 20px;
  box-sizing: border-box;
  border: 2px solid;
  border-radius: 100%;
  border-color: #e0e0e0;
  border-color: var(--toastify-spinner-color-empty-area);
  border-right-color: #616161;
  border-right-color: var(--toastify-spinner-color);
  animation: Toastify__spin 0.65s linear infinite;
}

@keyframes Toastify__bounceInRight {
  from,
  60%,
  75%,
  90%,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  from {
    opacity: 0;
    transform: translate3d(3000px, 0, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(-25px, 0, 0);
  }
  75% {
    transform: translate3d(10px, 0, 0);
  }
  90% {
    transform: translate3d(-5px, 0, 0);
  }
  to {
    transform: none;
  }
}

@keyframes Toastify__bounceOutRight {
  20% {
    opacity: 1;
    transform: translate3d(-20px, var(--y), 0);
  }
  to {
    opacity: 0;
    transform: translate3d(2000px, var(--y), 0);
  }
}

@keyframes Toastify__bounceInLeft {
  from,
  60%,
  75%,
  90%,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    transform: translate3d(-3000px, 0, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(25px, 0, 0);
  }
  75% {
    transform: translate3d(-10px, 0, 0);
  }
  90% {
    transform: translate3d(5px, 0, 0);
  }
  to {
    transform: none;
  }
}

@keyframes Toastify__bounceOutLeft {
  20% {
    opacity: 1;
    transform: translate3d(20px, var(--y), 0);
  }
  to {
    opacity: 0;
    transform: translate3d(-2000px, var(--y), 0);
  }
}

@keyframes Toastify__bounceInUp {
  from,
  60%,
  75%,
  90%,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  from {
    opacity: 0;
    transform: translate3d(0, 3000px, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(0, -20px, 0);
  }
  75% {
    transform: translate3d(0, 10px, 0);
  }
  90% {
    transform: translate3d(0, -5px, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes Toastify__bounceOutUp {
  20% {
    transform: translate3d(0, calc(var(--y) - 10px), 0);
  }
  40%,
  45% {
    opacity: 1;
    transform: translate3d(0, calc(var(--y) + 20px), 0);
  }
  to {
    opacity: 0;
    transform: translate3d(0, -2000px, 0);
  }
}

@keyframes Toastify__bounceInDown {
  from,
  60%,
  75%,
  90%,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    transform: translate3d(0, -3000px, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(0, 25px, 0);
  }
  75% {
    transform: translate3d(0, -10px, 0);
  }
  90% {
    transform: translate3d(0, 5px, 0);
  }
  to {
    transform: none;
  }
}

@keyframes Toastify__bounceOutDown {
  20% {
    transform: translate3d(0, calc(var(--y) - 10px), 0);
  }
  40%,
  45% {
    opacity: 1;
    transform: translate3d(0, calc(var(--y) + 20px), 0);
  }
  to {
    opacity: 0;
    transform: translate3d(0, 2000px, 0);
  }
}

.Toastify__bounce-enter--top-left,
.Toastify__bounce-enter--bottom-left {
  animation-name: Toastify__bounceInLeft;
}

.Toastify__bounce-enter--top-right,
.Toastify__bounce-enter--bottom-right {
  animation-name: Toastify__bounceInRight;
}

.Toastify__bounce-enter--top-center {
  animation-name: Toastify__bounceInDown;
}

.Toastify__bounce-enter--bottom-center {
  animation-name: Toastify__bounceInUp;
}

.Toastify__bounce-exit--top-left,
.Toastify__bounce-exit--bottom-left {
  animation-name: Toastify__bounceOutLeft;
}

.Toastify__bounce-exit--top-right,
.Toastify__bounce-exit--bottom-right {
  animation-name: Toastify__bounceOutRight;
}

.Toastify__bounce-exit--top-center {
  animation-name: Toastify__bounceOutUp;
}

.Toastify__bounce-exit--bottom-center {
  animation-name: Toastify__bounceOutDown;
}

@keyframes Toastify__zoomIn {
  from {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
  50% {
    opacity: 1;
  }
}

@keyframes Toastify__zoomOut {
  from {
    opacity: 1;
  }
  50% {
    opacity: 0;
    transform: translate3d(0, var(--y), 0) scale3d(0.3, 0.3, 0.3);
  }
  to {
    opacity: 0;
  }
}

.Toastify__zoom-enter {
  animation-name: Toastify__zoomIn;
}

.Toastify__zoom-exit {
  animation-name: Toastify__zoomOut;
}

@keyframes Toastify__flipIn {
  from {
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    animation-timing-function: ease-in;
    opacity: 0;
  }
  40% {
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    animation-timing-function: ease-in;
  }
  60% {
    transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1;
  }
  80% {
    transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  }
  to {
    transform: perspective(400px);
  }
}

@keyframes Toastify__flipOut {
  from {
    transform: translate3d(0, var(--y), 0) perspective(400px);
  }
  30% {
    transform: translate3d(0, var(--y), 0) perspective(400px) rotate3d(1, 0, 0, -20deg);
    opacity: 1;
  }
  to {
    transform: translate3d(0, var(--y), 0) perspective(400px) rotate3d(1, 0, 0, 90deg);
    opacity: 0;
  }
}

.Toastify__flip-enter {
  animation-name: Toastify__flipIn;
}

.Toastify__flip-exit {
  animation-name: Toastify__flipOut;
}

@keyframes Toastify__slideInRight {
  from {
    transform: translate3d(110%, 0, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, var(--y), 0);
  }
}

@keyframes Toastify__slideInLeft {
  from {
    transform: translate3d(-110%, 0, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, var(--y), 0);
  }
}

@keyframes Toastify__slideInUp {
  from {
    transform: translate3d(0, 110%, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, var(--y), 0);
  }
}

@keyframes Toastify__slideInDown {
  from {
    transform: translate3d(0, -110%, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, var(--y), 0);
  }
}

@keyframes Toastify__slideOutRight {
  from {
    transform: translate3d(0, var(--y), 0);
  }
  to {
    visibility: hidden;
    transform: translate3d(110%, var(--y), 0);
  }
}

@keyframes Toastify__slideOutLeft {
  from {
    transform: translate3d(0, var(--y), 0);
  }
  to {
    visibility: hidden;
    transform: translate3d(-110%, var(--y), 0);
  }
}

@keyframes Toastify__slideOutDown {
  from {
    transform: translate3d(0, var(--y), 0);
  }
  to {
    visibility: hidden;
    transform: translate3d(0, 500px, 0);
  }
}

@keyframes Toastify__slideOutUp {
  from {
    transform: translate3d(0, var(--y), 0);
  }
  to {
    visibility: hidden;
    transform: translate3d(0, -500px, 0);
  }
}

.Toastify__slide-enter--top-left,
.Toastify__slide-enter--bottom-left {
  animation-name: Toastify__slideInLeft;
}

.Toastify__slide-enter--top-right,
.Toastify__slide-enter--bottom-right {
  animation-name: Toastify__slideInRight;
}

.Toastify__slide-enter--top-center {
  animation-name: Toastify__slideInDown;
}

.Toastify__slide-enter--bottom-center {
  animation-name: Toastify__slideInUp;
}

.Toastify__slide-exit--top-left,
.Toastify__slide-exit--bottom-left {
  animation-name: Toastify__slideOutLeft;
  animation-timing-function: ease-in;
  animation-duration: 0.3s;
}

.Toastify__slide-exit--top-right,
.Toastify__slide-exit--bottom-right {
  animation-name: Toastify__slideOutRight;
  animation-timing-function: ease-in;
  animation-duration: 0.3s;
}

.Toastify__slide-exit--top-center {
  animation-name: Toastify__slideOutUp;
  animation-timing-function: ease-in;
  animation-duration: 0.3s;
}

.Toastify__slide-exit--bottom-center {
  animation-name: Toastify__slideOutDown;
  animation-timing-function: ease-in;
  animation-duration: 0.3s;
}

@keyframes Toastify__spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Fade In Animation */
@keyframes userInfoFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* User Info Page Container */
.user-info-page {
  display: flex;
  min-height: 100vh;
  background: linear-gradient(180deg,
      #e8d5f0 0%,
      #f5e6f0 15%,
      #f8f0f5 30%,
      #f5f0f8 50%,
      #f0e8f5 70%,
      #f5e0f0 85%,
      #f8d8e8 100%);
  transition: background-color var(--transition-normal);
}

[data-theme="dark"] .user-info-page {
  background: linear-gradient(180deg,
      #1a1625 0%,
      #1e1a2e 15%,
      #221e35 30%,
      #1e1a2e 50%,
      #1a1625 70%,
      #1e1a2e 85%,
      #221e35 100%);
}

.user-info-wrapper {
  flex: 1 1;
  display: flex;
  flex-direction: column;
}

.user-info-content {
  padding: 24px 20px;
  padding-bottom: 100px;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

.user-info-content>* {
  opacity: 0;
  animation: userInfoFadeIn 0.4s ease-out forwards;
}

.user-info-content>*:nth-child(1) {
  animation-delay: 0.05s;
}

.user-info-content>*:nth-child(2) {
  animation-delay: 0.1s;
}

.user-info-content>*:nth-child(3) {
  animation-delay: 0.15s;
}

.user-info-content>*:nth-child(4) {
  animation-delay: 0.2s;
}

.user-info-content>*:nth-child(5) {
  animation-delay: 0.25s;
}

/* Desktop Layout */
@media (min-width: 1024px) {
  .user-info-content {
    padding: 32px 40px;
    max-width: 800px;
  }

  .user-info-wrapper {
    padding-bottom: 20px;
  }

  .bottom-nav {
    display: none;
  }
}

/* Loading State */
.user-info-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  gap: 16px;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(167, 139, 250, 0.2);
  border-top-color: #a78bfa;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

  100% {
    transform: rotate(360deg);
  }
}

.user-info-loading p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* Header */
.user-info-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.back-button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .back-button {
  background: rgba(30, 26, 46, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.back-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.back-button svg {
  color: var(--text-primary);
}

.user-info-page-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.5px;
  flex: 1 1;
}

@media (min-width: 1024px) {
  .back-button:hover {
    background: rgba(167, 139, 250, 0.08);
  }
}

/* Profile Info Card */
.profile-info-card {
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 32px 24px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

[data-theme="dark"] .profile-info-card {
  background: rgba(30, 26, 46, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
  .profile-info-card {
    padding: 40px 32px;
  }

  .profile-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  }
}

.avatar-wrapper {
  position: relative;
  margin-bottom: 20px;
}

.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .profile-avatar {
  border-color: rgba(255, 255, 255, 0.15);
}

.edit-avatar-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid white;
  background: linear-gradient(135deg, #a78bfa 0%, #60a5fa 100%);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 3px 12px rgba(167, 139, 250, 0.4);
}

[data-theme="dark"] .edit-avatar-btn {
  border-color: rgba(30, 26, 46, 0.9);
}

.edit-avatar-btn:hover {
  transform: scale(1.1);
}

.edit-avatar-btn:active {
  transform: scale(0.95);
}

.edit-avatar-btn svg {
  color: white;
}

.profile-name-section {
  text-align: center;
}

.profile-display-name {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px 0;
}

.profile-plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--badge-premium-bg);
  border-radius: 20px;
  color: var(--badge-premium-text);
  font-size: 13px;
  font-weight: 500;
}

.profile-plan-badge svg {
  color: var(--badge-premium-icon);
}

/* Info Section Cards */
.info-section-card {
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

[data-theme="dark"] .info-section-card {
  background: rgba(30, 26, 46, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
  .info-section-card {
    padding: 24px;
  }

  .info-section-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  }
}

.info-section {
  margin-bottom: 24px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.card-section-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 20px 0;
  letter-spacing: -0.3px;
}

.section-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.3px;
}

.edit-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: none;
  border-radius: 20px;
  background: linear-gradient(135deg, #a78bfa 0%, #60a5fa 100%);
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(167, 139, 250, 0.3);
}

.edit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(167, 139, 250, 0.4);
}

.edit-btn:active {
  transform: scale(0.98);
}

.edit-btn svg {
  width: 18px;
  height: 18px;
  color: white;
}

.edit-actions {
  display: flex;
  gap: 8px;
}

.cancel-btn {
  padding: 10px 18px;
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-radius: 20px;
  background: transparent;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cancel-btn:hover {
  background: rgba(167, 139, 250, 0.08);
  border-color: rgba(167, 139, 250, 0.5);
}

.save-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 20px;
  background: linear-gradient(135deg, #a78bfa 0%, #60a5fa 100%);
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(167, 139, 250, 0.3);
}

.save-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(167, 139, 250, 0.4);
}

.save-btn:active:not(:disabled) {
  transform: scale(0.98);
}

.save-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Info Cards */
.info-cards {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 14px;
  gap: 14px;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
}

[data-theme="dark"] .info-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.info-card:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: translateX(4px);
}

[data-theme="dark"] .info-card:hover {
  background: rgba(255, 255, 255, 0.05);
}

.info-card-full {
  grid-column: 1 / -1;
}

@media (min-width: 480px) {
  .info-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-card-full {
    grid-column: 1 / -1;
  }
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.15) 0%, rgba(96, 165, 250, 0.15) 100%);
}

[data-theme="dark"] .info-icon {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.2) 0%, rgba(96, 165, 250, 0.2) 100%);
}

.info-icon svg {
  color: #a78bfa;
}

.info-icon.status-icon {
  background: linear-gradient(135deg,
      rgba(34, 197, 94, 0.1) 0%,
      rgba(16, 185, 129, 0.1) 100%);
}

.info-icon.status-icon svg {
  color: #22c55e;
}

.info-icon.level-icon {
  background: linear-gradient(135deg,
      rgba(168, 85, 247, 0.1) 0%,
      rgba(139, 92, 246, 0.1) 100%);
}

.info-icon.level-icon svg {
  color: #a855f7;
}

.info-icon.streak-icon {
  background: linear-gradient(135deg,
      rgba(251, 146, 60, 0.1) 0%,
      rgba(249, 115, 22, 0.1) 100%);
}

.info-icon.streak-icon svg {
  color: #f97316;
}

.info-content {
  flex: 1 1;
  min-width: 0;
}

.info-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-tertiary);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-value {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  word-break: break-word;
}

.info-value.status-active {
  color: #22c55e;
}

/* Form Inputs */
.info-input,
.info-select,
.info-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-primary);
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
}

[data-theme="dark"] .info-input,
[data-theme="dark"] .info-select,
[data-theme="dark"] .info-textarea {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.info-input:focus,
.info-select:focus,
.info-textarea:focus {
  outline: none;
  border-color: #a78bfa;
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.15);
  background: white;
}

[data-theme="dark"] .info-input:focus,
[data-theme="dark"] .info-select:focus,
[data-theme="dark"] .info-textarea:focus {
  background: rgba(255, 255, 255, 0.08);
}

.info-input::placeholder,
.info-textarea::placeholder {
  color: var(--text-tertiary);
}

.info-textarea {
  resize: vertical;
  min-height: 80px;
}

.info-select {
  cursor: pointer;
  -webkit-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http:%2F%2Fwww.w3.org%2F2000%2Fsvg%27 width=%2712%27 height=%2712%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%239ca3af%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M6 9l6 6 6-6%27%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

/* Responsive Design */
@media (max-width: 400px) {
  .user-info-content {
    padding: 20px 16px;
  }

  .user-info-page-title {
    font-size: 24px;
  }

  .profile-avatar {
    width: 80px;
    height: 80px;
  }

  .edit-avatar-btn {
    width: 28px;
    height: 28px;
  }

  .profile-display-name {
    font-size: 20px;
  }

  .info-card {
    padding: 14px;
  }

  .info-icon {
    width: 44px;
    height: 44px;
  }
}

/* Avatar Upload Styles */
.avatar-upload-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.avatar-upload-spinner {
  width: 30px;
  height: 30px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Avatar Menu */
.avatar-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 180px;
  z-index: 100;
  animation: avatarMenuSlideIn 0.2s ease-out;
}

@keyframes avatarMenuSlideIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.avatar-menu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--bg-card);
}

.avatar-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.avatar-menu-item:hover {
  background: var(--bg-hover);
}

.avatar-menu-item svg {
  color: var(--text-secondary);
  flex-shrink: 0;
}

.avatar-menu-item:hover svg {
  color: var(--text-primary);
}

.avatar-menu-item-danger {
  color: #ef4444;
}

.avatar-menu-item-danger svg {
  color: #ef4444;
}

.avatar-menu-item-danger:hover {
  background: rgba(239, 68, 68, 0.1);
}

.avatar-menu-item-danger:hover svg {
  color: #dc2626;
}

/* Disabled state for avatar button */
.edit-avatar-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
/* Slot Detail Container */
.slot-detail-container {
  display: flex;
  min-height: 100vh;
  background: linear-gradient(
    180deg,
    #e8d5f0 0%,
    #f5e6f0 15%,
    #f8f0f5 30%,
    #f5f0f8 50%,
    #f0e8f5 70%,
    #f5e0f0 85%,
    #f8d8e8 100%
  );
}

[data-theme="dark"] .slot-detail-container {
  background: linear-gradient(
    180deg,
    #1a1625 0%,
    #1e1a2e 15%,
    #221e35 30%,
    #1e1a2e 50%,
    #1a1625 70%,
    #1e1a2e 85%,
    #221e35 100%
  );
}

/* Slot Detail Page */
.slot-detail-page {
  flex: 1 1;
  min-height: 100vh;
  background: transparent;
  padding-bottom: 100px;
  animation: pageSlideIn 0.4s ease;
  transition: background-color var(--transition-normal);
}

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

.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  font-size: 18px;
  color: var(--text-secondary);
}

/* Header */
.slot-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: transparent;
  position: relative;
}

.slot-detail-header .back-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  background: var(--bg-card);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  color: var(--text-secondary);
}

.slot-detail-header .back-btn:hover {
  background: var(--bg-hover);
  transform: translateX(-2px);
}

.slot-detail-header .back-btn:active {
  transform: scale(0.95);
}

.slot-detail-title {
  font-size: 30px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

[data-theme="dark"] .slot-detail-title {
  background: linear-gradient(135deg, #F0C5D5 0%, #D4B5D8 50%, #8AC0D5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.slot-detail-header h1 {
  font-size: 30px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  flex: 1 1;
  text-align: center;
}

[data-theme="dark"] .slot-detail-header h1 {
  background: linear-gradient(135deg, #F0C5D5 0%, #D4B5D8 50%, #8AC0D5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.header-spacer {
  width: 40px;
}

/* Main Content */
.slot-detail-main {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 20px;
}

/* Info Card */
.slot-info-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

.slot-info-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border-secondary);
  transition: border-color var(--transition-normal);
}

.slot-slot-info-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.slot-slot-info-title h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 4px 0;
  transition: color var(--transition-normal);
}

.slot-slot-info-title p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  transition: color var(--transition-normal);
}

/* Info Content */
.slot-info-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.slot-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-secondary);
  transition: border-color var(--transition-normal);
}

.slot-info-row:last-of-type {
  border-bottom: none;
}

.slot-info-row.vertical {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 0;
}

.slot-info-row.highlight {
  background: linear-gradient(135deg, 
    rgba(138, 192, 213, 0.08) 0%, 
    rgba(138, 192, 213, 0.12) 50%, 
    rgba(138, 192, 213, 0.08) 100%
  );
  padding: 16px;
  border-radius: 12px;
  margin: 8px 0;
  border: 1px solid rgba(138, 192, 213, 0.3);
  box-shadow: 0 2px 8px rgba(138, 192, 213, 0.1);
  transition: all 0.3s ease;
}

.slot-info-row.highlight:hover {
  background: linear-gradient(135deg, 
    rgba(138, 192, 213, 0.12) 0%, 
    rgba(138, 192, 213, 0.18) 50%, 
    rgba(138, 192, 213, 0.12) 100%
  );
  border-color: rgba(138, 192, 213, 0.5);
  box-shadow: 0 4px 12px rgba(138, 192, 213, 0.15);
}

.slot-info-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-normal);
}

.info-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  transition: color var(--transition-normal);
}

.info-value.status-completed,
.slot-info-value.status-completed {
  color: #10B981;
  font-weight: 600;
}

.info-value.status-missed,
.slot-info-value.status-missed {
  color: #EF4444;
  font-weight: 600;
}

.info-value.status-scheduled,
.slot-info-value.status-scheduled {
  color: #8AC0D5;
  font-weight: 600;
}

.slot-info-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  transition: color var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 8px;
}

.focus-stars {
  color: #FCD34D;
  font-size: 14px;
  letter-spacing: 2px;
}

/* Completed Topics List */
.completed-topics-list,
.objectives-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.completed-topics-list li,
.objectives-list li {
  padding: 10px 16px;
  background: var(--bg-input);
  border-left: 3px solid #10B981;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.objectives-list li {
  border-left-color: #8AC0D5;
}

.completed-topics-list li:hover,
.objectives-list li:hover {
  background: var(--bg-hover);
  transform: translateX(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Resources List */
.resources-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.resources-list li {
  padding: 12px 16px;
  background: var(--bg-input);
  border-left: 3px solid #F59E0B;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  transition: all 0.3s ease;
}

.resources-list li:hover {
  background: var(--bg-hover);
  transform: translateX(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.resource-type {
  font-size: 20px;
  flex-shrink: 0;
}

.resource-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1 1;
  min-width: 150px;
}

.resource-pages {
  font-size: 13px;
  color: var(--text-secondary);
  font-style: italic;
}

.resource-link {
  font-size: 13px;
  color: #8AC0D5;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: rgba(138, 192, 213, 0.1);
  border-radius: 6px;
  transition: all 0.3s ease;
}

.resource-link:hover {
  background: rgba(138, 192, 213, 0.2);
  transform: translateY(-2px);
}

/* Completion Notes */
.completion-notes {
  padding: 16px;
  background: rgba(138, 192, 213, 0.05);
  border-left: 4px solid #8AC0D5;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-primary);
  white-space: pre-wrap;
  word-wrap: break-word;
  transition: all 0.3s ease;
  border: 1px solid rgba(138, 192, 213, 0.2);
  border-left: 4px solid #8AC0D5;
}

.completion-notes:hover {
  background: rgba(138, 192, 213, 0.1);
  border-color: rgba(138, 192, 213, 0.3);
  box-shadow: 0 2px 8px rgba(138, 192, 213, 0.15);
  transform: translateX(2px);
}


.info-value.status-completed {
  color: #10B981;
  font-weight: 600;
}

.info-value.status-missed {
  color: #EF4444;
  font-weight: 600;
}

.slot-info-value.status-scheduled {
  color: #8AC0D5;
  font-weight: 600;
}

.slot-edit-btn {
  margin-top: 20px;
  width: 100%;
  padding: 16px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

.slot-edit-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.slot-edit-btn:hover::before {
  width: 400px;
  height: 400px;
}

.slot-edit-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(102, 126, 234, 0.5);
}

.slot-edit-btn:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
}

.slot-edit-btn .btn-icon {
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  z-index: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.slot-edit-btn span {
  z-index: 1;
  white-space: nowrap;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Edit Form */
.slot-edit-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.slot-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.slot-form-group label {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  transition: color var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.slot-form-group select,
.slot-form-group input {
  padding: 14px 18px;
  border: 2px solid var(--border-primary);
  border-radius: 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  background: var(--bg-input);
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.slot-form-group select {
  -webkit-appearance: none;
          appearance: none;
  background-color: var(--bg-input);
  background-image: url("data:image/svg+xml,%3Csvg width=%2712%27 height=%278%27 viewBox=%270 0 12 8%27 fill=%27none%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cpath d=%27M1 1.5L6 6.5L11 1.5%27 stroke=%27%238AC0D5%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 48px;
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition-normal);
}

.slot-form-group select:hover,
.slot-form-group input:hover {
  background: var(--bg-card);
  box-shadow: 0 4px 16px rgba(138, 192, 213, 0.2);
  border-color: #8AC0D5;
  transform: translateY(-2px);
}

.slot-form-group select:focus,
.slot-form-group input:focus {
  outline: none;
  border-color: #8AC0D5;
  box-shadow: 0 0 0 4px rgba(138, 192, 213, 0.15), 0 4px 16px rgba(138, 192, 213, 0.25);
  transform: translateY(-2px);
  background: var(--bg-card);
}

.slot-form-group select option {
  padding: 12px 16px;
  font-size: 15px;
  color: var(--text-primary);
  background: var(--bg-card);
}

.slot-form-group select option:hover {
  background: linear-gradient(135deg, #F0FDF4 0%, #E0F2FE 100%);
}

.slot-form-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.slot-save-btn,
.slot-cancel-btn {
  flex: 1 1;
  padding: 14px 12px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-width: 0;
}

.slot-save-btn {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.slot-save-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.slot-save-btn:hover::before {
  width: 300px;
  height: 300px;
}

.slot-save-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.slot-save-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.slot-save-btn .btn-icon {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  z-index: 1;
  flex-shrink: 0;
}

.slot-save-btn span {
  z-index: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slot-cancel-btn {
  background: var(--bg-hover);
  color: var(--text-secondary);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid var(--border-primary);
}

.slot-cancel-btn .btn-icon {
  font-size: 14px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.slot-cancel-btn span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slot-cancel-btn:hover {
  background: var(--border-primary);
  border-color: var(--text-secondary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

/* Move Slot Section */
.move-slot-section {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

.move-slot-section h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 4px 0;
  transition: color var(--transition-normal);
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 24px 0;
  transition: color var(--transition-normal);
}

/* Date Selector */
.date-selector {
  margin-bottom: 24px;
}

.date-selector label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  transition: color var(--transition-normal);
}

.date-selector select {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--border-primary);
  border-radius: 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  background-color: var(--bg-input);
  background-image: url("data:image/svg+xml,%3Csvg width=%2714%27 height=%279%27 viewBox=%270 0 14 9%27 fill=%27none%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cpath d=%27M1 1.5L7 7.5L13 1.5%27 stroke=%27%238AC0D5%27 stroke-width=%272.5%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-appearance: none;
          appearance: none;
  padding-right: 52px;
  box-shadow: var(--shadow-sm);
}

.date-selector select:hover {
  border-color: #8AC0D5;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(138, 192, 213, 0.2);
  background: var(--bg-card);
}

.date-selector select:focus {
  outline: none;
  border-color: #8AC0D5;
  box-shadow: 0 0 0 4px rgba(138, 192, 213, 0.15), 0 4px 16px rgba(138, 192, 213, 0.2);
  transform: translateY(-2px);
  background: var(--bg-card);
}

.date-selector select option {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  background: var(--bg-card);
}

.date-selector select option:disabled {
  color: var(--text-tertiary);
  background: var(--bg-secondary);
}

/* Selected Date Display */
.selected-date-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(135deg, #E0F2FE 0%, #F0FDF4 100%);
  border: 2px solid #8AC0D5;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(138, 192, 213, 0.15);
  animation: slideInDown 0.4s ease;
}

.selected-date-text {
  font-size: 16px;
  font-weight: 600;
  color: #1F1F1F;
  flex: 1 1;
}

.change-date-btn {
  background: var(--bg-card);
  border: 2px solid #8AC0D5;
  border-radius: 10px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 18px;
}

.change-date-btn:hover {
  background: #8AC0D5;
  transform: scale(1.1);
}

/* Time Input Group */
.time-input-group {
  margin-bottom: 24px;
  animation: slideInDown 0.4s ease;
}

.time-input-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  transition: color var(--transition-normal);
}

.time-input-group input[type="time"] {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--border-primary);
  border-radius: 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  background: var(--bg-input);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.time-input-group input[type="time"]:hover {
  border-color: #8AC0D5;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(138, 192, 213, 0.2);
  background: var(--bg-card);
}

.time-input-group input[type="time"]:focus {
  outline: none;
  border-color: #8AC0D5;
  box-shadow: 0 0 0 4px rgba(138, 192, 213, 0.15), 0 4px 16px rgba(138, 192, 213, 0.2);
  transform: translateY(-2px);
  background: var(--bg-card);
}

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

/* Time Slot Selector */
.time-slot-selector {
  margin-bottom: 24px;
  animation: slideInDown 0.4s ease;
}

.time-slot-selector label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  transition: color var(--transition-normal);
}

.slot-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.slot-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 2px solid var(--border-primary);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

.slot-option:hover:not(.disabled) {
  border-color: #8AC0D5;
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(138, 192, 213, 0.2);
}

.slot-option.selected {
  border-color: #8AC0D5;
  background: linear-gradient(135deg, #F0FDF4 0%, #E0F2FE 100%);
  box-shadow: 0 4px 16px rgba(138, 192, 213, 0.25);
}

.slot-option.selected .slot-name {
  color: #1F1F1F;
}

.slot-option.disabled {
  background: var(--bg-secondary);
  border-color: var(--border-primary);
  cursor: not-allowed;
  opacity: 0.5;
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.slot-option .slot-icon {
  font-size: 28px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slot-option .slot-name {
  flex: 1 1;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  transition: color var(--transition-normal);
}

.slot-option .slot-status {
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 8px;
}

.slot-option .slot-status.available {
  background: #D1FAE5;
  color: #059669;
}

.slot-option .slot-status.unavailable {
  background: #FEE2E2;
  color: #DC2626;
}

/* Move Button */
.move-slot-btn {
  width: 100%;
  padding: 18px 24px;
  background: linear-gradient(135deg, #8AC0D5 0%, #EC4899 100%);
  color: white;
  border: none;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 6px 20px rgba(138, 192, 213, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  animation: slideInUp 0.4s ease;
  position: relative;
  overflow: hidden;
}

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

.move-slot-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.move-slot-btn:hover::before {
  left: 100%;
}

.move-slot-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(138, 192, 213, 0.5);
}

.move-slot-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(138, 192, 213, 0.4);
}

.move-slot-btn:disabled {
  background: #E5E7EB;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* Slots List */
.slots-list {
  margin-top: 20px;
}

.slots-list h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1F1F1F;
  margin: 0 0 16px 0;
}

.slots-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Slot Item */
.slot-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 2px solid var(--border-primary);
  border-radius: 12px;
  background: var(--bg-card);
  transition: all 0.3s ease;
  cursor: pointer;
}

.slot-item.available {
  border-color: #10B981;
  background: var(--alert-success-bg);
  transition: background-color var(--transition-normal);
}

.slot-item.available:hover {
  border-color: #059669;
  background: var(--alert-success-border);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.slot-item.occupied {
  background: var(--alert-error-bg);
  border-color: var(--alert-error-border);
  cursor: not-allowed;
  opacity: 0.6;
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.slot-item.current {
  background: linear-gradient(135deg, rgba(138, 192, 213, 0.15) 0%, rgba(236, 72, 153, 0.15) 100%);
  border-color: #8AC0D5;
  border-width: 3px;
  cursor: not-allowed;
}

.slot-item .slot-icon {
  font-size: 32px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border-radius: 10px;
  flex-shrink: 0;
  transition: background-color var(--transition-normal);
}

.slot-item.available .slot-icon {
  background: #DCFCE7;
}

.slot-item.occupied .slot-icon {
  background: #FEE2E2;
}

.slot-item.current .slot-icon {
  background: rgba(138, 192, 213, 0.2);
}

.slot-item.disabled {
  background: #F9FAFB;
  border-color: #E5E7EB;
  cursor: not-allowed;
  opacity: 0.5;
}

.slot-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1;
}

.slot-name {
  font-size: 18px;
  font-weight: 700;
  color: #1F1F1F;
}

.slot-status {
  font-size: 13px;
  font-weight: 600;
}

.available-text {
  color: #10B981;
}

.occupied-text {
  color: #EF4444;
}

.current-text {
  color: #8AC0D5;
}

.past-text {
  color: var(--text-tertiary);
  transition: color var(--transition-normal);
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-overlay);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Modal Content */
.modal-content {
  background: var(--bg-card);
  border-radius: 24px;
  width: 90%;
  max-width: 480px;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.3s ease;
  overflow: hidden;
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

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

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid var(--border-secondary);
  transition: border-color var(--transition-normal);
}

.modal-header h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  transition: color var(--transition-normal);
}

.modal-close {
  background: var(--bg-hover);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 24px;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: var(--border-primary);
  color: var(--text-primary);
  transform: rotate(90deg);
}

.modal-body {
  padding: 32px 24px;
  text-align: center;
}

.modal-icon {
  font-size: 64px;
  margin-bottom: 20px;
  animation: bounce 0.6s ease;
}

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

.modal-subject {
  font-size: 16px;
  color: var(--text-secondary);
  transition: color var(--transition-normal);
  margin: 0 0 24px 0;
}

.modal-subject strong {
  color: #8AC0D5;
  font-size: 18px;
}

.modal-move-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(135deg, #F0FDF4 0%, #E0F2FE 100%);
  padding: 20px;
  border-radius: 16px;
  margin-top: 20px;
}

.modal-from,
.modal-to {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1;
}

.modal-label {
  font-size: 12px;
  font-weight: 600;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-date {
  font-size: 14px;
  font-weight: 600;
  color: #1F1F1F;
}

.modal-time {
  font-size: 16px;
  font-weight: 700;
  color: #8AC0D5;
}

.modal-specific-time {
  font-size: 13px;
  font-weight: 600;
  color: #6B7280;
  margin-top: 4px;
}

.modal-arrow {
  font-size: 32px;
  color: #8AC0D5;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

.modal-footer {
  display: flex;
  gap: 12px;
  padding: 20px 24px;
  background: var(--bg-secondary);
  transition: background-color var(--transition-normal);
}

.modal-btn {
  flex: 1 1;
  padding: 14px 24px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-cancel {
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 2px solid var(--border-primary);
  transition: all 0.3s ease;
}

.modal-cancel:hover {
  background: var(--bg-hover);
  border-color: var(--border-secondary);
}

.modal-confirm {
  background: linear-gradient(135deg, #8AC0D5 0%, #EC4899 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(138, 192, 213, 0.4);
}

.modal-confirm:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(138, 192, 213, 0.5);
}

.modal-confirm.warning {
  background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
}

.modal-confirm.danger {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
}

.confirm-modal .confirm-message {
  text-align: center;
  font-size: 16px;
  color: #6B7280;
  margin-top: 16px;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
  margin-bottom: 80px;
}

.cancel-slot-btn,
.delete-slot-btn {
  padding: 14px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cancel-slot-btn {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.cancel-slot-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

.delete-slot-btn {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.delete-slot-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.4);
}

/* Desktop Responsive */
@media (min-width: 768px) {
  .slot-detail-main {
    padding: 20px 40px;
    max-width: 1000px;
    margin: 0 auto;
  }
}

@media (min-width: 1024px) {
  .slot-detail-page {
    padding-bottom: 20px;
  }

  .bottom-nav {
    display: none;
  }
}

/* Desktop Responsive */
@media (min-width: 768px) {
  .slot-detail-main {
    padding: 20px 40px;
    max-width: 1000px;
    margin: 0 auto;
  }
}

@media (min-width: 1024px) {
  .slot-detail-page {
    padding-bottom: 20px;
  }

  .bottom-nav {
    display: none;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .weekly-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 480px) {
  .weekly-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .slot-detail-main {
    padding: 16px;
  }
  

}

/* Mobile Fix - Override container styles */
@media (max-width: 1023px) {
  .slot-detail-container {
    display: block !important;
  }
  
  .slot-detail-page {
    flex: none !important;
    width: 100% !important;
    padding-bottom: 80px !important;
  }
  
  .sidebar-nav {
    display: none !important;
  }
}

/* Mood Calendar Component */
.mood-calendar {
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow-card);
  position: static;
  overflow: visible;
}

/* Calendar Header */
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.calendar-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.nav-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--bg-hover);
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  color: var(--text-secondary);
}

.nav-btn:active {
  transform: scale(0.95);
}

.nav-btn:hover {
  background: var(--border-primary);
  color: var(--text-primary);
}

/* Week Days */
.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-gap: 4px;
  gap: 4px;
  margin-bottom: 8px;
}

.weekday {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 0;
  min-width: 0;
}

/* Calendar Grid */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-gap: 4px;
  gap: 4px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  background: var(--bg-hover);
  min-width: 0;
  overflow: hidden;
}

.calendar-day.empty {
  background: transparent;
  cursor: default;
}

.calendar-day:not(.empty):hover {
  background: var(--border-primary);
  transform: scale(1.05);
}

.calendar-day.today {
  background: rgba(33, 150, 243, 0.1);
  border: 1px solid #2196F3;
}

.calendar-day.has-mood {
  background: rgba(255, 107, 157, 0.1);
  border: 1px solid rgba(255, 107, 157, 0.3);
}

.calendar-day.has-mood:hover {
  border-color: #FF6B9D;
  transform: scale(1.05);
}

.day-number {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

[data-theme="dark"] .day-number {
  color: #ffffff;
}

/* Hide day number when mood exists */
.calendar-day.has-mood .day-number {
  opacity: 0;
  transform: translateY(100%);
}

/* Show day number on hover with roll-up effect */
.calendar-day.has-mood:hover .day-number {
  opacity: 1;
  transform: translateY(0);
}

.day-mood {
  font-size: 18px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

/* Roll up mood icon on hover */
.calendar-day.has-mood:hover .day-mood {
  transform: translate(-50%, -150%);
  opacity: 0;
}

/* Mood Detail Modal */
.mood-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  animation: fadeIn 0.3s ease;
  margin: 0;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.mood-modal {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  max-width: 420px;
  width: 100%;
  max-height: 85vh;
  overflow: hidden;
  animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

[data-theme="dark"] .mood-modal {
  background: rgba(30, 26, 46, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.mood-modal > * {
  overflow-y: auto;
  max-height: 85vh;
}

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

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 20px 24px;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.1) 0%, rgba(96, 165, 250, 0.1) 100%);
  border-bottom: 1px solid rgba(167, 139, 250, 0.2);
}

[data-theme="dark"] .modal-header {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.15) 0%, rgba(96, 165, 250, 0.15) 100%);
  border-bottom: 1px solid rgba(167, 139, 250, 0.25);
}

.modal-header h3 {
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, #a78bfa 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  letter-spacing: -0.3px;
}

.close-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(167, 139, 250, 0.1);
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a78bfa;
  transition: all 0.3s ease;
  font-weight: 300;
}

.close-btn:hover {
  background: linear-gradient(135deg, #a78bfa 0%, #60a5fa 100%);
  color: white;
  transform: rotate(90deg);
}

.close-btn:active {
  transform: rotate(90deg) scale(0.9);
}

.modal-content {
  padding: 28px 24px 24px 24px;
}

.modal-mood {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px 24px;
  background: linear-gradient(135deg, #fce7f3 0%, #f3e8ff 100%);
  border-radius: 20px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(255, 107, 157, 0.15);
}

[data-theme="dark"] .modal-mood {
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.2) 0%, rgba(167, 139, 250, 0.2) 100%);
  box-shadow: 0 4px 20px rgba(255, 107, 157, 0.2);
}

.modal-mood::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.modal-emoji {
  font-size: 80px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
  animation: gentle-bounce 2s ease-in-out infinite;
}

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

.modal-label {
  font-size: 22px;
  font-weight: 700;
  background: linear-gradient(135deg, #FF6B9D 0%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.modal-energy,
.modal-emotions,
.modal-note {
  margin-bottom: 20px;
  padding: 16px;
  background: rgba(167, 139, 250, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(167, 139, 250, 0.1);
  transition: all 0.3s ease;
}

[data-theme="dark"] .modal-energy,
[data-theme="dark"] .modal-emotions,
[data-theme="dark"] .modal-note {
  background: rgba(167, 139, 250, 0.08);
  border: 1px solid rgba(167, 139, 250, 0.15);
}

.modal-energy:hover,
.modal-emotions:hover,
.modal-note:hover {
  background: rgba(167, 139, 250, 0.08);
  border-color: rgba(167, 139, 250, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(167, 139, 250, 0.1);
}

.modal-field-label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 10px;
}

[data-theme="dark"] .modal-field-label {
  color: #9ca3af;
}

.modal-field-value {
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(135deg, #FF6B9D 0%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modal-emotion-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.modal-emotion-tag {
  padding: 8px 16px;
  background: linear-gradient(135deg, #a78bfa 0%, #60a5fa 100%);
  color: white;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(167, 139, 250, 0.3);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-emotion-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(167, 139, 250, 0.4);
}

.modal-note p {
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.7;
  margin: 0;
  padding: 0;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 480px) {
  .mood-calendar {
    padding: 12px;
  }
  
  .calendar-header {
    margin-bottom: 10px;
  }
  
  .calendar-title {
    font-size: 14px;
  }
  
  .nav-btn {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
  
  .calendar-weekdays {
    gap: 2px;
    margin-bottom: 6px;
  }
  
  .calendar-grid {
    gap: 2px;
  }
  
  .weekday {
    font-size: 10px;
    padding: 4px 0;
  }
  
  .day-number {
    font-size: 10px;
  }
  
  .day-mood {
    font-size: 14px;
    margin-top: 1px;
  }
  
  .calendar-day {
    border-radius: 6px;
    min-height: 36px;
  }
  
  .modal-content {
    padding: 20px 16px 16px 16px;
  }
  
  .modal-header {
    padding: 20px 16px 16px 16px;
  }
  
  .modal-header h3 {
    font-size: 18px;
  }
  
  .modal-emoji {
    font-size: 64px;
  }
  
  .modal-label {
    font-size: 18px;
  }
  
  .modal-mood {
    padding: 24px 16px;
  }
}

@media (min-width: 481px) and (max-width: 767px) {
  .mood-calendar {
    padding: 14px;
  }
  
  .calendar-grid {
    gap: 4px;
  }
  
  .weekday {
    font-size: 11px;
  }
  
  .day-number {
    font-size: 11px;
  }
  
  .day-mood {
    font-size: 16px;
  }
}

@media (min-width: 768px) {
  .mood-calendar {
    padding: 10px;
  }
  
  .calendar-header {
    margin-bottom: 20px;
  }
  
  .calendar-title {
    font-size: 18px;
  }
  
  .nav-btn {
    width: 36px;
    height: 36px;
  }
  
  .calendar-grid {
    gap: 6px;
  }
  
  .day-number {
    font-size: 13px;
  }
  
  .day-mood {
    font-size: 20px;
  }
}

/* Fade In Animation */
@keyframes moodHistoryFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mood History Page Container */
.mood-history-page {
  display: flex;
  min-height: 100vh;
  background: linear-gradient(
    180deg,
    #e8d5f0 0%,
    #f5e6f0 15%,
    #f8f0f5 30%,
    #f5f0f8 50%,
    #f0e8f5 70%,
    #f5e0f0 85%,
    #f8d8e8 100%
  );
  transition: background-color var(--transition-normal);
}

[data-theme="dark"] .mood-history-page {
  background: linear-gradient(
    180deg,
    #1a1625 0%,
    #1e1a2e 15%,
    #221e35 30%,
    #1e1a2e 50%,
    #1a1625 70%,
    #1e1a2e 85%,
    #221e35 100%
  );
}

.mood-history-wrapper {
  flex: 1 1;
  display: flex;
  flex-direction: column;
}

.mood-history-content {
  padding: 24px 20px;
  padding-bottom: 100px;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

.mood-history-content > * {
  animation: moodHistoryFadeIn 0.4s ease-out backwards;
}

.mood-history-content > *:nth-child(1) {
  animation-delay: 0.05s;
}
.mood-history-content > *:nth-child(2) {
  animation-delay: 0.1s;
}
.mood-history-content > *:nth-child(3) {
  animation-delay: 0.15s;
}
.mood-history-content > *:nth-child(4) {
  animation-delay: 0.2s;
}

/* Page Title */
.mood-history-page-title {
  font-size: 30px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 24px 0;
  text-align: center;
}

[data-theme="dark"] .mood-history-page-title {
  background: linear-gradient(135deg, #F0C5D5 0%, #D4B5D8 50%, #8AC0D5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Desktop */
@media (min-width: 1024px) {
  .mood-history-content {
    padding: 32px 40px;
    max-width: 800px;
  }

  .mood-history-wrapper {
    padding-bottom: 20px;
  }

  .bottom-nav {
    display: none;
  }
}

/* Stats Card Section */
.mood-history-stats-card {
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

[data-theme="dark"] .mood-history-stats-card {
  background: rgba(30, 26, 46, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
  .mood-history-stats-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  }
}

.mood-history-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 16px;
  gap: 16px;
}

@media (max-width: 480px) {
  .mood-history-stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.mood-history-stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 480px) {
  .mood-history-stat-item {
    padding: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 16px;
  }

  [data-theme="dark"] .mood-history-stat-item {
    background: rgba(255, 255, 255, 0.05);
  }
}

.mood-history-stat-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mood-history-stat-emoji {
  font-size: 24px;
}

.mood-history-icon-bg-pink {
  background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
}

[data-theme="dark"] .mood-history-icon-bg-pink {
  background: linear-gradient(135deg, #831843 0%, #9f1239 100%);
}

.mood-history-icon-bg-yellow {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

[data-theme="dark"] .mood-history-icon-bg-yellow {
  background: linear-gradient(135deg, #78350f 0%, #92400e 100%);
}

.mood-history-icon-bg-blue {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

[data-theme="dark"] .mood-history-icon-bg-blue {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
}

.mood-history-stat-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1;
}

.mood-history-stat-label {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.2;
}

@media (max-width: 480px) {
  .mood-history-stat-label {
    font-size: 12px;
  }
}

.mood-history-stat-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

@media (max-width: 480px) {
  .mood-history-stat-value {
    font-size: 18px;
  }
}

/* Calendar Card Section */
.mood-history-calendar-card {
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  position: relative;
  overflow: visible;
}

[data-theme="dark"] .mood-history-calendar-card {
  background: rgba(30, 26, 46, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
  .mood-history-calendar-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  }
}

.mood-history-card-section-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 16px 0;
  letter-spacing: -0.2px;
  margin-bottom: 10px;
}

/* Emotions Card Section */
.mood-history-emotions-card {
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

[data-theme="dark"] .mood-history-emotions-card {
  background: rgba(30, 26, 46, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
  .mood-history-emotions-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  }
}

.mood-history-emotion-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mood-history-emotion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 0;
}

.mood-history-emotion-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  min-width: 100px;
  flex-shrink: 0;
}

.mood-history-emotion-bar-container {
  flex: 1 1;
  height: 10px;
  background: rgba(167, 139, 250, 0.15);
  border-radius: 8px;
  overflow: hidden;
}

[data-theme="dark"] .mood-history-emotion-bar-container {
  background: rgba(167, 139, 250, 0.2);
}

.mood-history-emotion-bar {
  height: 100%;
  background: linear-gradient(90deg, #a78bfa 0%, #60a5fa 100%);
  border-radius: 8px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.mood-history-emotion-count {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  min-width: 35px;
  text-align: right;
  flex-shrink: 0;
}

/* Loading State */
.mood-history-loading-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: var(--text-secondary);
}

.mood-history-loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(167, 139, 250, 0.2);
  border-top-color: #a78bfa;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Empty State Card */
.mood-history-empty-state-card {
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 48px 32px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

[data-theme="dark"] .mood-history-empty-state-card {
  background: rgba(30, 26, 46, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
  .mood-history-empty-state-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  }
}

.mood-history-empty-icon {
  font-size: 64px;
  margin-bottom: 20px;
  opacity: 0.7;
  filter: grayscale(20%);
}

.mood-history-empty-state-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 12px 0;
  letter-spacing: -0.3px;
}

.mood-history-empty-state-card p {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0 0 24px 0;
  max-width: 300px;
  line-height: 1.5;
}

.mood-history-start-btn {
  padding: 14px 36px;
  background: linear-gradient(135deg, #a78bfa 0%, #60a5fa 100%);
  color: white;
  border: none;
  border-radius: 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(167, 139, 250, 0.3);
}

.mood-history-start-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(167, 139, 250, 0.4);
}

.mood-history-start-btn:active {
  transform: scale(0.98);
}

/* Add Mood FAB */
.mood-history-add-mood-fab {
  position: fixed;
  bottom: 100px;
  right: 20px;
  width: auto;
  height: 56px;
  padding: 0 20px;
  border-radius: 28px;
  background: linear-gradient(135deg, #FF6B9D 0%, #FFA8C5 100%);
  border: none;
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255, 107, 157, 0.4);
  transition: all 0.3s ease;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.mood-history-fab-icon {
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.3s ease;
}

.mood-history-fab-label {
  max-width: 0;
  opacity: 0;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.mood-history-add-mood-fab:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 107, 157, 0.5);
  padding-right: 24px;
}

.mood-history-add-mood-fab:hover .mood-history-fab-icon {
  transform: rotate(90deg);
}

.mood-history-add-mood-fab:hover .mood-history-fab-label {
  max-width: 100px;
  opacity: 1;
  margin-left: 4px;
}

.mood-history-add-mood-fab:active {
  transform: scale(0.95);
}

/* Mobile adjustments for FAB */
@media (max-width: 480px) {
  .mood-history-add-mood-fab {
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
  }
  
  .mood-history-fab-label {
    display: none;
  }
  
  .mood-history-add-mood-fab:hover {
    padding: 0;
    width: 56px;
  }
  
  .mood-history-add-mood-fab:hover .mood-history-fab-label {
    display: none;
  }
}

/* === FAB Breathing + Floating Icon (Mobile only) === */
@keyframes fab-breathe {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 16px rgba(255, 107, 157, 0.4);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 6px 22px rgba(255, 107, 157, 0.55);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 16px rgba(255, 107, 157, 0.4);
  }
}

@keyframes float-icon {
  0% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}

/* Chỉ áp dụng cho app (mobile / tablet) */
@media (max-width: 768px) {
  .mood-history-add-mood-fab {
    animation: fab-breathe 3s ease-in-out infinite;
  }

  .mood-history-add-mood-fab .mood-history-fab-icon {
    animation: float-icon 2s ease-in-out infinite;
  }
}

@keyframes hint-label {
  0%, 80% { opacity: 0; max-width: 0; }
  100% { opacity: 1; max-width: 100px; }
}

@media (max-width: 768px) {
  .mood-history-fab-label {
    animation: hint-label 6s infinite;
  }
}

/* Fade In Animation */
@keyframes trackerFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Study Tracker Container */
.study-tracker-container {
  display: flex;
  min-height: 100vh;
  background: linear-gradient(
    180deg,
    #e8d5f0 0%,
    #f5e6f0 15%,
    #f8f0f5 30%,
    #f5f0f8 50%,
    #f0e8f5 70%,
    #f5e0f0 85%,
    #f8d8e8 100%
  );
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

[data-theme="dark"] .study-tracker-container {
  background: linear-gradient(
    180deg,
    #1a1625 0%,
    #1e1a2e 15%,
    #221e35 30%,
    #1e1a2e 50%,
    #1a1625 70%,
    #1e1a2e 85%,
    #221e35 100%
  );
}

.study-tracker {
  flex: 1 1;
  min-height: 100vh;
  padding-bottom: 120px;
  transition: background-color var(--transition-normal);
  animation: trackerFadeIn 0.4s ease-out;
}

.study-tracker > * {
  animation: trackerFadeIn 0.4s ease-out;
}

.study-tracker > *:nth-child(1) { animation-delay: 0s; }
.study-tracker > *:nth-child(2) { animation-delay: 0.05s; }
.study-tracker > *:nth-child(3) { animation-delay: 0.1s; }
.study-tracker > *:nth-child(4) { animation-delay: 0.15s; }
.study-tracker > *:nth-child(5) { animation-delay: 0.2s; }
.study-tracker > *:nth-child(6) { animation-delay: 0.25s; }

.tracker-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 20px;
  border-bottom: none;
  margin: 0;
  width: 100%;
  position: relative;
}

.tracker-header .header-spacer {
  width: 40px;
  height: 40px;
}

.tracker-page-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  letter-spacing: -0.5px;
}

[data-theme="dark"] .tracker-page-title {
  background: linear-gradient(135deg, #F0C5D5 0%, #D4B5D8 50%, #8AC0D5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.tracker-header .back-button {
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  z-index: 1;
}

[data-theme="dark"] .tracker-header .back-button {
  background: rgba(30, 26, 46, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tracker-header .back-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.tracker-header .back-button:active {
  transform: scale(0.95);
}

.tracker-header .back-button svg {
  color: var(--text-primary);
}

.tracker-header .notification-btn {
  z-index: 1;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.tracker-main {
  padding: 10px 20px;
  margin-bottom: -60px;
}

/* Water Drops Weekly Progress */
.weekly-progress-drops {
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 24px 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

[data-theme="dark"] .weekly-progress-drops {
  background: rgba(30, 26, 46, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
  .weekly-progress-drops:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  }
}

.drops-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.drops-header h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.3px;
}

.week-navigation {
  display: flex;
  align-items: center;
  gap: 12px;
}

.week-navigation button {
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.2);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  color: #a78bfa;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-weight: 600;
}

.week-navigation button:hover {
  background: linear-gradient(135deg, #a78bfa 0%, #60a5fa 100%);
  color: white;
  border-color: transparent;
}

.week-navigation button:active {
  transform: scale(0.95);
}

.week-navigation span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  min-width: 80px;
  text-align: center;
}

/* Water Drops Grid */
.water-drops-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-gap: 16px;
  gap: 16px;
}

@media (max-width: 1024px) {
  .water-drops-grid {
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .water-drops-grid {
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .water-drops-grid {
    gap: 4px;
  }
}

/* Calendar Days Grid */
.water-drops-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-gap: 8px;
  gap: 8px;
}

@media (max-width: 1024px) {
  .water-drops-grid {
    gap: 6px;
  }
}

@media (max-width: 768px) {
  .water-drops-grid {
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .water-drops-grid {
    gap: 6px;
  }
}

.streak-day {
  aspect-ratio: 1;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  min-height: 70px;
  overflow: hidden;
  animation: fadeInScale 0.5s ease-out backwards;
}

[data-theme="dark"] .streak-day {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.streak-day:nth-child(1) { animation-delay: 0.05s; }
.streak-day:nth-child(2) { animation-delay: 0.1s; }
.streak-day:nth-child(3) { animation-delay: 0.15s; }
.streak-day:nth-child(4) { animation-delay: 0.2s; }
.streak-day:nth-child(5) { animation-delay: 0.25s; }
.streak-day:nth-child(6) { animation-delay: 0.3s; }
.streak-day:nth-child(7) { animation-delay: 0.35s; }

.water-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(167, 139, 250, 0.4) 0%, rgba(167, 139, 250, 0.6) 100%);
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0 0 8px 8px;
}

.water-fill::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -50%;
  right: -50%;
  height: 20px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: wave 3s ease-in-out infinite;
}

@keyframes wave {
  0%, 100% {
    transform: translateX(0) translateY(0);
  }
  50% {
    transform: translateX(10%) translateY(-2px);
  }
}

.day-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.streak-day:hover {
  border-color: #a78bfa;
  box-shadow: 0 4px 16px rgba(167, 139, 250, 0.25);
  transform: translateY(-4px) scale(1.05);
}

.streak-day:hover .day-content {
  transform: scale(1.1);
}

.streak-day:hover .water-fill {
  background: linear-gradient(180deg, rgba(167, 139, 250, 0.5) 0%, rgba(167, 139, 250, 0.7) 100%);
}

.streak-day:active {
  transform: translateY(-2px) scale(1.02);
}

.streak-day.today {
  border-color: #7c3aed;
  border-width: 2px;
  box-shadow: 0 2px 12px rgba(124, 58, 237, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 2px 12px rgba(124, 58, 237, 0.3);
  }
  50% {
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.5);
  }
}

.streak-day.today .water-fill {
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.5) 0%, rgba(124, 58, 237, 0.7) 100%);
}

.streak-day.today .water-fill::before {
  background: rgba(255, 255, 255, 0.4);
  animation: wave 2s ease-in-out infinite;
}

.day-number {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

[data-theme="dark"] .day-number {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.streak-day:hover .day-number {
  color: #7c3aed;
  transform: scale(1.1);
  text-shadow: 0 2px 4px rgba(124, 58, 237, 0.2);
}

.streak-day.today .day-number {
  color: #6b21a8;
  font-weight: 700;
  animation: bounce 2s ease-in-out infinite;
}

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

@media (max-width: 768px) {
  .streak-day {
    border-radius: 6px;
    min-height: 50px;
  }
  
  .streak-day .water-fill {
    border-radius: 0 0 6px 6px;
  }
  
  .streak-day .day-number {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .streak-day {
    border-radius: 4px;
    min-height: 45px;
  }
  
  .streak-day .water-fill {
    border-radius: 0 0 4px 4px;
  }
  
  .streak-day .day-number {
    font-size: 16px;
  }
}

.back-button {
  background: var(--bg-input);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.back-button svg {
  color: var(--text-secondary);
}

.back-button:active {
  transform: scale(0.95);
  background: var(--bg-hover);
}

.tracker-title-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1;
}

.notification-btn {
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: all 0.3s ease;
}

[data-theme="dark"] .notification-btn {
  background: rgba(30, 26, 46, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.notification-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.notification-btn:active {
  transform: scale(0.95);
}

.notification-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: #E85D75;
  border-radius: 50%;
  border: 2px solid var(--bg-card);
  transition: border-color var(--transition-normal);
}

/* Weekly Schedule */
.weekly-schedule {
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 24px 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.8);
  overflow: hidden;
  transition: all 0.3s ease;
}

[data-theme="dark"] .weekly-schedule {
  background: rgba(30, 26, 46, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
  .weekly-schedule:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  }
}

.schedule-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.schedule-header h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.3px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.3px;
}

.week-navigation {
  display: flex;
  align-items: center;
  gap: 0px;
}

.week-navigation button {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-secondary);
  padding: 4px 8px;
  transition: color var(--transition-normal);
}

.week-navigation span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  transition: color var(--transition-normal);
}

.schedule-grid {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.schedule-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-bottom: 6px;
  min-width: 430px;
}

.schedule-row .day-header,
.schedule-row .schedule-cell {
  flex: 1 1;
}

.schedule-row .time-slot-label {
  flex: 0 0 36px;
  width: 36px;
}

.schedule-row.header-row {
  margin-bottom: 12px;
}

.time-slot-label {
  display: flex;
  align-items: center;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-normal);
}

.day-header {
  text-align: center;
  padding: 6px 2px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(240, 197, 213, 0.15) 0%, rgba(138, 192, 213, 0.15) 100%);
}

.day-header.today {
  background: linear-gradient(135deg, #8AC0D5 0%, #6DBAD7 100%);
  color: white;
  border: 2px solid #6DBAD7;
}

.day-name {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-primary);
  transition: color var(--transition-normal);
}

.day-date {
  font-size: 9px;
  color: var(--text-secondary);
  transition: color var(--transition-normal);
}

.day-header.today .day-name,
.day-header.today .day-date {
  color: white;
}

.time-header {
  text-align: center;
  padding: 8px 4px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(240, 197, 213, 0.15) 0%, rgba(138, 192, 213, 0.15) 100%);
}

.day-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(240, 197, 213, 0.15) 0%, rgba(138, 192, 213, 0.15) 100%);
}

.day-header.today {
  background: linear-gradient(135deg, #8AC0D5 0%, #6DBAD7 100%);
  color: white;
  border: 2px solid #6DBAD7;
}

.day-name {
  font-size: 12px;
  font-weight: 600;
  color: #333;
}

.day-header.today .day-name,
.day-header.today .day-date {
  color: white;
}

.day-date {
  font-size: 11px;
  color: #666;
  margin-top: 2px;
}

.schedule-cell {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px;
}

.status-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  color: white;
}

.status-icon.present {
  background-color: #6DBAD7;
}

.status-icon.absent {
  background-color: #E85D75;
}

.status-icon.scheduled {
  /* Future sessions - has subject color but shows dash */
  color: white;
  font-size: 24px;
  font-weight: normal;
}

.status-icon.no-slot {
  background-color: transparent;
  border: 2px solid #ddd;
  color: #999;
  font-size: 24px;
}

.schedule-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #666;
}

.legend-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  color: white;
}

.legend-icon.present {
  background-color: #6DBAD7;
}

.legend-icon.absent {
  background-color: #E85D75;
}

.legend-icon.no-slot {
  border: 2px solid var(--border-primary);
  color: var(--text-tertiary);
  background-color: transparent;
  transition: border-color var(--transition-normal), color var(--transition-normal);
}

/* Subject Legend */
.subject-legend {
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 24px 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

[data-theme="dark"] .subject-legend {
  background: rgba(30, 26, 46, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
  .subject-legend:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  }
}

.subject-legend h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 16px 0;
  letter-spacing: -0.3px;
}

.subjects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 12px;
  gap: 12px;
}

.subject-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 8px;
}

.subject-item:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
  transform: translateX(4px);
}

.subject-color {
  width: 20px;
  height: 20px;
  border-radius: 4px;
}

/* Today's Progress */
.today-progress {
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 24px 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

[data-theme="dark"] .today-progress {
  background: rgba(30, 26, 46, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
  .today-progress:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  }
}

.today-progress h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 20px 0;
  letter-spacing: -0.3px;
}

/* Study Streak Calendar */
.streak-calendar {
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 24px 20px;
  padding-bottom: 30px;
  margin-bottom: 100px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

[data-theme="dark"] .streak-calendar {
  background: rgba(30, 26, 46, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
  .streak-calendar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  }
}

.streak-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.streak-calendar h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.3px;
}

/* Streak Stats */
.streak-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 16px;
  gap: 16px;
  padding: 24px 0 0 0;
  margin-top: 24px;
  border-top: 1px solid rgba(167, 139, 250, 0.2);
}

.streak-stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.05) 0%, rgba(96, 165, 250, 0.05) 100%);
  border-radius: 16px;
  border: 1px solid rgba(167, 139, 250, 0.1);
  transition: all 0.3s ease;
}

[data-theme="dark"] .streak-stat-item {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.08) 0%, rgba(96, 165, 250, 0.08) 100%);
  border: 1px solid rgba(167, 139, 250, 0.15);
}

.streak-stat-item:hover {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.1) 0%, rgba(96, 165, 250, 0.1) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(167, 139, 250, 0.1);
}

.streak-stat-item .streak-icon {
  font-size: 28px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.6) 100%);
  border-radius: 12px;
  border: 1px solid rgba(167, 139, 250, 0.2);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.05));
}

[data-theme="dark"] .streak-stat-item .streak-icon {
  background: linear-gradient(135deg, rgba(30, 26, 46, 0.8) 0%, rgba(30, 26, 46, 0.6) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.streak-stat-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.streak-stat-value {
  font-size: 22px;
  font-weight: 700;
  background: linear-gradient(135deg, #a78bfa 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.streak-stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
  letter-spacing: -0.2px;
}

@media (max-width: 768px) {
  .streak-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .streak-stat-item {
    padding: 14px;
  }
  
  .streak-icon {
    font-size: 32px;
  }
  
  .streak-stat-value {
    font-size: 22px;
  }
  
  .streak-stat-label {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .streak-stats {
    gap: 10px;
    margin-top: 12px;
  }
  
  .streak-stat-item {
    padding: 12px;
  }
  
  .streak-icon {
    font-size: 28px;
  }
  
  .streak-stat-value {
    font-size: 20px;
  }
  
  .streak-stat-label {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .study-tracker {
    padding: 8px;
  }
  
  .weekly-schedule,
  .streak-calendar,
  .subject-legend,
  .today-progress {
    padding: 16px;
  }
  
  .schedule-header,
  .streak-header {
    margin-bottom: 12px;
  }
  
  .schedule-header h2,
  .streak-header h3 {
    font-size: 18px;
  }

  .schedule-row {
    grid-template-columns: 40px repeat(6, 1fr);
    gap: 4px;
  }

  .status-icon {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }

  .day-header {
    padding: 6px 2px;
  }

  .day-name {
    font-size: 11px;
  }

  .day-date {
    font-size: 10px;
  }
  
  .week-navigation button {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }
  
  .week-navigation span {
    font-size: 12px;
  }
}

/* Desktop Responsive */
@media (min-width: 768px) {
  .tracker-main {
    padding: 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
  }
}

@media (min-width: 1024px) {
  .study-tracker {
    padding-bottom: 40px;
  }

  .bottom-nav {
    display: none;
  }
}

/* Progress Bar Fill - ADDED */
.progress-bar-fill {
  height: 100%;
  background: var(--primary-gradient);
  border-radius: 4px;
  transition: width 0.3s ease;
}

/* Progress Bar Fill */
.progress-bar-fill {
  height: 100%;
  background: var(--primary-gradient);
  border-radius: 4px;
  transition: width 0.3s ease;
}

/* Desktop Enhancements - Only apply on larger screens */
@media (min-width: 768px) {
  .tracker-main {
    padding: 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .schedule-row {
    gap: 12px;
  }
  
  .schedule-row .day-header,
  .schedule-row .schedule-cell {
    min-width: 70px;
  }

  .day-name {
    font-size: 13px;
  }

  .day-date {
    font-size: 11px;
  }

  .status-icon {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .today-progress h3 {
    font-size: 20px;
  }

  .progress-bar-container {
    height: 10px;
  }
}

@media (min-width: 1024px) {
  .study-tracker {
    padding-bottom: 40px;
  }

  .bottom-nav {
    display: none;
  }

  .schedule-row {
    gap: 16px;
  }
  
  .schedule-row .day-header,
  .schedule-row .schedule-cell {
    min-width: 90px;
  }

  .day-name {
    font-size: 15px;
  }

  .day-date {
    font-size: 13px;
  }

  .status-icon {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  .today-progress h3 {
    font-size: 22px;
  }
}

@media (min-width: 1200px) {
  .schedule-row .day-header,
  .schedule-row .schedule-cell {
    min-width: 110px;
  }

  .status-icon {
    width: 50px;
    height: 50px;
    font-size: 26px;
  }
}


/* Mobile Fix - Override container styles */
@media (max-width: 1023px) {
  .study-tracker-container {
    display: block !important;
  }
  
  .study-tracker {
    flex: none !important;
    width: 100% !important;
    padding-bottom: 80px !important;
  }
  
  .sidebar-nav {
    display: none !important;
  }
}

/* Subject Detail Container */
.subject-detail-container {
  display: flex;
  min-height: 100vh;
  background: linear-gradient(
    180deg,
    #e8d5f0 0%,
    #f5e6f0 15%,
    #f8f0f5 30%,
    #f5f0f8 50%,
    #f0e8f5 70%,
    #f5e0f0 85%,
    #f8d8e8 100%
  );
}

[data-theme="dark"] .subject-detail-container {
  background: linear-gradient(
    180deg,
    #1a1625 0%,
    #1e1a2e 15%,
    #221e35 30%,
    #1e1a2e 50%,
    #1a1625 70%,
    #1e1a2e 85%,
    #221e35 100%
  );
}

/* Subject Detail Page */
.subject-detail-page {
  flex: 1 1;
  min-height: 100vh;
  background: transparent;
  padding-bottom: 80px;
  transition: background-color var(--transition-normal);
}

.subject-detail-page .subject-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  font-size: 18px;
  color: var(--text-secondary);
}

/* Header */
.subject-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: transparent;
  position: relative;
}

.subject-detail-header .back-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  background: var(--bg-card);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--text-secondary);
}

.subject-detail-header .back-btn:hover {
  background: var(--bg-hover);
  transform: translateX(-2px);
}

.subject-detail-header .back-btn:active {
  transform: scale(0.95);
}

.subject-detail-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  text-align: center;
  flex: 1 1;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-wrap: break-word;
  padding: 0 10px;
}

[data-theme="dark"] .subject-detail-title {
  background: linear-gradient(135deg, #F0C5D5 0%, #D4B5D8 50%, #8AC0D5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.subject-detail-header .header-spacer {
  width: 36px;
}

/* Main Content */
.subject-main {
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 24px;
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Header in Main */
.subject-main-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  min-height: 36px;
}

.subject-main-header .back-btn {
  position: absolute;
  left: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  background: var(--bg-card);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.subject-main-header .back-btn:hover {
  background: var(--bg-hover);
  transform: translateX(-2px);
}

.subject-main-header .back-btn:active {
  transform: scale(0.95);
}

.subject-main-header .subject-detail-title {
  text-align: center;
  padding: 0;
  margin: 0;
  display: block;
  -webkit-box-orient: unset;
  -webkit-line-clamp: unset;
}

.subject-main-header .header-spacer {
  display: none;
}

/* Progress Card */
.subject-progress-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
}

.subject-progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.subject-progress-info h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0;
  transition: color var(--transition-normal);
}

.progress-percent {
  font-size: 32px;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all var(--transition-normal);
}

.progress-bar {
  height: 8px;
  background: var(--bg-secondary);
  border-radius: 10px;
  overflow: hidden;
  transition: background-color var(--transition-normal);
}

.progress-fill {
  height: 100%;
  background: var(--primary-gradient);
  border-radius: 10px;
  transition: width 0.5s ease;
}

.progress-hours {
  margin-top: 12px;
  text-align: center;
}

.hours-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-normal);
}

/* Section Title */
.subject-section-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 16px 0;
  transition: color var(--transition-normal);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.section-header .subject-section-title {
  margin: 0;
}

.view-all-btn {
  background: transparent;
  border: none;
  color: var(--primary-blue);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  padding: 8px 12px;
  border-radius: 8px;
}

.view-all-btn:hover {
  background: var(--bg-hover);
}

/* Weekly Schedule Section */
.weekly-schedule-section {
  background: transparent;
}

.schedule-list {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 10px;
  gap: 10px;
}

.schedule-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg-card);
  border-radius: 16px;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-card);
}

.schedule-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.schedule-day {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.schedule-day .day-name {
  font-size: 13px;
  font-weight: 600;
}

.schedule-info {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.schedule-time {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
}

.schedule-duration {
  font-size: 14px;
  color: var(--text-secondary);
}

.schedule-status {
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
}

.subject-no-sessions,
.subject-no-deadlines {
  padding: 24px;
  text-align: center;
  color: var(--text-tertiary);
  background: var(--bg-card);
  border-radius: 16px;
  font-size: 14px;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-card);
}

/* Deadlines Section */
.deadlines-section {
  background: transparent;
}

.deadlines-list {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 16px;
  gap: 16px;
  margin-bottom: 20px;
}

.deadline-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--bg-card);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(138, 192, 213, 0.1);
  position: relative;
  overflow: hidden;
}

.deadline-item::after {
  content: '';
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(138, 192, 213, 0.05) 0%, transparent 70%);
  pointer-events: none;
  transition: right 0.4s ease;
}

.deadline-item:hover::after {
  right: -50px;
}

.deadline-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(138, 192, 213, 0.15);
  border-color: rgba(138, 192, 213, 0.3);
}

.deadline-indicator {
  width: 5px;
  height: 56px;
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

.deadline-info {
  flex: 1 1;
  position: relative;
  z-index: 1;
}

.deadline-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px 0;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.deadline-due {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.due-icon {
  font-size: 16px;
  display: flex;
  align-items: center;
}

.deadline-priority {
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 12px;
  position: relative;
  z-index: 1;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Add Deadline Button */
.add-deadline-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, #8AC0D5 0%, #D4B5D8 50%, #F0C5D5 100%);
  color: white;
  border: none;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 20px rgba(138, 192, 213, 0.35);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
}

.add-deadline-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.add-deadline-btn:hover::before {
  opacity: 1;
}

.add-deadline-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(138, 192, 213, 0.5);
}

.add-deadline-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(138, 192, 213, 0.4);
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  animation: subjectFadeIn 0.3s ease;
}

@keyframes subjectFadeIn {
  from { 
    opacity: 0;
    -webkit-backdrop-filter: blur(0px);
            backdrop-filter: blur(0px);
  }
  to { 
    opacity: 1;
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
  }
}

.modal-content {
  background: var(--bg-card);
  border-radius: 24px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  animation: subjectSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(138, 192, 213, 0.2);
}

@keyframes subjectSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid rgba(138, 192, 213, 0.15);
}

.modal-header h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.02em;
}

.modal-close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, rgba(138, 192, 213, 0.1) 0%, rgba(212, 181, 216, 0.1) 100%);
  color: var(--text-secondary);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  line-height: 1;
}

.modal-close:hover {
  background: linear-gradient(135deg, rgba(138, 192, 213, 0.2) 0%, rgba(212, 181, 216, 0.2) 100%);
  color: var(--text-primary);
  transform: rotate(90deg);
}

.modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group label {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}

.form-group input,
.form-group select {
  padding: 16px 18px;
  border: 2px solid rgba(138, 192, 213, 0.2);
  border-radius: 14px;
  font-size: 16px;
  color: var(--text-primary);
  background: var(--bg-input);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #8AC0D5;
  box-shadow: 0 0 0 4px rgba(138, 192, 213, 0.15);
  transform: translateY(-2px);
}

.form-group input::placeholder {
  color: var(--text-tertiary);
}

.modal-footer {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-top: 1px solid rgba(138, 192, 213, 0.15);
}

.cancel-btn {
  flex: 1 1;
  padding: 16px;
  background: linear-gradient(135deg, rgba(138, 192, 213, 0.1) 0%, rgba(212, 181, 216, 0.1) 100%);
  color: var(--text-secondary);
  border: 1px solid rgba(138, 192, 213, 0.2);
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.01em;
}

.cancel-btn:hover {
  background: linear-gradient(135deg, rgba(138, 192, 213, 0.15) 0%, rgba(212, 181, 216, 0.15) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.submit-btn {
  flex: 1 1;
  padding: 16px;
  background: linear-gradient(135deg, #8AC0D5 0%, #D4B5D8 50%, #F0C5D5 100%);
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.01em;
  box-shadow: 0 6px 20px rgba(138, 192, 213, 0.35);
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.submit-btn:hover:not(:disabled)::before {
  opacity: 1;
}

.submit-btn:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(138, 192, 213, 0.5);
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Responsive */
@media (min-width: 1024px) {
  .subject-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    padding: 32px;
  }

  .subject-progress-card {
    grid-column: 1 / -1;
    padding: 40px;
  }

  .subject-progress-info h3 {
    font-size: 24px;
  }

  .progress-percent {
    font-size: 56px;
  }

  .progress-bar {
    height: 20px;
  }

  .hours-text {
    font-size: 18px;
  }

  .subject-section-title {
    font-size: 24px;
  }

  .schedule-list,
  .deadlines-list {
    gap: 20px;
  }

  .schedule-item,
  .deadline-item {
    padding: 24px;
  }

  .schedule-day {
    width: 72px;
    height: 72px;
  }

  .schedule-day .day-name {
    font-size: 15px;
  }

  .schedule-time {
    font-size: 17px;
  }

  .schedule-duration {
    font-size: 15px;
  }

  .schedule-status {
    font-size: 16px;
  }

  .deadline-title {
    font-size: 18px;
  }

  .deadline-due {
    font-size: 15px;
  }

  .deadline-priority {
    font-size: 14px;
    padding: 10px 18px;
  }

  .add-deadline-btn {
    padding: 20px;
    font-size: 18px;
  }
}

@media (min-width: 1440px) {
  .subject-main {
    max-width: 1600px;
    gap: 40px;
    padding: 200px;
    margin-top: -150px;
  }

  .subject-progress-card {
    padding: 48px;
  }
}

@media (max-width: 768px) {
  .subject-main {
    padding: 16px;
  }
  
  .schedule-item {
    padding: 12px;
    gap: 12px;
  }
  
  .schedule-day {
    width: 44px;
    height: 44px;
  }
  
  .schedule-day .day-name {
    font-size: 12px;
  }
}

/* Fade In Animation */
@keyframes notificationsFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Notifications Page */
.notifications-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
  padding: 24px;
  animation: notificationsFadeIn 0.4s ease-out;
}

.notifications-page > * {
  animation: notificationsFadeIn 0.4s ease-out;
}

.notifications-page > *:nth-child(1) { animation-delay: 0s; }
.notifications-page > *:nth-child(2) { animation-delay: 0.05s; }
.notifications-page > *:nth-child(3) { animation-delay: 0.1s; }
.notifications-page > *:nth-child(4) { animation-delay: 0.15s; }

.page-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding: 24px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.back-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: #F8F9FA;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #666;
}

.back-button:hover {
  background: #FF6B9D;
  color: white;
  transform: translateX(-2px);
}

.back-button svg {
  transition: transform 0.2s ease;
}

.back-button:hover svg {
  transform: translateX(-2px);
}

.page-header h1 {
  font-size: 32px;
  font-weight: 700;
  color: #1F1F1F;
  margin: 0;
}

.connection-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #F8F9FA;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: #666;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.status-dot.online {
  background: #34C759;
}

.status-dot.offline {
  background: #FF9500;
}

.header-actions {
  display: flex;
  gap: 12px;
}

.action-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.action-btn.primary {
  background: #FF6B9D;
  color: white;
}

.action-btn.primary:hover {
  background: #FF5088;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
}

.action-btn.secondary {
  background: white;
  color: #666;
  border: 1px solid #E0E0E0;
}

.action-btn.secondary:hover {
  background: #F8F9FA;
  border-color: #D0D0D0;
}

.action-btn.danger {
  background: #FF3B30;
  color: white;
}

.action-btn.danger:hover {
  background: #E63329;
}

.action-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* Filters */
.filters-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.filter-group label {
  font-size: 14px;
  font-weight: 600;
  color: #666;
  min-width: 80px;
}

.filter-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 16px;
  background: #F8F9FA;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  background: #E9ECEF;
  border-color: #D0D0D0;
}

.filter-btn.active {
  background: #FF6B9D;
  color: white;
  border-color: #FF6B9D;
  font-weight: 600;
}

/* Select All Bar */
.select-all-bar {
  padding: 16px 20px;
  background: white;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* Notifications Container */
.notifications-container {
  min-height: 400px;
}

.notifications-grid {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

/* Notification Card */
.notification-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: white;
  border-radius: 14px;
  border: 2px solid transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.notification-card:hover {
  border-color: #F0F0F0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.notification-card {
  background: #F5F5F5; /* Đã đọc - Xám nhạt */
}

.notification-card.unread {
  background: linear-gradient(135deg, #FFF0F5 0%, #FFE8F0 100%); /* Chưa đọc - Pink gradient */
  border-color: #FF6B9D;
  box-shadow: 0 2px 12px rgba(255, 107, 157, 0.15), 0 0 0 1px rgba(255, 107, 157, 0.1) inset;
}

.notification-card.unread::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, #FF6B9D 0%, #FF5A8D 100%);
  border-radius: 14px 0 0 14px;
  box-shadow: 2px 0 8px rgba(255, 107, 157, 0.3);
}

.notification-card.selected {
  border-color: #FF6B9D;
  background: #FFF5F8;
}

.select-checkbox {
  flex-shrink: 0;
}

.select-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.card-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  background: linear-gradient(135deg, #E0E0E0 0%, #D0D0D0 100%); /* Đã đọc - Xám gradient */
  border-radius: 14px;
  transition: all 0.3s ease;
}

.notification-card.unread .card-icon {
  background: linear-gradient(135deg, #FFD6E5 0%, #FFC2D8 100%); /* Chưa đọc - Pink gradient sáng */
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.25);
  transform: scale(1.05);
}

.card-content {
  flex: 1 1;
  min-width: 0;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.card-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1F1F1F;
  margin: 0;
  flex: 1 1;
}

.unread-badge {
  padding: 4px 10px;
  background: #FF6B9D;
  color: white;
  font-size: 11px;
  font-weight: 700;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-message {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 12px 0;
}

.card-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.card-time {
  color: #999;
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-time::before {
  content: '🕐';
  font-size: 12px;
}

.card-type {
  padding: 4px 10px;
  background: #F8F9FA;
  border-radius: 6px;
  color: #666;
  font-weight: 500;
}

.card-delete {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border: none;
  background: #F8F9FA;
  color: #999;
  font-size: 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  opacity: 0;
}

.notification-card:hover .card-delete {
  opacity: 1;
}

.card-delete:hover {
  background: #FFE5E5;
  color: #FF3B30;
  transform: scale(1.1);
}

/* Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  background: white;
  border-radius: 16px;
}

.empty-icon {
  font-size: 80px;
  margin-bottom: 24px;
  opacity: 0.4;
  animation: float 3s ease-in-out infinite;
}

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

.empty-state h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 0 0 8px 0;
}

.empty-state p {
  font-size: 15px;
  color: #999;
  margin: 0;
}

/* Loading State */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background: white;
  border-radius: 16px;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #F0F0F0;
  border-top-color: #FF6B9D;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-state p {
  font-size: 15px;
  color: #999;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .notifications-page {
    padding: 16px;
  }

  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
  }

  .page-header h1 {
    font-size: 24px;
  }

  .header-actions {
    width: 100%;
  }

  .action-btn {
    flex: 1 1;
  }

  .filters-section {
    padding: 16px;
  }

  .filter-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .filter-group label {
    min-width: auto;
  }

  .notification-card {
    padding: 16px;
  }

  .card-icon {
    width: 48px;
    height: 48px;
    font-size: 28px;
  }

  .card-header h3 {
    font-size: 15px;
  }

  .card-message {
    font-size: 13px;
  }
}

/* ===================================
   DARK MODE STYLES
   =================================== */

:root[data-theme="dark"] .notifications-page,
.dark-mode .notifications-page {
  background: linear-gradient(135deg, #121212 0%, #1A1A1A 100%);
}

/* Header */
:root[data-theme="dark"] .page-header,
.dark-mode .page-header {
  background: #1E1E1E;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

:root[data-theme="dark"] .page-header h1,
.dark-mode .page-header h1 {
  color: #E0E0E0;
}

:root[data-theme="dark"] .connection-status,
.dark-mode .connection-status {
  background: #2A2A2A;
  color: #A0A0A0;
}

:root[data-theme="dark"] .status-dot,
.dark-mode .status-dot {
  border: 2px solid #1E1E1E;
}

/* Action Buttons */
:root[data-theme="dark"] .action-btn.primary,
.dark-mode .action-btn.primary {
  background: #FF6B9D;
  color: #1E1E1E;
}

:root[data-theme="dark"] .action-btn.primary:hover,
.dark-mode .action-btn.primary:hover {
  background: #FF5A8D;
}

:root[data-theme="dark"] .action-btn.secondary,
.dark-mode .action-btn.secondary {
  background: #2A2A2A;
  color: #E0E0E0;
}

:root[data-theme="dark"] .action-btn.secondary:hover,
.dark-mode .action-btn.secondary:hover {
  background: #333333;
}

:root[data-theme="dark"] .action-btn.danger,
.dark-mode .action-btn.danger {
  background: rgba(255, 59, 48, 0.15);
  color: #FF6B6B;
}

:root[data-theme="dark"] .action-btn.danger:hover,
.dark-mode .action-btn.danger:hover {
  background: rgba(255, 59, 48, 0.25);
}

/* Filters */
:root[data-theme="dark"] .filters-section,
.dark-mode .filters-section {
  background: #1E1E1E;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

:root[data-theme="dark"] .filter-group label,
.dark-mode .filter-group label {
  color: #A0A0A0;
}

:root[data-theme="dark"] .filter-btn,
.dark-mode .filter-btn {
  background: #2A2A2A;
  color: #A0A0A0;
  border: 1px solid #333333;
}

:root[data-theme="dark"] .filter-btn:hover,
.dark-mode .filter-btn:hover {
  background: #333333;
  color: #E0E0E0;
}

:root[data-theme="dark"] .filter-btn.active,
.dark-mode .filter-btn.active {
  background: #FF6B9D;
  color: #1E1E1E;
  border-color: #FF6B9D;
}

/* Select All Bar */
:root[data-theme="dark"] .select-all-bar,
.dark-mode .select-all-bar {
  background: #1E1E1E;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

:root[data-theme="dark"] .checkbox-label,
.dark-mode .checkbox-label {
  color: #E0E0E0;
}

/* Notification Cards */
:root[data-theme="dark"] .notification-card,
.dark-mode .notification-card {
  background: #252525; /* Đã đọc - Xám đen */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  border: 1px solid #2A2A2A;
}

:root[data-theme="dark"] .notification-card:hover,
.dark-mode .notification-card:hover {
  background: #2D2D2D;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

:root[data-theme="dark"] .notification-card.unread,
.dark-mode .notification-card.unread {
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.18) 0%, rgba(255, 107, 157, 0.1) 100%); /* Chưa đọc - Pink dark gradient */
  border-left-color: #FF6B9D;
  box-shadow: 0 2px 12px rgba(255, 107, 157, 0.2), 0 0 0 1px rgba(255, 107, 157, 0.2) inset;
}

:root[data-theme="dark"] .notification-card.selected,
.dark-mode .notification-card.selected {
  background: rgba(255, 107, 157, 0.15);
  border-color: #FF6B9D;
}

:root[data-theme="dark"] .card-icon,
.dark-mode .card-icon {
  background: linear-gradient(135deg, #2A2A2A 0%, #222222 100%); /* Đã đọc - Xám đen gradient */
}

:root[data-theme="dark"] .notification-card.unread .card-icon,
.dark-mode .notification-card.unread .card-icon {
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.3) 0%, rgba(255, 107, 157, 0.2) 100%); /* Chưa đọc - Pink glow */
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.35);
  transform: scale(1.05);
}

:root[data-theme="dark"] .card-header h3,
.dark-mode .card-header h3 {
  color: #E0E0E0;
}

:root[data-theme="dark"] .unread-badge,
.dark-mode .unread-badge {
  background: #FF6B9D;
  color: #1E1E1E;
}

:root[data-theme="dark"] .card-message,
.dark-mode .card-message {
  color: #A0A0A0;
}

:root[data-theme="dark"] .card-time,
.dark-mode .card-time {
  color: #707070;
}

:root[data-theme="dark"] .card-type,
.dark-mode .card-type {
  color: #888888;
  background: #2A2A2A;
}

:root[data-theme="dark"] .card-delete,
.dark-mode .card-delete {
  background: #2A2A2A;
  color: #888888;
}

:root[data-theme="dark"] .card-delete:hover,
.dark-mode .card-delete:hover {
  background: rgba(255, 59, 48, 0.2);
  color: #FF6B6B;
}

/* Select Checkbox */
:root[data-theme="dark"] .select-checkbox input[type="checkbox"],
.dark-mode .select-checkbox input[type="checkbox"] {
  border-color: #3D3D3D;
  background: #2A2A2A;
}

:root[data-theme="dark"] .select-checkbox input[type="checkbox"]:checked,
.dark-mode .select-checkbox input[type="checkbox"]:checked {
  background: #FF6B9D;
  border-color: #FF6B9D;
}

/* Empty State */
:root[data-theme="dark"] .empty-state h3,
.dark-mode .empty-state h3 {
  color: #E0E0E0;
}

:root[data-theme="dark"] .empty-state p,
.dark-mode .empty-state p {
  color: #707070;
}

/* Loading State */
:root[data-theme="dark"] .loading-state,
.dark-mode .loading-state {
  background: #1E1E1E;
}

:root[data-theme="dark"] .spinner,
.dark-mode .spinner {
  border-color: #2A2A2A;
  border-top-color: #FF6B9D;
}

:root[data-theme="dark"] .loading-state p,
.dark-mode .loading-state p {
  color: #707070;
}

/* Success Modal Styles */
.success-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.success-modal {
  background: white;
  border-radius: 24px;
  padding: 40px 30px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
  text-align: center;
}

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

.success-icon-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.success-checkmark {
  animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.success-circle {
  stroke-dasharray: 176;
  stroke-dashoffset: 176;
  animation: drawCircle 0.5s ease forwards;
}

@keyframes drawCircle {
  to {
    stroke-dashoffset: 0;
  }
}

.success-check {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: drawCheck 0.4s ease 0.3s forwards;
}

@keyframes drawCheck {
  to {
    stroke-dashoffset: 0;
  }
}

.success-title {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 12px;
}

.success-message {
  font-size: 16px;
  color: #6b7280;
  margin: 0 0 28px;
  line-height: 1.5;
}

.success-modal-btn {
  width: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.success-modal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

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

/* Dark theme support */
@media (prefers-color-scheme: dark) {
  .success-modal {
    background: #1f2937;
  }

  .success-title {
    color: white;
  }

  .success-message {
    color: #9ca3af;
  }
}

/* Responsive */
@media (max-width: 480px) {
  .success-modal {
    padding: 30px 20px;
  }

  .success-title {
    font-size: 20px;
  }

  .success-message {
    font-size: 14px;
  }
}

.notification-settings-page {
  display: flex;
  min-height: 100vh;
  background: var(--background);
  color: var(--text-primary);
}

.notification-settings-wrapper {
  flex: 1 1;
  margin-left: 280px;
  padding-bottom: 80px;
  overflow-y: auto;
}

.notification-settings-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

/* Header */
.settings-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.back-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  background: var(--card-bg);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.back-button:hover {
  background: var(--hover-bg);
  transform: translateX(-2px);
}

.settings-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

/* Settings Section */
.settings-section {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.section-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.section-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
}

.notification-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.sound-icon {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
}

.section-info h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.25rem 0;
}

.section-info p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Settings List */
.settings-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.setting-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  border-bottom: 1px solid var(--border-color);
  transition: background 0.2s ease;
}

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

.setting-item:hover {
  background: var(--hover-bg);
}

.setting-info {
  flex: 1 1;
}

.setting-info h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0 0 0.25rem 0;
}

.setting-info p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--border-color);
  transition: 0.3s;
  border-radius: 28px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

input:checked + .slider {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

input:checked + .slider:before {
  transform: translateX(22px);
}

/* Volume Setting */
.volume-setting {
  flex-direction: column;
  align-items: flex-start;
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  margin-top: 1rem;
}

.volume-slider {
  flex: 1 1;
  height: 6px;
  border-radius: 3px;
  background: var(--border-color);
  outline: none;
  -webkit-appearance: none;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  cursor: pointer;
  -webkit-transition: transform 0.2s ease;
  transition: transform 0.2s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.volume-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  cursor: pointer;
  border: none;
}

.volume-control svg {
  color: var(--text-secondary);
}

/* Sound Type Setting */
.sound-type-setting {
  flex-direction: column;
  align-items: flex-start;
}

.sound-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  grid-gap: 0.75rem;
  gap: 0.75rem;
  width: 100%;
  margin-top: 1rem;
}

.sound-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  background: var(--background);
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sound-option:hover {
  border-color: var(--primary);
  background: var(--hover-bg);
}

.sound-option.active {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  color: var(--primary);
}

.sound-option svg {
  flex-shrink: 0;
}

.test-sound-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  margin-top: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  background: var(--background);
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.test-sound-btn:hover {
  border-color: var(--primary);
  background: var(--hover-bg);
  color: var(--primary);
}

/* Settings Actions */
.settings-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.save-settings-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.save-settings-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
}

.save-settings-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Loading State */
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  gap: 1rem;
}

.spinner,
.button-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-color);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.button-spinner {
  width: 16px;
  height: 16px;
  border-width: 2px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .notification-settings-wrapper {
    margin-left: 0;
    padding-bottom: 80px;
  }

  .notification-settings-content {
    padding: 1.5rem;
  }

  .settings-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .notification-settings-content {
    padding: 1rem;
  }

  .settings-section {
    padding: 1rem;
  }

  .setting-item {
    padding: 1rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .sound-options {
    grid-template-columns: repeat(2, 1fr);
  }

  .settings-actions {
    justify-content: stretch;
  }

  .save-settings-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .settings-header {
    gap: 0.75rem;
  }

  .settings-title {
    font-size: 1.25rem;
  }

  .sound-options {
    grid-template-columns: 1fr;
  }
}

/* Dark Mode Support */
:root[data-theme="dark"] {
  --background: #0f1419;
  --card-bg: #1a1f2e;
  --text-primary: #ffffff;
  --text-secondary: #8899a6;
  --border-color: #2f3542;
  --hover-bg: #252d3d;
  --primary: #667eea;
}

:root[data-theme="light"] {
  --background: #f5f8fa;
  --card-bg: #ffffff;
  --text-primary: #14171a;
  --text-secondary: #657786;
  --border-color: #e1e8ed;
  --hover-bg: #f7f9fa;
  --primary: #667eea;
}

/* Help & Support Page Container */
.help-page {
  display: flex;
  min-height: 100vh;
  background: linear-gradient(
    180deg,
    #e8d5f0 0%,
    #f5e6f0 15%,
    #f8f0f5 30%,
    #f5f0f8 50%,
    #f0e8f5 70%,
    #f5e0f0 85%,
    #f8d8e8 100%
  );
}

[data-theme="dark"] .help-page {
  background: linear-gradient(
    180deg,
    #1a1625 0%,
    #1e1a2e 15%,
    #22203a 30%,
    #1e1a2e 50%,
    #1a1625 70%,
    #1e1a2e 85%,
    #22203a 100%
  );
}

.help-wrapper {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.help-content {
  max-width: 480px;
  margin: 0 auto;
  padding: 16px;
  width: 100%;
  flex: 1 1;
}

/* Header Section */
.help-header-section {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  margin-bottom: 16px;
}

.help-back-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.help-back-btn svg {
  color: var(--text-primary);
  width: 20px;
  height: 20px;
}

[data-theme="dark"] .help-back-btn {
  background: rgba(45, 45, 45, 0.5);
}

.help-back-btn:active {
  transform: scale(0.95);
}

@media (min-width: 1024px) {
  .help-back-btn:hover {
    background: rgba(167, 139, 250, 0.08);
  }
}

.help-page-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.5px;
  flex: 1 1;
}

/* Search Card */
.help-search-card {
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

[data-theme="dark"] .help-search-card {
  background: rgba(30, 26, 46, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
  .help-search-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  }
}

.help-search {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-icon {
  color: var(--text-tertiary);
  flex-shrink: 0;
}

.search-input {
  flex: 1 1;
  border: none;
  outline: none;
  font-size: 15px;
  color: var(--text-primary);
  background: transparent;
}

.search-input::placeholder {
  color: var(--text-tertiary);
}

/* FAQ Card */
.help-faq-card {
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

[data-theme="dark"] .help-faq-card {
  background: rgba(30, 26, 46, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
  .help-faq-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  }
}

.help-section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 20px;
  letter-spacing: -0.3px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: all 0.2s ease;
}

[data-theme="dark"] .faq-item {
  background: rgba(45, 45, 45, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

@media (min-width: 1024px) {
  .faq-item:hover {
    background: rgba(255, 255, 255, 0.6);
  }

  [data-theme="dark"] .faq-item:hover {
    background: rgba(45, 45, 45, 0.6);
  }
}

.faq-question {
  width: 100%;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--text-tertiary);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.expanded .faq-chevron {
  transform: rotate(180deg);
  color: #8b5cf6;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.expanded .faq-answer {
  max-height: 400px;
}

.faq-answer p {
  margin: 0;
  padding: 0 18px 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Contact Card */
.help-contact-card {
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

[data-theme="dark"] .help-contact-card {
  background: rgba(30, 26, 46, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
  .help-contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  }
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  text-decoration: none;
}

.chat-btn {
  background: linear-gradient(135deg, #a78bfa 0%, #60a5fa 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(167, 139, 250, 0.3);
}

@media (min-width: 1024px) {
  .chat-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(167, 139, 250, 0.5);
  }
}

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

.email-btn {
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid #a78bfa;
  color: #8b5cf6;
}

[data-theme="dark"] .email-btn {
  background: rgba(45, 45, 45, 0.5);
  border-color: #a78bfa;
  color: #c4b5fd;
}

@media (min-width: 1024px) {
  .email-btn:hover {
    background: rgba(167, 139, 250, 0.1);
    transform: translateY(-3px);
  }

  [data-theme="dark"] .email-btn:hover {
    background: rgba(167, 139, 250, 0.15);
  }
}

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

/* Footer Card */
.help-footer-card {
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.8);
  text-align: center;
  transition: all 0.3s ease;
}

[data-theme="dark"] .help-footer-card {
  background: rgba(30, 26, 46, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
  .help-footer-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  }
}

.help-footer-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* Responsive Design */
@media (max-width: 480px) {
  .help-content {
    max-width: 100%;
    padding: 16px;
  }

  .help-header-section {
    padding: 12px 16px;
    margin: 0 -16px 16px;
  }

  .help-page-title {
    font-size: 24px;
  }

  .help-search-card {
    padding: 16px;
  }

  .help-faq-card,
  .help-contact-card,
  .help-footer-card {
    padding: 20px;
    margin-bottom: 12px;
  }

  .help-section-title {
    font-size: 18px;
  }

  .faq-question {
    padding: 14px 16px;
    font-size: 14px;
  }

  .faq-answer p {
    padding: 0 16px 14px;
    font-size: 13px;
  }

  .contact-btn {
    padding: 14px 20px;
    font-size: 15px;
  }
}

@media (min-width: 1024px) {
  .help-content {
    max-width: 800px;
    padding: 32px 40px;
  }

  .help-header-section {
    padding: 16px 0;
    margin-bottom: 24px;
  }

  .help-page-title {
    font-size: 32px;
  }

  .help-search-card {
    padding: 24px;
  }

  .help-faq-card,
  .help-contact-card,
  .help-footer-card {
    padding: 32px;
  }

  .help-section-title {
    font-size: 22px;
  }

  .search-input {
    font-size: 16px;
  }

  .faq-question {
    padding: 18px 20px;
    font-size: 16px;
  }

  .faq-answer p {
    padding: 0 20px 18px;
    font-size: 15px;
  }

  .contact-btn {
    padding: 18px 28px;
    font-size: 17px;
  }
}

/* Terms of Use Page Container */
.terms-page {
  display: flex;
  min-height: 100vh;
  background: linear-gradient(
    180deg,
    #e8d5f0 0%,
    #f5e6f0 15%,
    #f8f0f5 30%,
    #f5f0f8 50%,
    #f0e8f5 70%,
    #f5e0f0 85%,
    #f8d8e8 100%
  );
}

[data-theme="dark"] .terms-page {
  background: linear-gradient(
    180deg,
    #1a1625 0%,
    #1e1a2e 15%,
    #221e35 30%,
    #1e1a2e 50%,
    #1a1625 70%,
    #1e1a2e 85%,
    #221e35 100%
  );
}

.terms-wrapper {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.terms-content {
  max-width: 480px;
  margin: 0 auto;
  padding: 16px;
  width: 100%;
  flex: 1 1;
}

/* Header Section */
.terms-header-section {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  margin-bottom: 16px;
}

.terms-back-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.terms-back-btn svg {
  color: var(--text-primary);
  width: 20px;
  height: 20px;
}

[data-theme="dark"] .terms-back-btn {
  background: rgba(45, 45, 45, 0.5);
}

.terms-back-btn:active {
  transform: scale(0.95);
}

@media (min-width: 1024px) {
  .terms-back-btn:hover {
    background: rgba(167, 139, 250, 0.08);
  }
}

.terms-page-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.5px;
  flex: 1 1;
}

/* Hero Card */
.terms-hero-card {
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 32px 24px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.8);
  text-align: center;
  transition: all 0.3s ease;
}

[data-theme="dark"] .terms-hero-card {
  background: rgba(30, 26, 46, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
  .terms-hero-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  }
}

.terms-hero-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #c4b5fd 0%, #93c5fd 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(167, 139, 250, 0.3);
}

.terms-hero-icon svg {
  color: white;
  width: 40px;
  height: 40px;
}

.terms-hero-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0 0 8px;
  line-height: 1.6;
}

.terms-hero-date {
  font-size: 13px;
  color: var(--text-tertiary);
  margin: 0;
}

/* Intro Card */
.terms-intro-card {
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

[data-theme="dark"] .terms-intro-card {
  background: rgba(30, 26, 46, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
  .terms-intro-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  }
}

.terms-intro-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

/* Sections Card */
.terms-sections-card {
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

[data-theme="dark"] .terms-sections-card {
  background: rgba(30, 26, 46, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
  .terms-sections-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  }
}

.terms-sections {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Individual Section */
.terms-section {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(167, 139, 250, 0.15);
}

.terms-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.section-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.section-icon-0 {
  background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
  color: #3b82f6;
}

.section-icon-1 {
  background: linear-gradient(135deg, #fef3c7 0%, #d9f99d 100%);
  color: #65a30d;
}

.section-icon-2 {
  background: linear-gradient(135deg, #fce7f3 0%, #fecdd3 100%);
  color: #ec4899;
}

.section-icon-3 {
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
  color: #6366f1;
}

.section-icon-4 {
  background: linear-gradient(135deg, #ccfbf1 0%, #a7f3d0 100%);
  color: #10b981;
}

.section-icon-5 {
  background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
  color: #ec4899;
}

.section-icon-6 {
  background: linear-gradient(135deg, #fed7aa 0%, #fef3c7 100%);
  color: #ea580c;
}

.section-icon-7 {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #2563eb;
}

.section-icon-8 {
  background: linear-gradient(135deg, #e9d5ff 0%, #ddd6fe 100%);
  color: #9333ea;
}

.section-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 5px;
  line-height: 1.3;
  letter-spacing: -0.2px;
}
Card */ .terms-footer-card {
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.8);
  text-align: center;
  transition: all 0.3s ease;
}

[data-theme="dark"] .terms-footer-card {
  background: rgba(30, 26, 46, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
  .terms-footer-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  }
}

.terms-footer-text {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 12px;
  line-height: 1.6;
  text-align: center;
}

.terms-email-link {
  display: block;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #8b5cf6;
  text-decoration: none;
  transition: all 0.2s ease;
}

@media (min-width: 1024px) {
  .terms-email-link:hover {
    color: #7c3aed;
    text-decoration: underline;
  }
}

[data-theme="dark"] .terms-email-link {
  color: #a78bfa;
}

[data-theme="dark"] .terms-email-link:hover {
  color: #c4b5fd;
}

/* Responsive Design */
@media (max-width: 480px) {
  .terms-content {
    max-width: 100%;
    padding: 16px;
  }

  .terms-header-section {
    padding: 12px 16px;
    margin: 0 -16px 16px;
  }

  .terms-page-title {
    font-size: 24px;
  }

  .terms-hero-card,
  .terms-intro-card,
  .terms-sections-card,
  .terms-footer-card {
    padding: 20px;
    margin-bottom: 12px;
  }

  .terms-hero-icon {
    width: 72px;
    height: 72px;
  }

  .terms-hero-icon svg {
    width: 36px;
    height: 36px;
  }

  .section-icon {
    width: 40px;
    height: 40px;
  }

  .section-content {
    padding-left: 0;
    margin-top: 12px;
  }
}

@media (min-width: 1024px) {
  .terms-content {
    max-width: 800px;
    padding: 32px 40px;
  }

  .terms-header-section {
    padding: 16px 0;
    margin-bottom: 24px;
  }

  .terms-page-title {
    font-size: 32px;
  }

  .terms-hero-card,
  .terms-intro-card,
  .terms-sections-card,
  .terms-footer-card {
    padding: 32px;
  }

  .terms-hero-icon {
    width: 96px;
    height: 96px;
  }

  .terms-hero-icon svg {
    width: 48px;
    height: 48px;
  }

  .terms-hero-subtitle {
    font-size: 16px;
  }

  .terms-intro-card p {
    font-size: 16px;
  }

  .section-icon {
    width: 48px;
    height: 48px;
  }

  .section-title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .section-content {
    font-size: 15px;
    padding-left: 60px;
  }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .terms-section:hover {
    transform: none;
  }

  .terms-back-btn:active {
    transform: none;
  }
}


/*# sourceMappingURL=main.dadc8307.css.map*/