/* CSS Custom Properties for Theme System - Dark Theme Only */
:root {
  /* Dark Theme Colors - Based on login-doc.txt */
  --bg-primary: #092756;
  --bg-secondary: #670d10;
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --border-color: rgba(0, 0, 0, 0.3);
  --input-bg: rgba(0, 0, 0, 0.3);
  --input-border: rgba(0, 0, 0, 0.3);
  --input-focus: #6eb6de;
  --logo-color: #6eb6de;
  --form-shadow: rgba(0, 0, 0, 0.5);
}



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

body {
  font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #092756;
  background: -moz-radial-gradient(0% 100%, ellipse cover, rgba(104,128,138,.4) 10%,rgba(138,114,76,0) 40%),-moz-linear-gradient(top,  rgba(57,173,219,.25) 0%, rgba(42,60,87,.4) 100%), -moz-linear-gradient(-45deg,  #670d10 0%, #092756 100%);
  background: -webkit-radial-gradient(0% 100%, ellipse cover, rgba(104,128,138,.4) 10%,rgba(138,114,76,0) 40%), -webkit-linear-gradient(top,  rgba(57,173,219,.25) 0%,rgba(42,60,87,.4) 100%), -webkit-linear-gradient(-45deg,  #670d10 0%,#092756 100%);
  background: -o-radial-gradient(0% 100%, ellipse cover, rgba(104,128,138,.4) 10%,rgba(138,114,76,0) 40%), -o-linear-gradient(top,  rgba(57,173,219,.25) 0%,rgba(42,60,87,.4) 100%), -o-linear-gradient(-45deg,  #670d10 0%,#092756 100%);
  background: -ms-radial-gradient(0% 100%, ellipse cover, rgba(104,128,138,.4) 10%,rgba(138,114,76,0) 40%), -ms-linear-gradient(top,  rgba(57,173,219,.25) 0%,rgba(42,60,87,.4) 100%), -ms-linear-gradient(-45deg,  #670d10 0%,#092756 100%);
  background: -webkit-radial-gradient(0% 100%, ellipse cover, rgba(104,128,138,.4) 10%,rgba(138,114,76,0) 40%), linear-gradient(to bottom,  rgba(57,173,219,.25) 0%,rgba(42,60,87,.4) 100%), linear-gradient(135deg,  #670d10 0%,#092756 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3E1D6D', endColorstr='#092756',GradientType=1 );
  overflow: hidden;
  height: 100vh;
  position: relative;
  transition: all 0.3s ease;
}



/* Background Slider */
.background-slider {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 1.5s ease-in-out;
  z-index: -2;
}

.background-slider::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(15, 15, 35, 0.85) 0%,
    rgba(30, 30, 60, 0.75) 50%,
    rgba(15, 15, 35, 0.9) 100%
  );
  backdrop-filter: blur(2px);
  z-index: -1;
}

/* Quote Container - Premium Design */
.quote-container {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  padding: 0 20px;
}

.quote-content {
  padding: 60px 50px;
  min-height: 300px;
  max-width: 900px;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.quote-text {
font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.3;
  color: #cecece;
  margin: 0 0 1.5rem 0;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  font-style: italic;
  letter-spacing: -0.02em;
  position: relative;
  padding: 0 60px;
  text-align: center;
}

.quote-text::before {
  content: '"';
  position: absolute;
  left: -60px;
  top: -20px;
  font-size: 60px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.3);
  font-family: "Georgia", "Times New Roman", serif;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  line-height: 1;
}

.quote-text::after {
  content: '"';
  position: absolute;
  right: -60px;
  bottom: -40px;
  font-size: 60px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.3);
  font-family: "Georgia", "Times New Roman", serif;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  line-height: 1;
}

.quote-author {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
  font-style: italic;
  letter-spacing: 1px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8), 1px 1px 3px rgba(0, 0, 0, 0.9);
}

/* Main Login Container */
.login-container {
  position: fixed;
  top: 50%;
  left: 80px;
  transform: translateY(-50%);
  width: 100%;
  max-width: 420px;
  z-index: 2;
}

.login-form {
  /* Premium Glassmorphism Background */
  background: rgba(255, 255, 255, 0.95);
  background-image: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.98) 0%,
    rgba(248, 250, 252, 0.95) 50%,
    rgba(241, 245, 249, 0.92) 100%);
  
  /* Premium Border & Backdrop */
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  
  /* Premium Shadow System */
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.12),
    0 2px 16px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 0 rgba(0, 0, 0, 0.05);
  
  padding: 45px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Premium Hover Effect */
