/* Login System Glassmorphic Styles */
:root {
  --color-default: #145a32;
  --color-second: #1e8449;
  --color-gold: #d4a017;
  --color-gold-light: #f2c94c;
  --color-white: #fff;
  --color-body: #eef7ee;
  --color-light: #e0e0e0;
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.35);
  --glass-shadow: 0 8px 32px 0 rgba(20, 90, 50, 0.25);
  --gradient-primary: linear-gradient(135deg, var(--color-default), var(--color-second), var(--color-gold));
  --gradient-brand: linear-gradient(155deg, #0d3b20 0%, #1e8449 55%, #d4a017 130%);
  --transition: all 0.3s ease;
  --success-color: #27AE60;
  --error-color: #E74C3C;
  --warning-color: #F39C12;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Two-panel login layout */
.login-page {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 100vh;
  width: 100%;
}

/* Login Side (right panel) */
.login-side {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #f5faf6, #eaf5ec);
  padding: 2rem;
}

/* Animated Background */
.bg-animation {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.bg-animation::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(20, 90, 50, 0.12) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: float 20s ease-in-out infinite;
}

.bg-animation::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 30%, rgba(212, 160, 23, 0.06) 50%, transparent 70%);
  animation: shimmer 15s ease-in-out infinite;
}

/* Floating Elements */
.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-element {
  position: absolute;
  width: 20px;
  height: 20px;
  background: rgba(212, 160, 23, 0.12);
  border-radius: 50%;
  animation: floatUpDown 6s ease-in-out infinite;
}

.floating-element:nth-child(odd) {
  background: rgba(20, 90, 50, 0.1);
  animation-direction: reverse;
}

/* Particles */
.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(20, 90, 50, 0.35);
  border-radius: 50%;
  animation: particleFloat 20s linear infinite;
}

/* Brand Panel (left panel) */
.brand-panel {
  position: relative;
  overflow: hidden;
  background: var(--gradient-brand);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3.5rem;
  z-index: 1;
}

.brand-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: floatUpDown 10s ease-in-out infinite;
  pointer-events: none;
}

.blob-green {
  width: 320px;
  height: 320px;
  background: #2ecc71;
  top: -80px;
  left: -100px;
}

.blob-gold {
  width: 280px;
  height: 280px;
  background: var(--color-gold-light);
  bottom: -90px;
  right: -80px;
  animation-direction: reverse;
  animation-duration: 13s;
}

.brand-watermark {
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 420px;
  height: 420px;
  opacity: 0.07;
  animation: spin 90s linear infinite;
  pointer-events: none;
}

.brand-watermark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.brand-content {
  position: relative;
  z-index: 2;
  max-width: 420px;
}

.brand-logo {
  width: 96px;
  height: 96px;
  margin-bottom: 1.5rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.brand-logo img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
}

.brand-title {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.brand-subtitle {
  font-size: 1.1rem;
  font-weight: 500;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  line-height: 1.5;
}

.brand-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.brand-features li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.95;
  transition: var(--transition);
}

.brand-features li:hover {
  transform: translateX(6px);
}

.brand-features li i {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  font-size: 1rem;
}

.brand-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 3rem;
  font-size: 0.85rem;
  opacity: 0.85;
}

/* Glassmorphic Card Base */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

/* Main Login Container */
.login-container {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
  max-width: 450px;
  padding: 2rem;
}

/* Login Card */
.login-card {
  width: 100%;
  padding: 2.5rem;
  transition: var(--transition);
  animation: slideInUp 0.8s ease-out;
}

.login-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px 0 rgba(31, 38, 135, 0.5);
}

/* Header Section */
.login-header {
  text-align: center;
  margin-bottom: 2rem;
}




.logo-icon {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(20, 90, 50, 0.2);
}

#logo-img {
    width: 52px;
    height: 52px;
    object-fit: contain;  /* Keeps proportions */
    filter: drop-shadow(0 2px 4px rgba(20, 90, 50, 0.3));
}


.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}


.logo-text h1 {
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.logo-text p {
  font-size: 0.9rem;
  color: var(--color-default);
  opacity: 0.8;
  margin: 0;
  font-weight: 500;
}

.welcome-text h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--color-default);
  margin-bottom: 0.5rem;
}

