/* ===== MoveOut Professional Design System ===== */
/* Matches existing HTML class names */

/* ===== Google Fonts ===== */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap");

/* ===== CSS Custom Properties (Consolidated) ===== */
:root,
[data-theme="dark"] {
  /* Base Colors */
  --primary-color: #d4af37;
  --primary-dark: #c5a059;
  --primary-gradient: linear-gradient(135deg, #d4af37 0%, #c5a059 100%);
  --accent-color: #0e234b;

  /* LingoScribe Palette */
  --primary-cyan: #d4af37;
  --primary-purple: #e5c158;
  --primary-magenta: #c5a059;
  --primary-blue: #0e234b;

  /* Gradients */
  --gradient-aurora: linear-gradient(
    135deg,
    #d4af37 0%,
    #e5c158 50%,
    #c5a059 100%
  );
  --gradient-cosmic: linear-gradient(
    135deg,
    #0e234b 0%,
    #173666 50%,
    #1a365d 100%
  );
  --gradient-hero: linear-gradient(
    135deg,
    rgba(14, 35, 75, 0.1) 0%,
    rgba(212, 175, 55, 0.1) 50%,
    rgba(14, 35, 75, 0.1) 100%
  );

  /* Glow Effects */
  --glow-cyan: 0 0 30px rgba(212, 175, 55, 0.4);
  --glow-purple: 0 0 30px rgba(229, 193, 88, 0.4);
  --glow-magenta: 0 0 30px rgba(197, 160, 89, 0.4);

  /* Background Colors */
  --bg-dark: #0a1526;
  --bg-medium: #1a1a2e;
  --bg-card: rgba(255, 255, 255, 0.03);

  /* Glass Effects */
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-border-hover: rgba(0, 217, 255, 0.3);

  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.5);

  /* Status Colors */
  --success-color: #00d26a;
  --error-color: #ff4757;
  --warning-color: #ffa502;

  /* Spacing & Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Shadows */
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 60px rgba(139, 92, 246, 0.2);
}

/* Light Theme (Consolidated) */
[data-theme="light"] {
  /* Background Colors */
  --bg-dark: #f5f7fa;
  --bg-medium: #ffffff;
  --bg-card: rgba(0, 0, 0, 0.02);

  /* Glass Effects */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(0, 0, 0, 0.08);
  --glass-border-hover: rgba(212, 175, 55, 0.4);

  /* Text Colors */
  --text-primary: #0e234b;
  --text-secondary: rgba(14, 35, 75, 0.7);
  --text-muted: rgba(14, 35, 75, 0.5);

  /* Elevate Your Thoughts color -> Navy linear gradient */
  --primary-gradient: linear-gradient(135deg, #0a1c3a 0%, #1a365d 100%);
  --gradient-aurora: linear-gradient(
    135deg,
    #d4af37 0%,
    #e5c158 50%,
    #c5a059 100%
  );
  --gradient-cosmic: linear-gradient(
    135deg,
    #0a1c3a 0%,
    #1a365d 50%,
    #2a4365 100%
  );

  /* Gradients - Lighter opacity */
  --gradient-hero: linear-gradient(
    135deg,
    rgba(14, 35, 75, 0.05) 0%,
    rgba(212, 175, 55, 0.08) 50%,
    rgba(14, 35, 75, 0.05) 100%
  );

  /* Lighter Glows */
  --glow-cyan: 0 0 30px rgba(212, 175, 55, 0.15);
  --glow-purple: 0 0 30px rgba(229, 193, 88, 0.15);
  --glow-magenta: 0 0 30px rgba(197, 160, 89, 0.15);

  /* Shadows */
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 60px rgba(212, 175, 55, 0.15);
}

/* Toggle Buttons */
.toggle-btn {
  padding: 8px 12px !important;
  min-width: auto !important;
  width: auto !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  background: var(--glass-bg) !important;
  border: 1px solid var(--glass-border) !important;
  color: var(--text-primary) !important;
  border-radius: var(--radius-md) !important;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

[data-theme="light"] .toggle-btn {
  border-color: rgba(14, 35, 75, 0.2) !important;
  color: #0e234b !important; /* Navy text */
}

.toggle-btn:hover {
  background: rgba(212, 175, 55, 0.1) !important;
  border-color: #d4af37 !important; /* Gold border on hover */
  transform: translateY(-1px) !important;
}

[data-theme="light"] .toggle-btn:hover {
  background: rgba(14, 35, 75, 0.05) !important;
  border-color: #0e234b !important;
}

#theme-toggle {
  background: #0e234b !important; /* Navy Background */
  border-color: #0e234b !important;
}

#theme-toggle i {
  color: #d4af37 !important; /* Gold Icon */
  font-size: 1rem;
}

#theme-toggle:hover {
  box-shadow: 0 4px 12px rgba(14, 35, 75, 0.2) !important;
}