.login-form:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.15),
    0 4px 20px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

/* Premium Subtle Animation */
.login-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.4), 
    transparent);
  transition: left 0.5s;
  z-index: 1;
}

.login-form:hover::before {
  left: 100%;
}

/* Dark Theme Premium Form */
[data-theme="dark"] .login-form {
  /* Premium Dark Glassmorphism */
  background: rgba(15, 23, 42, 0.85);
  background-image: linear-gradient(145deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  
  /* Dark Premium Border */
  border: 1px solid rgba(241, 245, 249, 0.15);
  backdrop-filter: blur(25px) saturate(1.2);
  -webkit-backdrop-filter: blur(25px) saturate(1.2);
  
  /* Dark Premium Shadows */
  box-shadow: 
    0 30px 60px rgba(15, 23, 42, 0.6),
    0 0 0 1px rgba(241, 245, 249, 0.08),
    inset 0 1px 0 rgba(241, 245, 249, 0.12),
    inset 0 -1px 0 rgba(15, 23, 42, 0.3);
}

[data-theme="dark"] .login-form:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 40px 80px rgba(15, 23, 42, 0.7),
    0 0 0 1px rgba(241, 245, 249, 0.12),
    inset 0 1px 0 rgba(241, 245, 249, 0.18),
    inset 0 -1px 0 rgba(15, 23, 42, 0.4),
    0 0 100px rgba(30, 41, 59, 0.5);
}

/* Dark Theme Shimmer Effect */
[data-theme="dark"] .login-form::before {
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.1), 
    transparent);
}

.logo {
  font-size: 32px;
  font-weight: 800;
  color: var(--logo-color);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
  transition: color 0.3s ease;
  position: relative;
  z-index: 2;
}

/* Dark Theme Logo/Title Styles - Based on login-doc.txt */
[data-theme="dark"] .logo {
  color: #fff;
  text-shadow: 0 0 10px rgba(0,0,0,0.3);
  letter-spacing: 1px;
}

.subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 35px;
  font-weight: 400;
  transition: color 0.3s ease;
  position: relative;
  z-index: 2;
}

/* Form Groups */
.form-group {
  margin-bottom: 25px;
  text-align: left;
  position: relative;
  z-index: 2;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
}

.input-group {
  position: relative;
}

.input-group input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--input-border);
  border-radius: 6px;
  font-size: 16px;
  background-color: var(--input-bg);
  background-image: -moz-linear-gradient(top, var(--input-bg), var(--bg-secondary) 1px, var(--input-bg) 25px);
  background-image: -webkit-gradient(linear, 0 0, 0 25, from(var(--input-bg)), color-stop(4%, var(--bg-secondary)), to(var(--input-bg)));
  background-image: -webkit-linear-gradient(top, var(--input-bg), var(--bg-secondary) 1px, var(--input-bg) 25px);
  background-image: -o-linear-gradient(top, var(--input-bg), var(--bg-secondary) 1px, var(--input-bg) 25px);
  background-image: linear-gradient(to bottom, var(--input-bg), var(--bg-secondary) 1px, var(--input-bg) 25px);
  background-repeat: no-repeat;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  transition: all 0.3s ease;
  outline: none;
  color: var(--text-primary);
}

