/* =====================================================================
   ADMIN LOGIN PAGE - VELRA BRAND THEME
   Dark/Light theme with 2-column layout
   Uses centralized Velra brand colors from variables.css
   Page-specific styles loaded AFTER base.css, variables.css, components.css
   ===================================================================== */

/* ===== CSS Variables (Login Page Specific Overrides) ===== */
:root {
  /* 
   * Login page sử dụng variables từ /css/variables.css
   * Mapping các biến cũ sang biến mới:
   * - --bg-color → --bg-page
   * - --text-color → --text-primary
   * - --accent-gold → --velra-gold
   * - --accent-green → --velra-green
   * - --card-bg → --bg-panel
   * - --input-bg → --velra-teal
   */
  --bg-color: var(--bg-page);
  --text-color: var(--text-primary);
  --accent-gold: var(--velra-gold);
  --accent-gold-hover: var(--velra-gold-light);
  --accent-green: var(--velra-green);
  --accent-green-light: var(--velra-green-light);
  --accent-green-dark: var(--velra-green-dark);
  --card-bg: var(--bg-panel);
  --input-bg: var(--velra-teal);
  
  /* Typography */
  --font-heading: "Cinzel", serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

/* Light Theme Overrides for Login Page */
.light {
  --bg-color: var(--bg-page, #F0F4F8);
  --text-color: var(--text-primary, #0A1419);
  --card-bg: var(--bg-panel, #FFFFFF);
  --input-bg: #F9FAFB;
  --overlay: rgba(240, 244, 248, 0.85);
  --accent-gold: var(--velra-gold-dark, #C5A028);
  --accent-gold-hover: var(--velra-gold, #D4AF37);
}

/* ===== Body Override for Login Page ===== */
body.login-page {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow: hidden;
}

/* ===== Theme Toggle ===== */
.theme-toggle-wrap {
  position: fixed;
  top: 32px;
  right: 32px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  opacity: 0.6;
  color: var(--text-color);
}

.theme-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.theme-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--accent-green-dark);
  transition: 0.4s;
  border-radius: 34px;
  border: 1px solid var(--border-color);
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: var(--accent-gold);
  transition: 0.4s;
  border-radius: 50%;
}

.theme-switch input:checked + .slider {
  background-color: #E8F5E9;
}

.theme-switch input:checked + .slider:before {
  transform: translateX(24px);
}

/* ===== Main Layout ===== */
.login-layout {
  display: flex;
  height: 100vh;
  width: 100vw;
  max-height: 100vh;
  max-width: 100vw;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
}

/* ===== Hero Section (Left 60%) ===== */
.login-hero {
  width: 60%;
  height: 100vh;
  min-height: 100vh;
  max-height: 100vh;
  position: relative;
  background-color: var(--bg-color);
  background-image: url('/images/AdminCMS-BG.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  overflow: hidden;
  flex-shrink: 0;
  flex-grow: 0;
}

/* Background image layer with ::after for better fit control */
.login-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-image: url('/images/AdminCMS-BG.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Subtle gradient overlay - matches new dark theme */
.login-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, 
    rgba(10, 20, 25, 0.2) 0%, 
    rgba(10, 20, 25, 0.05) 50%,
    rgba(10, 20, 25, 0.4) 100%);
  pointer-events: none;
  z-index: 2;
}

@keyframes moveGradient {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(5%, 5%) scale(1.1); }
}

.glass-overlay {
  position: absolute;
  inset: 0;
  backdrop-filter: none;
  background: rgba(10, 20, 25, 0.1);
  opacity: 0.1;
  transition: all 0.5s ease;
  z-index: 3;
}

.hero-content {
  position: absolute;
  bottom: 64px;
  left: 64px;
  z-index: 10;
  max-width: 600px;
  color: #fff;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px 0;
  color: var(--accent-gold);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-description {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 32px 0;
  letter-spacing: 0.025em;
}

.brand-line-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-divider {
  width: 48px;
  height: 1px;
  background-color: var(--accent-gold);
}

.brand-line {
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 12px;
  font-weight: 600;
}

/* ===== Form Section (Right 40%) ===== */
.login-form-section {
  width: 40%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 32px 64px;
  background-color: var(--card-bg);
  transition: background-color 0.5s ease;
  overflow-y: auto;
}

.login-form-container {
  width: 100%;
  max-width: 450px;
}

/* ===== Login Header ===== */
.login-header {
  text-align: center;
  margin-bottom: 48px;
}

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

.velra-logo {
  width: 180px;
  height: auto;
  max-width: 100%;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.2em;
  background: var(--velra-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 8px 0;
  text-transform: uppercase;
}

.subtitle {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
  color: var(--text-color);
  opacity: 0.6;
  margin: 0;
}

/* ===== Form Styles ===== */
.login-form {
  width: 100%;
}

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

.login-page .form-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: var(--text-color);
  opacity: 0.7;
  margin-bottom: 8px;
}

.form-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.forgot-link {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: var(--accent-gold);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.forgot-link:hover {
  opacity: 0.8;
}

/* Input Fields */
.login-page .input-wrap {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: var(--accent-gold);
  opacity: 0.6;
  pointer-events: none;
}

.login-page .input,
.login-page .input-with-icon {
  width: 100%;
  padding: 16px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background-color: var(--input-bg);
  color: var(--text-color);
  font-size: 14px;
  transition: all 0.3s ease;
  outline: none;
}

.login-page .input-with-icon {
  padding-left: 48px;
  padding-right: 48px;
}

.login-page .input::placeholder,
.login-page .input-with-icon::placeholder {
  color: var(--text-color);
  opacity: 0.4;
}

.login-page .input:focus,
.login-page .input-with-icon:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
  background-color: var(--card-bg);
}

/* Password Toggle */
.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--accent-gold);
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

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

.password-toggle svg {
  display: block;
  width: 17px;
  height: auto;
}

/* Checkbox */
.checkbox-group {
  margin-top: 8px;
  margin-bottom: 16px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.checkbox-input {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  background-color: var(--input-bg);
  cursor: pointer;
  accent-color: var(--accent-gold);
}

.checkbox-text {
  font-size: 12px;
  color: var(--text-color);
  opacity: 0.6;
}

/* Login Button */
.login-btn {
  width: 100%;
  padding: 16px 24px;
  border: none;
  border-radius: 4px;
  background: var(--velra-gradient);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
}

.login-btn:hover {
  background: var(--velra-gradient-hover);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
  transform: translateY(-2px);
}

.login-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Spinner */
.login-page .spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.login-page .spinner.small {
  width: 16px;
  height: 16px;
  border-width: 2px;
}

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

/* Error Message */
.login-page .form-error {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  background-color: rgba(218, 54, 51, 0.1);
  color: #ff7b72;
  border: 1px solid rgba(218, 54, 51, 0.2);
  font-size: 13px;
}

/* ===== Login Footer ===== */
.login-footer {
  margin-top: 64px;
  text-align: center;
}

.version-text {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-color);
  opacity: 0.4;
  margin: 0 0 16px 0;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-link {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  color: var(--text-color);
  opacity: 0.6;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--accent-gold);
}

/* ===== Node Status Badge ===== */
.node-status {
  position: fixed;
  bottom: 32px;
  right: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: rgba(127, 176, 105, 0.15);
  border: 1px solid rgba(127, 176, 105, 0.3);
  border-radius: 999px;
  color: var(--accent-green);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  z-index: 999;
}

.status-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* ===== Utility Classes ===== */
.login-page .hidden {
  display: none !important;
}

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

/* Tablet and below */
@media (max-width: 1024px) {
  .login-hero {
    display: none;
  }
  
  .login-form-section {
    width: 100%;
  }
  
  .theme-toggle-wrap {
    top: 16px;
    right: 16px;
  }
  
  .node-status {
    bottom: 16px;
    right: 16px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .login-form-section {
    padding: 24px 32px;
  }
  
  .login-form-container {
    max-width: 100%;
  }
  
  .velra-logo {
    width: 150px;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-description {
    font-size: 16px;
  }
  
  .login-header {
    margin-bottom: 32px;
  }
  
  .brand-name {
    font-size: 24px;
  }
  
  .login-footer {
    margin-top: 48px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
  
  /* Prevent zoom on input focus */
  .login-page .input,
  .login-page .input-with-icon {
    font-size: 16px !important;
  }
}

/* ===== Accessibility ===== */
.login-page :focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

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

/* Autofill Styling */
.login-page input:-webkit-autofill,
.login-page input:-webkit-autofill:hover,
.login-page input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--input-bg) inset !important;
  -webkit-text-fill-color: var(--text-color) !important;
  transition: background-color 9999s ease-in-out 0s;
}


/* ===== Body Override for Login Page ===== */
body.login-page {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow: hidden;
}

/* ===== Theme Toggle ===== */
.theme-toggle-wrap {
  position: fixed;
  top: 32px;
  right: 32px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  opacity: 0.6;
  color: var(--text-color);
}

.theme-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.theme-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #2D333B;
  transition: 0.4s;
  border-radius: 34px;
  border: 1px solid var(--border-color);
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: var(--accent-gold);
  transition: 0.4s;
  border-radius: 50%;
}

.theme-switch input:checked + .slider {
  background-color: #F3F4F6;
}

.theme-switch input:checked + .slider:before {
  transform: translateX(24px);
}

/* ===== Main Layout ===== */
.login-layout {
  display: flex;
  height: 100vh;
  width: 100%;
}

/* ===== Hero Section (Left 60%) ===== */
.login-hero {
  width: 60%;
  height: 100vh;
  position: relative;
  background-image: url('https://lh3.googleusercontent.com/aida-public/AB6AXuCeXRhRSUt2DqjgPdX2MM4gIqIsxPvshfckoNnELYAjwOHbi9e33QRcL5uYSyibArylqFVe8FGumKJdE7ZT_Jugb1aqXvm7oTimVKQCw2XyCKhfkPvaqCsnMCflLre-vxZuYLuBymwTta5rZhoCBR7G7Mlqo6-VGRC6AXAC_5EVBQy1N3EsG4rFW0TvHp5zeRxj_sqnWgbS4cYQKA-HoRgqdH7Hl86RGa45zHB6Y6DNEDuo3g82fsMYAo5ozqNjbQHQ7ON5D3S1b-Di');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.glass-overlay {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(8px);
  background: var(--overlay);
  transition: all duration 0.5s;
}

.hero-content {
  position: absolute;
  bottom: 64px;
  left: 64px;
  z-index: 10;
  max-width: 600px;
  color: #fff;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px 0;
  color: #fff;
}

.hero-description {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 32px 0;
  letter-spacing: 0.025em;
}

.brand-line-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-divider {
  width: 48px;
  height: 1px;
  background-color: var(--accent-gold);
}

.brand-line {
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 12px;
  font-weight: 600;
}

/* ===== Form Section (Right 40%) ===== */
.login-form-section {
  width: 40%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 32px 64px;
  background-color: var(--card-bg);
  transition: background-color 0.5s ease;
  overflow-y: auto;
}

.login-form-container {
  width: 100%;
  max-width: 450px;
}

/* ===== Login Header ===== */
.login-header {
  text-align: center;
  margin-bottom: 48px;
}

.logo-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
  border: 1px solid var(--accent-gold);
  border-radius: 50%;
}

.hotel-icon {
  width: 36px;
  height: 36px;
  color: var(--accent-gold);
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-color);
  margin: 0 0 8px 0;
  text-transform: uppercase;
}

.subtitle {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
  color: var(--text-color);
  opacity: 0.6;
  margin: 0;
}

/* ===== Form Styles ===== */
.login-form {
  width: 100%;
}

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

.login-page .form-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: var(--text-color);
  opacity: 0.7;
  margin-bottom: 8px;
}

.form-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.forgot-link {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: var(--accent-gold);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.forgot-link:hover {
  opacity: 0.8;
}

/* Input Fields */
.login-page .input-wrap {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: var(--text-color);
  opacity: 0.4;
  pointer-events: none;
}

.login-page .input,
.login-page .input-with-icon {
  width: 100%;
  padding: 16px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background-color: var(--input-bg);
  color: var(--text-color);
  font-size: 14px;
  transition: all 0.3s ease;
  outline: none;
}

.login-page .input-with-icon {
  padding-left: 48px;
  padding-right: 48px;
}

.login-page .input::placeholder,
.login-page .input-with-icon::placeholder {
  color: var(--text-color);
  opacity: 0.3;
}

.login-page .input:focus,
.login-page .input-with-icon:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

/* Password Toggle */
.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-color);
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

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

.password-toggle svg {
  display: block;
  width: 17px;
  height: auto;
}

/* Checkbox */
.checkbox-group {
  margin-top: 8px;
  margin-bottom: 16px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.checkbox-input {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  background-color: var(--input-bg);
  cursor: pointer;
  accent-color: var(--accent-gold);
}

.checkbox-text {
  font-size: 12px;
  color: var(--text-color);
  opacity: 0.6;
}

/* Login Button */
.login-btn {
  width: 100%;
  padding: 16px 24px;
  border: none;
  border-radius: 4px;
  background: linear-gradient(135deg, #D4AF37 0%, #B8962E 100%);
  color: #000;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.login-btn:hover {
  background: linear-gradient(135deg, #E5C158 0%, #D4AF37 100%);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.login-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Spinner */
.login-page .spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0, 0, 0, 0.3);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.login-page .spinner.small {
  width: 16px;
  height: 16px;
  border-width: 2px;
}

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

/* Error Message */
.login-page .form-error {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  background-color: rgba(218, 54, 51, 0.1);
  color: #ff7b72;
  border: 1px solid rgba(218, 54, 51, 0.2);
  font-size: 13px;
}

/* ===== Login Footer ===== */
.login-footer {
  margin-top: 64px;
  text-align: center;
}

.version-text {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-color);
  opacity: 0.4;
  margin: 0 0 16px 0;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-link {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  color: var(--text-color);
  opacity: 0.6;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--accent-gold);
}

/* ===== Node Status Badge ===== */
.node-status {
  position: fixed;
  bottom: 32px;
  right: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: rgba(35, 134, 54, 0.1);
  border: 1px solid rgba(35, 134, 54, 0.2);
  border-radius: 999px;
  color: #238636;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  z-index: 999;
}

.status-dot {
  width: 6px;
  height: 6px;
  background-color: #238636;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* ===== Utility Classes ===== */
.login-page .hidden {
  display: none !important;
}

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

/* Tablet and below */
@media (max-width: 1024px) {
  .login-hero {
    display: none;
  }
  
  .login-form-section {
    width: 100%;
  }
  
  .theme-toggle-wrap {
    top: 16px;
    right: 16px;
  }
  
  .node-status {
    bottom: 16px;
    right: 16px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .login-form-section {
    padding: 24px 32px;
  }
  
  .login-form-container {
    max-width: 100%;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-description {
    font-size: 16px;
  }
  
  .login-header {
    margin-bottom: 32px;
  }
  
  .logo-circle {
    width: 64px;
    height: 64px;
  }
  
  .hotel-icon {
    width: 28px;
    height: 28px;
  }
  
  .brand-name {
    font-size: 24px;
  }
  
  .login-footer {
    margin-top: 48px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
  
  /* Prevent zoom on input focus */
  .login-page .input,
  .login-page .input-with-icon {
    font-size: 16px !important;
  }
}

/* ===== Accessibility ===== */
.login-page :focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

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

/* Autofill Styling */
.login-page input:-webkit-autofill,
.login-page input:-webkit-autofill:hover,
.login-page input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--input-bg) inset !important;
  -webkit-text-fill-color: var(--text-color) !important;
  transition: background-color 9999s ease-in-out 0s;
}