.nav-settings {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* ===== Global Reset ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", sans-serif;
  background: var(--bg-dark);
  background-image:
    radial-gradient(
      ellipse at top left,
      rgba(212, 175, 55, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at bottom right,
      rgba(229, 193, 88, 0.05) 0%,
      transparent 50%
    );
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== Custom Premium Scrollbar ===== */
/* ===== Enhanced Toast Notifications ===== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast-message-box {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-left: 4px solid var(--primary-color);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  color: var(--text-primary);
  font-family: "Inter", sans-serif;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  max-width: 380px;
  pointer-events: auto;
  animation:
    slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards,
    slideOutRight 0.4s cubic-bezier(0.4, 0, 0.2, 1) 4.6s forwards;
  opacity: 0;
}

.toast-message-box.toast-success {
  border-left-color: var(--success-color);
}
.toast-message-box.toast-error {
  border-left-color: var(--error-color);
}
.toast-message-box.toast-info {
  border-left-color: var(--primary-cyan);
}

.toast-icon {
  font-size: 1.2rem;
}
.toast-content {
  flex: 1;
}
.toast-title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.toast-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

@keyframes slideInRight {
  from {
    transform: translateX(120%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(120%);
    opacity: 0;
  }
}

@media screen and (max-width: 480px) {
  .toast-container {
    bottom: 16px;
    right: 16px;
    left: 16px;
  }
  .toast-message-box {
    width: 100%;
    min-width: auto;
    max-width: none;
    animation:
      slideUpToast 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards,
      slideDownToast 0.4s cubic-bezier(0.4, 0, 0.2, 1) 4.6s forwards;
  }
}

@keyframes slideUpToast {
  from {
    transform: translateY(120%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slideDownToast {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(120%);
    opacity: 0;
  }
}
::-webkit-scrollbar {
  width: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  border-radius: var(--radius-xl);
  border: 2px solid var(--bg-dark); /* Adds padding feeling */
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-gradient);
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

p {
  color: var(--text-secondary);
  margin-bottom: 15px;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #8b9cf5;
}

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

/* ===== Container ===== */
.container {
  max-width: 1200px;
  margin: clamp(60px, 8vh, 100px) auto 0;
  padding: clamp(16px, 4vw, 24px);
}

/* ===== Header & Navigation ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #0a1526; /* Matches the solid dark theme background */
  border-bottom: 1px solid rgba(212, 175, 55, 0.2); /* Subtle Gold border */
  padding: 14px 20px;
  transition:
    background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.4s ease,
    box-shadow 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] header {
  background: #ffffff; /* Solid white for light mode */
  border-bottom: 1px solid rgba(14, 35, 75, 0.1); /* Subtle Navy border */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

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

.logo-text-wrapper {
  font-family: "Poppins", sans-serif;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  font-weight: 800;
}

.logo-part-1 {
  color: #d4af37 !important; /* Gold */
  -webkit-text-fill-color: #d4af37 !important;
  font-weight: 500 !important;
}

.logo-part-2 {
  color: var(--text-primary) !important; /* White in Dark, Navy in Light */
  -webkit-text-fill-color: var(--text-primary) !important;
  font-weight: 900 !important;
}

.logo-icon {
  font-size: 2rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.5));
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

/* Nav links - clean glass style, purple on hover */
header nav.navbar ul.nav-menu li a,
header .navbar .nav-menu li a,
.navbar .nav-menu li a,
.nav-menu > li > a,
.nav-menu li a,
.nav-link {
  padding: 8px 16px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-primary) !important;
  -webkit-text-fill-color: var(--text-primary) !important;
  background: transparent !important;
  background-image: none !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
  border: 1px solid transparent !important;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Light mode - styled like toggle buttons */
[data-theme="light"] header nav.navbar ul.nav-menu li a,
[data-theme="light"] .navbar .nav-menu li a,
[data-theme="light"] .nav-menu > li > a,
[data-theme="light"] .nav-menu li a,
[data-theme="light"] .nav-link {
  color: var(--text-primary) !important;
  -webkit-text-fill-color: var(--text-primary) !important;
  background: transparent !important;
  border: 1px solid transparent !important;
}

/* Hover states - purple gradient like toggle button */
header nav.navbar ul.nav-menu li a:hover,
.navbar .nav-menu li a:hover,
.nav-menu > li > a:hover,
.nav-menu li a:hover,
.nav-link:hover {
  color: var(--text-primary) !important;
  -webkit-text-fill-color: var(--text-primary) !important;
  background: var(--glass-bg) !important;
  border-color: var(--glass-border) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== Buttons ===== */
button,
.btn,
input[type="submit"],
.signupbtn,
.login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--primary-gradient);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
  box-shadow: var(--shadow-md);
}

button:hover,
.btn:hover,
input[type="submit"]:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-lg), var(--glow-cyan);
}

.btn-danger {
  background: linear-gradient(135deg, #ff4757 0%, #ff6b7a 100%);
}

.btn-primary {
  background: var(--primary-gradient);
}

.login-btn,
.signupbtn {
  margin-top: 8px;
}

/* ===== Form Elements ===== */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea,
.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  outline: none;
  transition: all 0.3s;
  margin-bottom: 8px;
}

/* Fix for dropdown options visibility */
select option {
  background-color: var(--bg-dark);
  color: var(--text-primary);
}

input:focus,
select:focus,
textarea:focus,
.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
  background: rgba(255, 255, 255, 0.08); /* Slightly lighter on focus */
}

input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
}

label,
.form-label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ===== Login Page ===== */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 80px);
  padding: 60px 20px 20px;
}

.login-box {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  width: 100%;
  max-width: 380px;
  box-shadow: var(--shadow-lg);
}

.login-title {
  text-align: center;
  margin-bottom: 12px;
  font-size: 1.5rem;
  color: var(--text-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.input-container {
  margin-bottom: 12px;
}

/* ===== Signup/Register Page ===== */
.signup-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 80px);
  padding: 60px 20px 20px;
}

.signup-form {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  width: 100%;
  max-width: 380px;
  box-shadow: var(--shadow-lg);
}