/* Dark Theme Input Styles - Updated for new gradient */
[data-theme="dark"] .input-group input {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(51, 65, 85, 0.5);
  color: #f1f5f9;
  text-shadow: 1px 1px 1px rgba(15, 23, 42, 0.5);
  border-radius: 6px;
  box-shadow: inset 0 -5px 45px rgba(51, 65, 85, 0.3), 0 1px 1px rgba(241, 245, 249, 0.1);
  -webkit-transition: box-shadow .5s ease;
  -moz-transition: box-shadow .5s ease;
  -o-transition: box-shadow .5s ease;
  -ms-transition: box-shadow .5s ease;
  transition: box-shadow .5s ease;
  background-image: none;
}

[data-theme="dark"] .input-group input:focus {
  box-shadow: inset 0 -5px 45px rgba(51, 65, 85, 0.5), 0 1px 1px rgba(241, 245, 249, 0.2);
  border-color: rgba(51, 65, 85, 0.7);
}

/* Dark Theme Placeholder Styles */
[data-theme="dark"] .input-group input::placeholder {
  color: rgba(241, 245, 249, 0.6);
  text-shadow: 1px 1px 1px rgba(15, 23, 42, 0.5);
}

[data-theme="dark"] .input-group input::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.6);
  text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
}

[data-theme="dark"] .input-group input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.6);
  text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
}

[data-theme="dark"] .input-group input:-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.6);
  text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
}

.input-group input:focus {
  border-color: var(--input-focus);
  background-color: var(--input-bg);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(74, 119, 212, 0.6);
  outline: none;
  position: relative;
  z-index: 1;
}

.input-group.error input {
  border-color: #d9534f;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(217, 83, 79, 0.6);
}

.input-group.focused {
  transform: translateY(-2px);
  transition: transform 0.2s ease;
}

.input-group.has-value input {
  background: rgba(102, 126, 234, 0.02);
}