.welcome-text p {
  font-size: 1rem;
  color: var(--color-default);
  opacity: 0.7;
  font-weight: 400;
}

/* Login Form */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  position: relative;
}

.input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 1rem;
  z-index: 2;
  color: var(--color-default);
  opacity: 0.6;
  font-size: 1.1rem;
  transition: var(--transition);
}

.input-container input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-default);
  font-size: 1rem;
  font-weight: 500;
  outline: none;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.input-container input::placeholder {
  color: var(--color-default);
  opacity: 0.6;
  font-weight: 400;
}

.input-container input:focus {
  border-color: var(--color-second);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(0, 103, 172, 0.1);
}

.input-container input:focus + .password-toggle,
.input-container input:focus ~ .input-icon {
  color: var(--color-second);
  opacity: 1;
}

.input-focus-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
  border-radius: 1px;
}

.input-container input:focus ~ .input-focus-line {
  width: 100%;
}

.password-toggle {
  position: absolute;
  right: 1rem;
  background: none;
  border: none;
  color: var(--color-default);
  opacity: 0.6;
  cursor: pointer;
  font-size: 1rem;
  padding: 0.5rem;
  border-radius: 50%;
  transition: var(--transition);
  z-index: 2;
}

.password-toggle:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
}

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

.remember-me {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
}

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

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  transition: var(--transition);
}

.checkmark::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 6px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.2s ease;
}

.remember-me input[type="checkbox"]:checked + .checkmark {
  background: var(--gradient-primary);
  border-color: var(--color-second);
}

.remember-me input[type="checkbox"]:checked + .checkmark::after {
  transform: rotate(45deg) scale(1);
}

.label-text {
  font-size: 0.9rem;
  color: var(--color-default);
  font-weight: 500;
}

.forgot-password {
  font-size: 0.9rem;
  color: var(--color-second);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

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

/* Login Button */
.login-btn {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
  box-shadow: 0 4px 15px rgba(0, 79, 131, 0.3);
}

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

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 79, 131, 0.4);
}

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

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

.login-btn.loading {
  pointer-events: none;
  opacity: 0.8;
}

.btn-text,
.btn-loading {
  transition: var(--transition);
}

.btn-loading {
  display: none;
}

.login-btn.loading .btn-text {
  display: none;
}

.login-btn.loading .btn-loading {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Form Footer */
.form-footer {
  text-align: center;
  margin-top: 1.5rem;
}

.form-footer p {
  font-size: 0.9rem;
  color: var(--color-default);
  opacity: 0.7;
}

.form-footer a {
  color: var(--color-second);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.form-footer a:hover {
  color: var(--color-default);
  text-decoration: underline;
}

/* Role Selection */
.role-selection {
  animation: slideInUp 0.6s ease-out;
}

.role-header {
  text-align: center;
  margin-bottom: 2rem;
}

.role-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-default);
  margin-bottom: 0.5rem;
}

.role-header p {
  font-size: 1rem;
  color: var(--color-default);
  opacity: 0.7;
}

.role-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.role-option {
  padding: 1rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.role-option:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateX(5px);
}

.role-option.selected {
  background: rgba(0, 103, 172, 0.2);
  border-color: var(--color-second);
}

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

.role-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-default);
  margin-bottom: 0.25rem;
}

.role-info p {
  font-size: 0.9rem;
  color: var(--color-default);
  opacity: 0.7;
}

.continue-btn {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 79, 131, 0.3);
}

.continue-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 79, 131, 0.4);
}

/* Notification System */
.notification-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.notification {
  padding: 1rem 1.5rem;
  border-radius: 12px;
  color: white;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 300px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: slideInRight 0.3s ease-out;
  position: relative;
  overflow: hidden;
}

.notification::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
}

.notification.success {
  background: rgba(39, 174, 96, 0.9);
}

.notification.success::before {
  background: var(--success-color);
}

.notification.error {
  background: rgba(231, 76, 60, 0.9);
}

.notification.error::before {
  background: var(--error-color);
}

.notification.warning {
  background: rgba(243, 156, 18, 0.9);
}