.signup-form h1 {
  text-align: center;
  margin-bottom: 4px;
  font-size: 1.5rem;
  color: var(--text-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.signup-form hr {
  border: none;
  border-top: 1px solid var(--glass-border);
  margin: 12px 0;
}

.info-text {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* ===== Profile Page ===== */
.profile-container {
  max-width: 600px;
  margin: clamp(60px, 10vh, 100px) auto 40px;
  padding: clamp(16px, 4vw, 24px);
}

.profile-container .card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.static-info {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
}

.static-info p {
  margin-bottom: 10px;
}

.text-muted {
  color: var(--text-muted) !important;
}

.alert {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-weight: 500;
}

.alert-danger {
  background: linear-gradient(135deg, #ff4757 0%, #ff6b7a 100%);
  color: white;
}

.alert-success {
  background: linear-gradient(135deg, #00d26a 0%, #00b359 100%);
  color: white;
}

/* ===== Google Login ===== */
.google-login {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
}

.google-btn {
  width: 100%;
  padding: 12px 24px;
  background: #ffffff !important;
  color: #333 !important;
  -webkit-text-fill-color: #333;
  border-radius: var(--radius-md);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.1);
}

.google-btn:hover {
  background: #f8f9fa !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.google-icon {
  width: 20px;
  height: 20px;
}

.register-link,
.forgot-password,
.login-link {
  text-align: center;
  margin-top: 20px;
  color: var(--text-secondary);
}

/* ===== Messages ===== */
.error-message {
  background: linear-gradient(135deg, #ff4757 0%, #ff6b7a 100%);
  color: white;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  text-align: center;
}

.success-message {
  background: linear-gradient(135deg, #00d26a 0%, #00b359 100%);
  color: white;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  text-align: center;
}

/* ===== Box Cards ===== */
.box-list {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(clamp(250px, 100%, 280px), 1fr)
  );
  gap: clamp(16px, 3vw, 24px);
  padding: 0;
  list-style: none;
}

.box-item {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
  position: relative;
}

.box-item:hover {
  transform: translateY(-8px);
  box-shadow:
    var(--shadow-lg),
    0 0 40px rgba(102, 126, 234, 0.3);
  border-color: var(--primary-color);
}

.box-item .label-image img,
.label-img,
.label-hero-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  transition: transform 0.4s;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.box-item:hover .label-image img {
  transform: scale(1.1);
}

.box-name {
  padding: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  color: var(--text-primary);
}

.actions {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.3s;
}

.box-item:hover .actions {
  opacity: 1;
}

.icon-button {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: var(--text-primary);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 44px;
}

.icon-button:hover {
  background: var(--primary-gradient);
  transform: scale(1.1);
}

/* ===== QR Code Page ===== */
.qr-container {
  max-width: 600px;
  margin: 100px auto 40px;
  padding: 32px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.qr-header {
  font-size: 1.8rem;
  margin-bottom: 24px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.qr-details-section h3 {
  color: var(--primary-color);
  margin-bottom: 16px;
}

.qr-details-section img {
  max-width: 250px;
  border-radius: var(--radius-md);
  margin: 20px 0;
}

.qr-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

.qr-actions a {
  padding: 12px 24px;
  background: var(--primary-gradient);
  color: white;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all 0.3s;
}

.qr-actions a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ===== About Page ===== */
.about-container {
  max-width: 900px;
  margin: clamp(60px, 10vh, 100px) auto clamp(24px, 5vh, 40px);
  padding: clamp(24px, 5vw, 40px);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-section {
  margin-bottom: 40px;
}

.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.feature-item {
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: all 0.3s;
}

.feature-item:hover {
  transform: translateY(-4px);
  border-color: var(--primary-color);
  box-shadow: 0 0 30px rgba(102, 126, 234, 0.2);
}

.feature-item h3 {
  color: var(--primary-color);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

/* ===== Form Container (Create/Edit Box) ===== */
.form-container {
  max-width: 700px;
  margin: clamp(60px, 10vh, 100px) auto 40px;
  padding: clamp(24px, 5vw, 40px);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-container h1 {
  text-align: center;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.label-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 12px;
}

.label-option {
  padding: 10px;
  border: 2px solid var(--glass-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
}

.label-option:hover {
  border-color: var(--primary-color);
}

.label-option.selected {
  border-color: var(--primary-color);
  box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}

.label-option img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* textInput, fileInput, pinField visibility is controlled by JavaScript */

/* ===== Admin Panel Professional Styles ===== */
.admin-info-bar {
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.15) 0%,
    rgba(118, 75, 162, 0.15) 100%
  );
  border: 1px solid rgba(102, 126, 234, 0.3);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  margin-bottom: 24px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.admin-info-bar strong {
  color: var(--text-primary);
}

.admin-nav-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.admin-nav-buttons .btn {
  flex: 1;
  text-align: center;
  padding: 14px 20px;
}

.status-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-active {
  background: rgba(0, 210, 106, 0.15);
  color: #00d26a;
  border: 1px solid rgba(0, 210, 106, 0.3);
}

.status-inactive {
  background: rgba(255, 71, 87, 0.15);
  color: #ff4757;
  border: 1px solid rgba(255, 71, 87, 0.3);
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.85rem;
  min-width: 100px;
  width: 100%;
}

.actions-cell {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
  min-width: 120px;
}

.actions-cell form {
  width: 100%;
}

.actions-cell .btn {
  width: 100%;
  justify-content: center;
}

.empty-state {
  text-align: center;
  padding: 60px 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--glass-border);
  border-radius: var(--radius-lg);
}

.empty-state p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin: 0;
}

/* ===== Admin Page ===== */
.admin-container {
  max-width: 1200px;
  margin: clamp(60px, 10vh, 100px) auto 40px;
  padding: clamp(24px, 5vw, 40px);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow-x: auto;
}

.admin-container h1,
.admin-container h2 {
  text-align: center;
  margin-bottom: 24px;
}

.marketing-section {
  padding: 24px;
  background: rgba(102, 126, 234, 0.1);
  border: 1px solid var(--primary-color);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

/* ===== Verify & PIN Pages ===== */
.verify-container,
.validate-pin-container {
  max-width: 420px;
  margin: 100px auto 40px;
  padding: 40px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.verify-container h1,
.validate-pin-container h1 {
  margin-bottom: 20px;
}

/* ===== Box Details Page (Premium Glass Design) ===== */
.box-details-page {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: calc(100vh - 80px);
  padding: 100px 20px 40px;
  animation: fadeIn 0.5s ease-out;
}

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

.box-details-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 5vw, 40px);
  width: 100%;
  max-width: 500px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.box-details-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-gradient);
}

.box-details-header {
  text-align: center;
  margin-bottom: 32px;
}

.box-details-header h1 {
  font-size: 1.8rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 16px 0;
  animation: slideDown 0.4s ease-out 0.1s both;
}

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

.privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  animation: slideDown 0.4s ease-out 0.2s both;
}

.privacy-badge:hover {
  transform: scale(1.05);
}

.privacy-badge.private {
  background: rgba(255, 71, 87, 0.15);
  color: #ff6b7a;
  border: 1px solid rgba(255, 71, 87, 0.3);
  box-shadow: 0 0 20px rgba(255, 71, 87, 0.1);
}

.privacy-badge.public {
  background: rgba(0, 210, 106, 0.15);
  color: #00d26a;
  border: 1px solid rgba(0, 210, 106, 0.3);
  box-shadow: 0 0 20px rgba(0, 210, 106, 0.1);
}

/* Label Image Section */
.label-image-section {
  margin-bottom: 28px;
  animation: fadeIn 0.5s ease-out 0.3s both;
}

/* We handle .label-hero-image via aspect-ratio alongside .label-img above, 
so only local overrides are here */
.label-hero-image {
  border: 2px solid var(--glass-border);
  transition: all 0.4s ease;
  cursor: pointer;
  border-radius: var(--radius-md);
}

.label-hero-image:hover {
  transform: scale(1.02);
  border-color: var(--primary-color);
  box-shadow: 0 10px 40px rgba(102, 126, 234, 0.2);
}

.label-caption {
  text-align: center;
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: capitalize;
}

/* Info List */
.box-info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
  animation: slideIn 0.4s ease-out both;
}

.info-row:nth-child(1) {
  animation-delay: 0.35s;
}
.info-row:nth-child(2) {
  animation-delay: 0.45s;
}
.info-row:nth-child(3) {
  animation-delay: 0.55s;
}

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

.info-row:hover {
  background: rgba(102, 126, 234, 0.08);
  border-color: rgba(102, 126, 234, 0.3);
  transform: translateX(4px);
}

.info-row-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-row-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: capitalize;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Content Section */
.content-section {
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
  animation: fadeIn 0.5s ease-out 0.5s both;
}

.content-section-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.content-box {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.content-box:hover {
  border-color: rgba(102, 126, 234, 0.3);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.content-box p {
  margin: 0;
  line-height: 1.7;
  color: var(--text-secondary);
}

.content-box img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.content-box audio {
  width: 100%;
}

/* QR Code Section */
.qr-section {
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
  text-align: center;
  animation: fadeIn 0.5s ease-out 0.6s both;
}

.qr-section-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.qr-code-wrapper {
  cursor: pointer;
  transition: all 0.4s ease;
  display: inline-block;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
}

.qr-code-wrapper:hover {
  transform: scale(1.05);
  border-color: var(--primary-color);
  box-shadow: 0 10px 40px rgba(102, 126, 234, 0.2);
}

.qr-code-image {
  max-width: 180px;
  border-radius: var(--radius-md);
  border: 2px solid var(--glass-border);
  transition: all 0.3s ease;
}

.qr-code-wrapper:hover .qr-code-image {
  border-color: var(--primary-color);
}

.qr-hint {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.qr-code-wrapper:hover .qr-hint {
  color: var(--primary-color);
}

/* Info Cards */
.info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
}

.info-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Content Section */
.box-content-section {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.content-title {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  margin: 0;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--glass-border);
  font-size: 1.2rem;
}

.content-display {
  padding: 24px;
}

.text-content {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  padding: 24px;
}

.text-content p {
  margin: 0;
  line-height: 1.7;
  color: var(--text-secondary);
}

.image-content img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
  margin: 0 auto;
}

.audio-content {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
}

.audio-content audio {
  flex: 1;
  width: 100%;
}

.empty-content {
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
}

/* QR Code in Box Details */
.qr-code-container {
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s;
}

.qr-code-container:hover {
  transform: scale(1.02);
}

.qr-code-image {
  max-width: 250px;
  border-radius: var(--radius-md);
  border: 2px solid var(--glass-border);
}

.qr-hint {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===== Tables ===== */
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--glass-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
}

th,
td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
}

th {
  background: var(--primary-gradient);
  font-weight: 600;
}

tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

/* ===== Checkbox ===== */
.checkbox-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--primary-color);
}

/* Legacy footer styles removed */

/* ===== Responsive Design ===== */
@media screen and (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: rgba(15, 15, 35, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    gap: 8px;
    transform: translateX(-100%);
    transition: transform 0.3s;
    border-bottom: 1px solid var(--glass-border);
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  /* Light mode mobile menu */
  [data-theme="light"] .nav-menu {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  /* Mobile nav links styling */
  .nav-menu .toggle-btn,
  .nav-menu .nav-link {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  [data-theme="light"] .nav-menu .toggle-btn,
  [data-theme="light"] .nav-menu .nav-link {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #1a1a2e;
  }

  .hamburger {
    display: flex;
  }

  .container {
    margin-top: 80px;
    padding: 16px;
  }

  .box-list {
    grid-template-columns: 1fr;
  }

  .about-container,
  .form-container,
  .admin-container,
  .qr-container {
    margin: 80px 16px 40px;
    padding: 24px;
  }

  .profile-container {
    margin: 80px 16px 24px;
    padding: 0;
  }

  /* Box Details Page - Tablet/Mobile */
  .box-details-page {
    padding: 80px 16px 24px;
  }

  .box-details-card {
    padding: 28px 20px;
    max-width: 100%;
  }

  .box-details-header h1 {
    font-size: 1.5rem;
  }

  .privacy-badge {
    padding: 6px 14px;
    font-size: 0.75rem;
  }

  .label-hero-image {
    height: 180px;
  }

  .info-row {
    padding: 14px 16px;
  }

  .info-row-label {
    font-size: 0.75rem;
  }

  .info-row-value {
    font-size: 0.9rem;
  }

  .content-section-title,
  .qr-section-title {
    font-size: 0.75rem;
  }

  .content-box {
    padding: 16px;
  }

  .qr-code-wrapper {
    padding: 16px;
  }

  .qr-code-image {
    max-width: 150px;
  }

  /* Tables - Responsive */
  table {
    font-size: 0.85rem;
  }

  th,
  td {
    padding: 10px 12px;
  }

  .admin-container {
    overflow-x: auto;
  }

  .admin-nav-buttons {
    flex-direction: column;
  }

  .actions-cell {
    min-width: 100px;
  }

  .btn-small {
    padding: 8px 14px;
    font-size: 0.75rem;
    min-width: auto;
  }

  /* Features List - Mobile */
  .features-list {
    grid-template-columns: 1fr;
  }

  .feature-item {
    padding: 18px;
  }

  .feature-item h3 {
    font-size: 1rem;
  }

  /* Profile Page - Mobile */
  .profile-container .card {
    padding: 24px 20px;
  }

  .static-info {
    padding: 16px;
  }

  /* Form Container - Mobile */
  .form-container {
    padding: 24px 20px;
  }

  /* Label Options Grid - Mobile */
  .label-options {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 480px) {
  .qr-header {
    font-size: 1.5rem;
  }

  /* Box Details Page - Small Mobile */
  .box-details-page {
    padding: 75px 12px 20px;
  }

  .box-details-card {
    padding: 24px 16px;
    border-radius: 16px;
  }

  .box-details-card::before {
    height: 2px;
  }

  .box-details-header {
    margin-bottom: 24px;
  }

  .box-details-header h1 {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }

  .privacy-badge {
    padding: 5px 12px;
    font-size: 0.7rem;
  }

  .label-image-section {
    margin-bottom: 20px;
  }

  .label-caption {
    font-size: 0.8rem;
    margin-top: 8px;
  }

  .box-info-list {
    gap: 10px;
    margin-bottom: 20px;
  }

  .info-row {
    padding: 12px 14px;
  }

  .info-row-label {
    font-size: 0.7rem;
  }

  .info-row-value {
    font-size: 0.85rem;
  }

  .content-section,
  .qr-section {
    padding-top: 20px;
  }

  .content-section-title,
  .qr-section-title {
    font-size: 0.7rem;
    margin-bottom: 12px;
  }

  .content-box {
    padding: 14px;
  }

  .content-box p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .qr-code-wrapper {
    padding: 14px;
  }

  .qr-code-image {
    max-width: 120px;
  }

  .qr-hint {
    font-size: 0.75rem;
    margin-top: 10px;
  }
}

/* Touch-friendly */
@media (hover: none) and (pointer: coarse) {
  button,
  .btn,
  input[type="submit"],
  .nav-menu li a,
  .icon-button {
    min-height: 48px;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }

  /* Box Cards - Always show actions on touch devices */
  .box-item .actions {
    opacity: 1;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    justify-content: center;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--glass-border);
  }

  .box-item:hover {
    transform: none;
  }

  .box-item .label-image img {
    height: 160px;
  }

  .box-name {
    padding: 14px;
    font-size: 1rem;
  }

  .icon-button {
    width: 48px;
    height: 48px;
    min-width: 48px;
  }
}

/* Safe area for notched phones */
@supports (padding: max(0px)) {
  body {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }

  footer {
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }
}

/* ===================================== */
/* ===== COSMIC AURORA ENHANCEMENTS ===== */
/* ===================================== */
/* Variables moved to top of file for consolidation */

/* ===== Enhanced Animations ===== */
@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
  }
  50% {
    box-shadow:
      0 0 40px rgba(139, 92, 246, 0.5),
      0 0 60px rgba(236, 72, 153, 0.3);
  }
}

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

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes borderGlow {
  0%,
  100% {
    border-color: rgba(0, 217, 255, 0.3);
  }
  33% {
    border-color: rgba(139, 92, 246, 0.3);
  }
  66% {
    border-color: rgba(236, 72, 153, 0.3);
  }
}

/* ===== Enhanced Hero Section ===== */
.hero-section {
  position: relative;
  padding: clamp(40px, 8vh, 80px) clamp(20px, 4vw, 40px);
  text-align: center;
  background: var(--gradient-hero);
  border-radius: var(--radius-xl, 28px);
  margin-bottom: clamp(32px, 6vh, 48px);
  overflow: hidden;
  animation: scaleIn 0.6s ease-out;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(0, 217, 255, 0.15) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(236, 72, 153, 0.15) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(139, 92, 246, 0.1) 0%,
      transparent 60%
    );
  pointer-events: none;
}

.hero-section::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-aurora);
  border-radius: var(--radius-xl, 28px);
  z-index: -1;
  opacity: 0.5;
  filter: blur(20px);
}

.hero-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: var(--gradient-aurora);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  animation:
    float 4s ease-in-out infinite,
    pulseGlow 3s ease-in-out infinite;
  box-shadow: var(--shadow-lg);
}