/* Password Input Container */
.password-input-container {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.password-toggle:hover {
  background: rgba(102, 126, 234, 0.1);
}

.toggle-icon {
  font-size: 18px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

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

/* Form Options */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 25px 0 35px 0;
}

.checkbox-container {
  display: flex;
  align-items: center;
}

.checkbox-container input[type="checkbox"] {
  display: none;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 1px solid #cccccc;
  border-radius: 4px;
  margin-right: 10px;
  position: relative;
  transition: all 0.2s ease;
  background: #ffffff;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.checkbox-container input[type="checkbox"]:checked + .checkbox-label .checkmark {
  background-color: #4a77d4;
  background-image: -moz-linear-gradient(top, #6eb6de, #4a77d4);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#6eb6de), to(#4a77d4));
  background-image: -webkit-linear-gradient(top, #6eb6de, #4a77d4);
  background-image: -o-linear-gradient(top, #6eb6de, #4a77d4);
  background-image: linear-gradient(to bottom, #6eb6de, #4a77d4);
  border-color: #3762bc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.checkbox-container input[type="checkbox"]:checked + .checkbox-label .checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.forgot-password {
  color: #4a77d4;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.forgot-password:hover {
  color: #3762bc;
  text-decoration: underline;
}

/* Dark Theme Form Options */
[data-theme="dark"] .checkbox-label {
  color: rgba(241, 245, 249, 0.8);
  text-shadow: 1px 1px 1px rgba(15, 23, 42, 0.5);
}

[data-theme="dark"] .forgot-password {
  color: rgba(241, 245, 249, 0.9);
  text-shadow: 1px 1px 1px rgba(15, 23, 42, 0.5);
}

[data-theme="dark"] .forgot-password:hover {
  color: rgba(255, 255, 255, 1);
  text-shadow: 1px 1px 2px rgba(15, 23, 42, 0.7);
}

/* Premium Login Button */
.login-btn {
  width: 100%;
  display: inline-block;
  padding: 16px 32px;
  margin-bottom: 25px;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  vertical-align: middle;
  cursor: pointer;
  
  /* Premium Gradient Background */
  background: linear-gradient(135deg, 
    #667eea 0%, 
    #764ba2 100%);
  
  /* Premium Border & Radius */
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  
  /* Premium Shadow System */
  box-shadow: 
    0 4px 15px rgba(102, 126, 234, 0.4),
    0 2px 8px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

/* Premium Button Hover Effect */
.login-btn:hover {
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
  
  /* Enhanced Gradient on Hover */
  background: linear-gradient(135deg, 
    #764ba2 0%, 
    #667eea 100%);
  
  /* Enhanced Shadow on Hover */
  box-shadow: 
    0 8px 25px rgba(102, 126, 234, 0.5),
    0 4px 15px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

/* Premium Button Active State */
.login-btn:active {
  transform: translateY(0);
  box-shadow: 
    0 2px 8px rgba(102, 126, 234, 0.3),
    0 1px 4px rgba(0, 0, 0, 0.1),
    inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Dark Theme Premium Button */
[data-theme="dark"] .login-btn {
  background: linear-gradient(135deg, 
    #1e293b 0%, 
    #334155 50%,
    #0f172a 100%);
  
  border: 1px solid rgba(241, 245, 249, 0.2);
  
  box-shadow: 
    0 4px 20px rgba(15, 23, 42, 0.6),
    0 2px 10px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(241, 245, 249, 0.1),
    inset 0 -1px 0 rgba(15, 23, 42, 0.5);
}

[data-theme="dark"] .login-btn:hover {
  background: linear-gradient(135deg, 
    #334155 0%, 
    #1e293b 50%,
    #475569 100%);
  
  box-shadow: 
    0 8px 30px rgba(15, 23, 42, 0.8),
    0 4px 15px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(241, 245, 249, 0.15),
    inset 0 -1px 0 rgba(15, 23, 42, 0.6);
}



.btn-text {
  position: relative;
  z-index: 1;
}

/* Dot Pulse Loading Animation */
.btn-loader {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.btn-loader .dot-pulse {
  position: relative;
  left: -9999px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: white;
  color: white;
  box-shadow: 9999px 0 0 -5px white;
  animation: dotPulse 1.5s infinite linear;
  animation-delay: .25s;
}

.btn-loader .dot-pulse::before,
.btn-loader .dot-pulse::after {
  content: '';
  display: inline-block;
  position: absolute;
  top: 0;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: white;
  color: white;
}

.btn-loader .dot-pulse::before {
  box-shadow: 9984px 0 0 -5px white;
  animation: dotPulseBefore 1.5s infinite linear;
  animation-delay: 0s;
}

.btn-loader .dot-pulse::after {
  box-shadow: 10014px 0 0 -5px white;
  animation: dotPulseAfter 1.5s infinite linear;
  animation-delay: .5s;
}

@keyframes dotPulseBefore {
  0% {
    box-shadow: 9984px 0 0 -5px white;
  }
  30% {
    box-shadow: 9984px 0 0 2px white;
  }
  60%,
  100% {
    box-shadow: 9984px 0 0 -5px white;
  }
}

@keyframes dotPulse {
  0% {
    box-shadow: 9999px 0 0 -5px white;
  }
  30% {
    box-shadow: 9999px 0 0 2px white;
  }
  60%,
  100% {
    box-shadow: 9999px 0 0 -5px white;
  }
}

@keyframes dotPulseAfter {
  0% {
    box-shadow: 10014px 0 0 -5px white;
  }
  30% {
    box-shadow: 10014px 0 0 2px white;
  }
  60%,
  100% {
    box-shadow: 10014px 0 0 -5px white;
  }
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-5px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(5px);
  }
}

/* Premium Loading State */
.login-btn.loading {
  cursor: not-allowed;
  transform: translateY(0);
  opacity: 0.9;
  pointer-events: none;
}

[data-theme="dark"] .login-btn.loading {
  opacity: 0.8;
}

.login-btn.loading .btn-text {
  opacity: 0;
}

.login-btn.loading .btn-loader {
  display: block;
}

.login-btn.loading .btn-text {
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.login-btn.loading .btn-loader {
  display: block;
}

/* Signup Link */
.signup-link {
  text-align: center;
}

.signup-link p {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

.signup-link a {
  color: #667eea;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.signup-link a:hover {
  color: #5a67d8;
  text-decoration: underline;
}

/* Dark Theme Signup Link */
[data-theme="dark"] .signup-link p {
  color: rgba(241, 245, 249, 0.7);
  text-shadow: 1px 1px 1px rgba(15, 23, 42, 0.5);
}

[data-theme="dark"] .signup-link a {
  color: rgba(241, 245, 249, 0.9);
  text-shadow: 1px 1px 1px rgba(15, 23, 42, 0.5);
}

[data-theme="dark"] .signup-link a:hover {
  color: rgba(255, 255, 255, 1);
  text-shadow: 1px 1px 2px rgba(15, 23, 42, 0.7);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .quote-container {
    position: static;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    padding: 0 20px;
  }
  
  .quote-content {
    max-width: 500px;
    width: auto;
    margin: 0;
  }
  
  .login-container {
    position: static;
    transform: none;
    margin: 0 auto;
    padding: 0 20px;
    left: auto;
  }
  
  body {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px 0;
  }
}

@media (max-width: 768px) {
  .quote-container {
    margin: 20px 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
  }
  
  .quote-content {
    padding: 20px;
    min-height: 100px;
    max-width: 400px;
    width: auto;
    margin: 0;
  }
  
  .quote-text {
    font-size: 16px;
  }
  
  .login-form {
    padding: 30px 25px;
  }
  
  .logo {
    font-size: 28px;
  }
  
  .form-group input {
    padding: 14px 16px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .quote-container {
    margin: 15px 0;
    padding: 0 15px;
  }
  
  .quote-content {
    padding: 15px;
    max-width: 350px;
    width: auto;
    margin: 0;
  }
  
  .login-form {
    padding: 25px 20px;
  }
  
  .form-options {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
}

/* Animation Toggle Button - Premium Dark Theme */
.animation-toggle-container {
  --icon-size: 16px;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  user-select: none;
  width: 40px;
  height: 40px;
  background: rgba(15, 23, 42, 0.85);
  border-radius: 12px;
  backdrop-filter: blur(16px);
  border: 1px solid rgba(241, 245, 249, 0.15);
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(241, 245, 249, 0.05),
    inset 0 1px 0 rgba(241, 245, 249, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.animation-toggle-container:hover {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(241, 245, 249, 0.25);
  box-shadow: 
    0 6px 20px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(59, 130, 246, 0.15),
    0 0 0 1px rgba(241, 245, 249, 0.1),
    inset 0 1px 0 rgba(241, 245, 249, 0.15);
  transform: translateY(-1px);
}

.animation-toggle-container .play {
  position: absolute;
  width: var(--icon-size);
  height: var(--icon-size);
  fill: #f1f5f9;
  animation: keyframes-fill .5s;
  transform: translateX(1px); /* Play icon slight adjustment for visual centering */
}

.animation-toggle-container .pause {
  position: absolute;
  width: var(--icon-size);
  height: var(--icon-size);
  fill: #f1f5f9;
  display: none;
  animation: keyframes-fill .5s;
}

/* On check event - show pause, hide play */
.animation-toggle-container input:checked ~ .play {
  display: none;
}

.animation-toggle-container input:checked ~ .pause {
  display: block;
}

/* Hide the default checkbox */
.animation-toggle-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Animation for toggle button */
@keyframes keyframes-fill {
  0% {
    transform: rotate(-180deg) scale(0);
    opacity: 0;
  }
  50% {
    transform: rotate(-10deg) scale(1.2);
  }
}

/* Animation paused states */
.animations-paused .background-slider {
  animation-play-state: paused !important;
}

.animations-paused .quote-content {
  transition: none !important;
}

.animations-paused .quote-text,
.animations-paused .quote-author {
  transition: none !important;
}

/* Mobile responsive for toggle button */
@media (max-width: 768px) {
  .animation-toggle-container {
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    --icon-size: 14px;
    border-radius: 10px;
  }
}

/* Active state styling */
.animation-toggle-container:active {
  transform: translateY(0px) scale(0.95);
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(241, 245, 249, 0.1),
    inset 0 1px 0 rgba(241, 245, 249, 0.05);
}