.notification.warning::before {
  background: var(--warning-color);
}

.notification.info {
  background: rgba(52, 152, 219, 0.9);
}

.notification.info::before {
  background: #3498DB;
}

.notification-close {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 50%;
  margin-left: auto;
  opacity: 0.8;
  transition: var(--transition);
}

.notification-close:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.2);
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.loading-overlay.active {
  opacity: 1;
  visibility: visible;
}

.loading-content {
  text-align: center;
  color: white;
}

.loading-spinner {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
}

.spinner-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-top: 3px solid var(--color-second);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.spinner-ring:nth-child(2) {
  width: 60px;
  height: 60px;
  top: 10px;
  left: 10px;
  border-top-color: var(--color-default);
  animation-duration: 1.5s;
  animation-direction: reverse;
}

.spinner-ring:nth-child(3) {
  width: 40px;
  height: 40px;
  top: 20px;
  left: 20px;
  border-top-color: white;
  animation-duration: 2s;
}

.loading-content p {
  font-size: 1.1rem;
  font-weight: 500;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9);
  transition: var(--transition);
}

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

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  color: var(--color-default);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  color: var(--color-default);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: var(--transition);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

.modal-body {
  padding: 1.5rem;
}

.modal-body p {
  color: var(--color-default);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.reset-btn {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 79, 131, 0.3);
}

.reset-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 79, 131, 0.4);
}

/* Help Modal Specific Styles */
.help-section {
  margin-bottom: 2rem;
}

.help-section h4 {
  color: var(--color-default);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.help-section ul {
  list-style: none;
  padding-left: 0;
}

.help-section li {
  color: var(--color-default);
  opacity: 0.8;
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.help-section li::before {
  content: '•';
  color: var(--color-second);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.contact-info p {
  color: var(--color-default);
  margin-bottom: 0.5rem;
}

.default-accounts {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.default-accounts p {
  margin-bottom: 0.5rem;
  font-style: italic;
  opacity: 0.8;
}

.default-accounts ul {
  margin-top: 0.5rem;
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

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

@keyframes particleFloat {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

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

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

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

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

/* Responsive Design */
@media (max-width: 992px) {
  .login-page {
    grid-template-columns: 1fr;
  }

  .brand-panel {
    padding: 2.5rem 2rem;
    align-items: center;
    text-align: center;
  }

  .brand-watermark {
    display: none;
  }

  .brand-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .brand-features {
    display: none;
  }

  .brand-footer {
    justify-content: center;
    margin-top: 1.5rem;
  }
}

@media (max-width: 768px) {
  .login-container {
    padding: 1rem;
    max-width: 100%;
  }

  .login-card {
    padding: 2rem;
  }

  .logo-container {
    flex-direction: column;
    gap: 0.5rem;
  }

  .logo-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .logo-text h1 {
    font-size: 1.8rem;
  }

  .welcome-text h2 {
    font-size: 1.5rem;
  }

  .brand-title {
    font-size: 2.2rem;
  }

  .brand-subtitle {
    font-size: 1rem;
    margin-bottom: 0;
  }

  .notification {
    min-width: auto;
    width: calc(100vw - 2rem);
    margin: 0 1rem;
  }

  .modal-content {
    width: 95%;
    margin: 1rem;
  }

  .modal-header,
  .modal-body {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .login-card {
    padding: 1.5rem;
  }
  
  .welcome-text h2 {
    font-size: 1.3rem;
  }
  
  .welcome-text p {
    font-size: 0.9rem;
  }
  
  .input-container input {
    padding: 0.875rem 0.875rem 0.875rem 2.5rem;
    font-size: 0.9rem;
  }
  
  .input-icon {
    left: 0.875rem;
    font-size: 1rem;
  }
  
  .password-toggle {
    right: 0.875rem;
  }
  
  .form-options {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  
  .login-btn,
  .reset-btn,
  .continue-btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .help-section li {
    font-size: 0.9rem;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --glass-bg: rgba(255, 255, 255, 0.2);
    --glass-border: rgba(255, 255, 255, 0.4);
  }
  
  .input-container input {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .floating-element,
  .particle,
  .bg-animation::before,
  .bg-animation::after {
    animation: none;
  }
}