.hero-title {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== Enhanced Section Styles ===== */
.section-enhanced {
  margin-bottom: 48px;
  animation: slideUp 0.5s ease-out;
  animation-fill-mode: both;
}

.section-enhanced:last-child {
  margin-bottom: 0;
}

.section-enhanced:nth-child(2) {
  animation-delay: 0.1s;
}
.section-enhanced:nth-child(3) {
  animation-delay: 0.2s;
}
.section-enhanced:nth-child(4) {
  animation-delay: 0.3s;
}
.section-enhanced:nth-child(5) {
  animation-delay: 0.4s;
}

.section-title {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.4rem, 3.5vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title .icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-aurora);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.section-title .text {
  background: var(--gradient-aurora);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== Enhanced Feature Cards ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  position: relative;
  padding: clamp(24px, 4vw, 32px);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-aurora);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-lg), var(--glow-purple);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: clamp(48px, 10vw, 64px);
  height: clamp(48px, 10vw, 64px);
  margin-bottom: 20px;
  background: var(--gradient-aurora);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: white;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--glow-cyan);
}

.feature-title {
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

/* ===== Enhanced Info Cards ===== */
.info-card-enhanced {
  padding: clamp(24px, 4vw, 32px);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.info-card-enhanced::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.info-card-enhanced:hover::after {
  opacity: 1;
}

.info-card-enhanced > * {
  position: relative;
  z-index: 1;
}

/* ===== Enhanced Contact Section ===== */
.contact-section-enhanced {
  text-align: center;
  padding: 48px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  animation: borderGlow 4s ease infinite;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--gradient-aurora);
  color: white;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.contact-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg), var(--glow-cyan);
  color: white;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== Developer Card Section ===== */
.developer-card {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 32px);
  padding: clamp(24px, 5vw, 40px);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  animation: borderGlow 4s ease infinite;
}

.developer-avatar {
  width: clamp(80px, 15vw, 140px);
  height: clamp(80px, 15vw, 140px);
  min-width: clamp(80px, 15vw, 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-aurora);
  border-radius: 50%;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: white;
  box-shadow: var(--shadow-glow);
}

.developer-info {
  flex: 1;
}

.developer-name {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 4px;
  background: var(--gradient-aurora);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.developer-title {
  font-size: 1.1rem;
  color: var(--accent-cyan);
  font-weight: 500;
  margin-bottom: 16px;
}

.developer-bio {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.developer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.developer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.developer-link:hover {
  background: var(--gradient-aurora);
  border-color: transparent;
  transform: translateY(-2px);
  color: white;
}

[data-theme="light"] .developer-link {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text-primary);
}

/* Developer Contact Styles */
.developer-contact {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .developer-contact {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.contact-label i {
  margin-right: 8px;
  color: var(--accent-cyan);
}

.developer-email {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-decoration: none;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.developer-email:hover {
  color: var(--accent-pink);
  text-decoration: underline;
}

.developer-email-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin: 0;
}

/* ===== Footer Credit ===== */
.footer-credit {
  text-align: center;
  padding: 32px;
  color: var(--text-secondary);
}

.footer-credit p {
  margin: 8px 0;
}

.footer-credit strong {
  background: var(--gradient-aurora);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.version-info {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Responsive Developer Card */
@media (max-width: 768px) {
  .developer-card {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

  .developer-avatar {
    width: 100px;
    height: 100px;
    min-width: 100px;
    font-size: 2.5rem;
  }

  .developer-name {
    font-size: 1.5rem;
  }

  .developer-links {
    justify-content: center;
  }
}

/* ===== Enhanced Login/Signup Forms ===== */
.login-box::before,
.signup-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-aurora);
}

/* Enhanced Form Inputs */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
  border-color: var(--primary-cyan) !important;
  box-shadow:
    0 0 0 3px rgba(0, 217, 255, 0.15),
    var(--glow-cyan) !important;
}

/* Enhanced Buttons */
button:not(.toggle-btn):not(.icon-button),
.btn:not(.toggle-btn),
input[type="submit"],
.signupbtn,
.login-btn {
  background: var(--gradient-aurora) !important;
  position: relative;
  overflow: hidden;
}

button:not(.toggle-btn):not(.icon-button)::before,
.btn:not(.toggle-btn)::before,
input[type="submit"]::before,
.signupbtn::before,
.login-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

button:not(.toggle-btn):not(.icon-button):hover::before,
.btn:not(.toggle-btn):hover::before,
input[type="submit"]:hover::before,
.signupbtn:hover::before,
.login-btn:hover::before {
  left: 100%;
}

button:not(.toggle-btn):not(.icon-button):hover,
.btn:not(.toggle-btn):hover,
input[type="submit"]:hover {
  box-shadow: var(--shadow-lg), var(--glow-purple) !important;
}

/* Google Button Enhancement */
.google-btn {
  background: white !important;
  border: 1px solid var(--glass-border) !important;
}

.google-btn:hover {
  border-color: var(--primary-cyan) !important;
  box-shadow: var(--shadow-md), var(--glow-cyan) !important;
}

/* ===== Enhanced Box Cards ===== */
.box-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-aurora);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 10;
}

.box-item:hover::before {
  transform: scaleX(1);
}

.box-item:hover {
  border-color: var(--primary-cyan) !important;
  box-shadow: var(--shadow-lg), var(--glow-purple) !important;
}

.box-name {
  background: var(--gradient-aurora);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Icon Buttons Enhancement */
.icon-button:hover {
  background: var(--gradient-aurora) !important;
  box-shadow: var(--glow-cyan) !important;
  transform: scale(1.15) !important;
}

/* ===== Enhanced Navigation ===== */
.logo a {
  background: var(--gradient-aurora) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* ===== Enhanced QR Code Section ===== */
.qr-container::before,
.box-details-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-aurora);
}

.qr-header,
.box-details-header h1 {
  background: var(--gradient-aurora) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.qr-code-wrapper:hover {
  border-color: var(--primary-cyan) !important;
  box-shadow: var(--shadow-lg), var(--glow-cyan) !important;
}

/* Privacy Badge Enhancement */
.privacy-badge.private {
  background: linear-gradient(
    135deg,
    rgba(236, 72, 153, 0.15) 0%,
    rgba(139, 92, 246, 0.15) 100%
  ) !important;
  border-color: var(--primary-magenta) !important;
  color: var(--primary-magenta) !important;
}

.privacy-badge.public {
  background: linear-gradient(
    135deg,
    rgba(0, 217, 255, 0.15) 0%,
    rgba(0, 210, 106, 0.15) 100%
  ) !important;
  border-color: var(--primary-cyan) !important;
  color: var(--primary-cyan) !important;
}

/* ===== Enhanced Profile Page ===== */
.profile-container .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-aurora);
}

.profile-container h2 {
  background: var(--gradient-aurora);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== Enhanced Form Container ===== */
.form-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-aurora);
}

.form-container h1 {
  background: var(--gradient-aurora) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* Label Option Enhancement */
.label-option:hover {
  border-color: var(--primary-cyan) !important;
  box-shadow: var(--glow-cyan) !important;
}

.label-option.selected {
  border-color: var(--primary-purple) !important;
  box-shadow: var(--glow-purple) !important;
}

/* ===== Enhanced Admin Panel ===== */
.admin-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-aurora);
}

.admin-container h1,
.admin-container h2 {
  background: var(--gradient-aurora);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Table Header Enhancement */
th {
  background: var(--gradient-aurora) !important;
}

/* ===== Enhanced Alerts ===== */
.alert-success {
  background: linear-gradient(
    135deg,
    rgba(0, 210, 106, 0.2) 0%,
    rgba(0, 217, 255, 0.2) 100%
  ) !important;
  border: 1px solid var(--success-color) !important;
  color: var(--success-color) !important;
}

.alert-danger {
  background: linear-gradient(
    135deg,
    rgba(255, 71, 87, 0.2) 0%,
    rgba(236, 72, 153, 0.2) 100%
  ) !important;
  border: 1px solid var(--error-color) !important;
  color: var(--error-color) !important;
}

.error-message {
  background: linear-gradient(
    135deg,
    rgba(255, 71, 87, 0.9) 0%,
    rgba(236, 72, 153, 0.9) 100%
  ) !important;
}

.success-message {
  background: linear-gradient(
    135deg,
    rgba(0, 210, 106, 0.9) 0%,
    rgba(0, 217, 255, 0.9) 100%
  ) !important;
}

/* ===== Scrollbar Enhancement ===== */
::-webkit-scrollbar {
  width: 0;
  height: 0;
  background: transparent;
}

/* ===== Page Title Enhancement ===== */
.container h1,
h1.qr-header {
  background: var(--gradient-aurora) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* ===== Enhanced Responsive ===== */
@media screen and (max-width: 768px) {
  /* About Container */
  .about-container {
    margin: 80px 12px 40px;
    padding: 24px;
  }

  /* Hero Section */
  .hero-section {
    padding: 48px 20px;
    margin-bottom: 24px;
  }

  .hero-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 0 8px;
  }

  /* Section Titles */
  .section-title {
    font-size: 1.3rem;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
  .section-title .icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  /* Section Enhanced */
  .section-enhanced {
    margin-bottom: 24px;
  }

  /* Features Grid */
  .feature-card {
    padding: 20px;
  }

  .feature-title {
    font-size: 1rem;
  }
  .feature-description {
    font-size: 0.85rem;
  }

  /* Info Card Enhanced */
  .info-card-enhanced {
    padding: 20px;
  }
  .info-card-enhanced p {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  /* Developer Card */
  .developer-card {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
    gap: 20px;
  }

  .developer-name {
    font-size: 1.4rem;
  }
  .developer-title {
    font-size: 1rem;
  }
  .developer-bio {
    font-size: 0.9rem;
  }
  .developer-contact {
    text-align: center;
  }
  .developer-email-text {
    font-size: 0.95rem;
    word-break: break-all;
  }

  /* Footer Credit */
  .footer-credit {
    padding: 24px 16px;
  }
  .footer-credit p {
    font-size: 0.9rem;
  }
  .version-info {
    font-size: 0.75rem;
  }
}

@media screen and (max-width: 480px) {
  /* Hero Section - Extra Small */
  .hero-section {
    padding: 36px 16px;
    border-radius: var(--radius-md);
  }

  .hero-title {
    font-size: 1.5rem;
  }
  .hero-subtitle {
    font-size: 0.9rem;
  }

  /* Features Grid - Single Column */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .feature-card {
    padding: 16px;
  }

  /* Section Title - Stacked */
  .section-title {
    flex-direction: column;
    font-size: 1.1rem;
  }

  .developer-name {
    font-size: 1.2rem;
  }
  .developer-email-text {
    font-size: 0.85rem;
  }

  /* Contact Section */
  .contact-section-enhanced {
    padding: 24px 16px;
  }
}

/* Tablet Portrait */
@media screen and (min-width: 481px) and (max-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Enhanced Admin Panel Mobile Responsiveness ===== */
@media screen and (max-width: 768px) {
  /* Admin Panel Table - Card Layout on Mobile */
  .admin-container table {
    display: block;
  }

  .admin-container thead {
    display: none;
  }

  .admin-container tbody {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .admin-container tr {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 16px;
    gap: 12px;
  }

  .admin-container td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .admin-container td:last-child {
    border-bottom: none;
    padding-top: 12px;
  }

  .admin-container td::before {
    content: attr(data-label);
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .actions-cell {
    flex-direction: row;
    justify-content: center;
    gap: 10px;
  }

  .actions-cell::before {
    display: none;
  }

  /* Admin Info Bar - Mobile */
  .admin-info-bar {
    font-size: 0.85rem;
    padding: 12px 16px;
  }

  /* Marketing Section - Mobile */
  .marketing-section {
    padding: 16px;
  }

  .marketing-section textarea {
    min-height: 100px;
  }
}

/* Small Mobile */
@media screen and (max-width: 400px) {
  .admin-container {
    padding: 16px 12px;
    margin: 70px 8px 20px;
  }

  .admin-container h1 {
    font-size: 1.3rem;
  }

  .actions-cell {
    flex-direction: column;
  }

  .btn-small {
    padding: 10px 16px;
    font-size: 0.8rem;
  }

  .status-badge {
    font-size: 0.7rem;
    padding: 4px 10px;
  }
}

/* ===== Footer Design ===== */
.footer-new {
  background: #0a1526; /* Matches the solid dark theme background */
  border-top: 1px solid rgba(212, 175, 55, 0.2); /* Subtle Gold border */
  padding: 14px 0;
  width: 100%;
  margin-top: auto;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .footer-new {
  background: #ffffff; /* Solid white for light mode */
  border-top: 1px solid rgba(14, 35, 75, 0.1); /* Subtle Navy border */
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
  flex-wrap: wrap;
}

.footer-logo-section {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
}

.footer-logo-icon {
  font-size: 1.2rem;
  color: var(--primary-color);
}

.footer-logo-text {
  color: var(--text-primary);
}

.footer-text {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Responsive footer */
@media (max-width: 768px) {
  .footer-new {
    padding: 12px 0;
  }

  .footer-content {
    gap: 12px;
  }

  .footer-logo-section {
    font-size: 0.9rem;
    gap: 6px;
  }

  .footer-logo-icon {
    font-size: 1rem;
  }

  .footer-text {
    font-size: 0.8rem;
  }
}

/* Minimal footer styles */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-text {
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all 0.3s;
}

.social-link:hover {
  background: var(--primary-gradient);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  border-color: transparent;
}

.copyright-text {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 10px;
}

@media screen and (max-width: 768px) {
  .footer-content {
    flex-direction: row; /* Keep row even on mobile if possible, or wrap */
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .footer-col {
    min-width: 100%;
  }
}

/* ===== Ultra-Clean SaaS Admin Panel UI ===== */
/* Container styling */
.admin-container {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid var(--glass-border) !important;
  box-shadow: var(--shadow-lg) !important;
  padding: 30px !important;
  border-radius: var(--radius-lg) !important;
}

[data-theme="light"] .admin-container {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(212, 175, 55, 0.2) !important;
}

/* Table overrides */
.admin-container table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  margin-top: 20px !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: var(--radius-md) !important;
  overflow: hidden !important;
}

[data-theme="light"] .admin-container table {
  border-color: rgba(212, 175, 55, 0.2) !important;
}

.admin-container thead {
  background: rgba(14, 35, 75, 0.6) !important; /* Navy */
}

[data-theme="light"] .admin-container thead {
  background: rgba(212, 175, 55, 0.1) !important; /* Light Gold */
}

/* Force header resets */
.admin-container table thead tr th {
  padding: 14px 20px !important;
  background: transparent !important;
  text-align: left !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  color: var(--primary-color) !important; /* Gold */
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  border: none !important;
  border-bottom: 1px solid var(--glass-border) !important;
  -webkit-text-fill-color: var(--primary-color) !important;
}

[data-theme="light"] .admin-container table thead tr th {
  color: #0e234b !important; /* Navy */
  -webkit-text-fill-color: #0e234b !important;
  border-bottom-color: rgba(212, 175, 55, 0.2) !important;
}

/* Row resets */
.admin-container table tbody tr {
  background: transparent !important;
  box-shadow: none !important;
  transition: background 0.2s ease !important;
}

.admin-container table tbody tr:hover {
  background: rgba(212, 175, 55, 0.05) !important;
  transform: none !important;
}

[data-theme="light"] .admin-container table tbody tr:hover {
  background: rgba(212, 175, 55, 0.08) !important;
}

.admin-container table tbody tr td {
  padding: 16px 20px !important;
  vertical-align: middle !important;
  font-size: 0.95rem !important;
  color: var(--text-primary) !important;
  border: none !important;
  border-bottom: 1px solid var(--glass-border) !important;
  background: transparent !important;
}

[data-theme="light"] .admin-container table tbody tr td {
  color: #1a1a2e !important;
  border-bottom-color: rgba(212, 175, 55, 0.1) !important;
}

.admin-container table tbody tr:last-child td {
  border-bottom: none !important;
}

/* Ultra Clean Buttons - Specifying button element to overcome global rule (0,2,1) vs (0,3,1) */
.admin-container td.actions-cell form button.btn,
.admin-container .actions-cell button.btn {
  background: transparent !important;
  border: 1px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
  padding: 6px 14px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  min-width: unset !important;
  border-radius: var(--radius-sm) !important;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
  -webkit-text-fill-color: var(--primary-color) !important;
}

[data-theme="light"] .admin-container td.actions-cell form button.btn,
[data-theme="light"] .admin-container .actions-cell button.btn {
  border-color: #0e234b !important; /* Navy */
  color: #0e234b !important;
  -webkit-text-fill-color: #0e234b !important;
}

.admin-container td.actions-cell form button.btn::before {
  display: none !important;
}

.admin-container td.actions-cell form button.btn:hover {
  background: rgba(212, 175, 55, 0.1) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 10px rgba(212, 175, 55, 0.2) !important;
}

[data-theme="light"] .admin-container td.actions-cell form button.btn:hover {
  background: rgba(14, 35, 75, 0.05) !important;
  box-shadow: 0 4px 10px rgba(14, 35, 75, 0.1) !important;
}

/* Danger Button Override */
.admin-container td.actions-cell form button.btn-danger {
  color: #ff4757 !important;
  border-color: rgba(255, 71, 87, 0.5) !important;
  background: transparent !important;
  -webkit-text-fill-color: #ff4757 !important;
}

.admin-container td.actions-cell form button.btn-danger:hover {
  background: rgba(255, 71, 87, 0.1) !important;
  border-color: #ff4757 !important;
  box-shadow: 0 4px 10px rgba(255, 71, 87, 0.2) !important;
}

/* Minimalist Pin/Status */
.status-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: var(--text-primary) !important;
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  text-transform: capitalize !important;
}

[data-theme="light"] .status-badge {
  color: #1a1a2e !important;
}

.status-badge::before {
  content: "" !important;
  display: inline-block !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
}

.status-active::before {
  background-color: #00d26a !important;
  box-shadow: 0 0 10px rgba(0, 210, 106, 0.5) !important;
}

.status-inactive::before {
  background-color: #ff4757 !important;
  box-shadow: 0 0 10px rgba(255, 71, 87, 0.5) !important;
}

/* Admin Nav & Info Panel */
.admin-nav-buttons .btn {
  background: transparent !important;
  border: 1px solid var(--glass-border) !important;
  color: var(--text-primary) !important;
  border-radius: 8px !important;
  padding: 10px 24px !important;
  font-weight: 500 !important;
  -webkit-text-fill-color: var(--text-primary) !important;
  transition: all 0.3s ease !important;
}

[data-theme="light"] .admin-nav-buttons .btn {
  border-color: rgba(212, 175, 55, 0.3) !important;
  color: #1a1a2e !important;
  -webkit-text-fill-color: #1a1a2e !important;
}

.admin-nav-buttons .btn:hover {
  background: rgba(212, 175, 55, 0.1) !important;
  border-color: var(--primary-color) !important;
}

.admin-nav-buttons .btn-primary {
  background: rgba(212, 175, 55, 0.15) !important;
  border-color: var(--primary-color) !important;
  color: var(--primary-color) !important;
  -webkit-text-fill-color: var(--primary-color) !important;
  font-weight: 600 !important;
}

[data-theme="light"] .admin-nav-buttons .btn-primary {
  background: #0e234b !important; /* Navy */
  border-color: #0e234b !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.admin-info-bar {
  text-align: right !important;
  font-size: 0.9rem !important;
  color: var(--text-secondary) !important;
  margin-bottom: 24px !important;
  background: var(--glass-bg) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid var(--glass-border) !important;
  padding: 12px 16px !important;
  border-radius: var(--radius-md) !important;
  float: right;
}

[data-theme="light"] .admin-info-bar {
  background: rgba(255, 255, 255, 0.8) !important;
  border-color: rgba(212, 175, 55, 0.2) !important;
  color: #475569 !important;
}

.admin-info-bar strong {
  color: var(--primary-color) !important;
}

[data-theme="light"] .admin-info-bar strong {
  color: #0e234b !important;
}
