.auth-page {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 50%, #475569 75%, #64748b 100%);
  background-size: 400% 400%;
  animation: gradientFlow 20s ease infinite;
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.auth-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.2) 0%, transparent 50%);
  animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.auth-page::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(60px, 60px);
  }
}

/* Auth Container */
.auth-container {
  width: 100%;
  max-width: 520px;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

/* Auth Card */
.auth-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(30px) saturate(180%);
  padding: 3.5rem;
  border-radius: 40px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37), inset 0 1px 0 0 rgba(255, 255, 255, 0.15), inset 0 -1px 0 0
    rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.18);
  animation: cardFloat 1s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.auth-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 8px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(59, 130, 246, 0.8),
    rgba(139, 92, 246, 0.8),
    rgba(236, 72, 153, 0.8),
    transparent
  );
  border-radius: 0 0 20px 20px;
  filter: blur(8px);
}

@keyframes cardFloat {
  from {
    opacity: 0;
    transform: translateY(80px) scale(0.85);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Auth Header */
.auth-header {
  text-align: center;
  margin-bottom: 3rem;
}

.auth-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(139, 92, 246, 0.3));
  backdrop-filter: blur(20px);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto 2rem;
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 0
    rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: iconBounce 5s ease-in-out infinite;
  color: white;
  position: relative;
}

.auth-icon::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.5), rgba(139, 92, 246, 0.5));
  z-index: -1;
  filter: blur(25px);
  opacity: 0.6;
  animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconBounce {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(5deg);
  }
}

@keyframes iconPulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

.auth-card h2 {
  font-size: 2.2rem;
  font-weight: 900;
  color: white;
  margin-bottom: 1rem;
  letter-spacing: -1px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.auth-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  line-height: 1.7;
  font-weight: 500;
}

/* Form Styles */
.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
  font-weight: 700;
  color: white;
  font-size: 1rem;
}

.form-group label i {
  color: rgba(59, 130, 246, 1);
  width: 20px;
  font-size: 1.2rem;
  filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.6));
}

.form-group input {
  width: 100%;
  padding: 18px 24px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  font-size: 1.05rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  font-family: inherit;
  font-weight: 500;
  color: white;
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
}

.form-group input:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.8);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2), 0 10px 40px rgba(59, 130, 246, 0.3), inset 0 1px 0
    rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

/* Password Field */
.password-field {
  position: relative;
}

.password-toggle {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  padding: 12px;
  border-radius: 14px;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.password-toggle:hover {
  background: rgba(59, 130, 246, 0.3);
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
  color: white;
}

.password-toggle.active {
  background: rgba(59, 130, 246, 0.4);
  border-color: rgba(59, 130, 246, 0.6);
  color: white;
}

.password-field input {
  padding-right: 20px;
  padding-left: 80px !important;
}

.password-strength {
  margin-top: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 14px;
  display: inline-block;
  backdrop-filter: blur(10px);
}

.strength-weak {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.3);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.strength-medium {
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.3);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.strength-strong {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

/* Form Options */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.remember-me input {
  width: auto;
  transform: scale(1.4);
  cursor: pointer;
  accent-color: #3b82f6;
}

.forgot-password {
  color: #60a5fa;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  transition: all 0.3s ease;
  position: relative;
  padding: 4px 8px;
  border-radius: 8px;
}

.forgot-password::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(59, 130, 246, 0.15);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.forgot-password:hover::before {
  opacity: 1;
}

.forgot-password:hover {
  color: #93c5fd;
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
}

/* Terms Checkbox */
.terms-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 2.5rem 0;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
}

.terms-checkbox:hover {
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 40px rgba(59, 130, 246, 0.2);
  transform: translateY(-3px);
}

.terms-checkbox input {
  margin-top: 5px;
  transform: scale(1.4);
  cursor: pointer;
  accent-color: #3b82f6;
}

.terms-checkbox label {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-weight: 500;
}

.terms-checkbox a {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 700;
  position: relative;
  transition: all 0.3s ease;
}

.terms-checkbox a:hover {
  color: #93c5fd;
  text-shadow: 0 0 15px rgba(59, 130, 246, 0.6);
}

/* Buttons */
.btn-lg {
  padding: 20px 40px;
  font-size: 1.2rem;
  font-weight: 800;
  border-radius: 20px;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
  background-size: 200% 100%;
  border: none;
  color: white;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 15px 50px rgba(59, 130, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -2px 0
    rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-lg::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.6s ease;
}

.btn-lg:hover::before {
  left: 100%;
}

.btn-lg:hover {
  background-position: 100% 0;
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-lg:active {
  transform: translateY(-3px) scale(0.98);
}

.btn-full {
  width: 100%;
}

/* Auth Benefits */
.auth-benefits {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-benefits h4 {
  text-align: center;
  margin-bottom: 2rem;
  color: white;
  font-weight: 900;
  font-size: 1.3rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.benefit::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, #3b82f6, #8b5cf6);
  transform: scaleY(0);
  transition: transform 0.4s ease;
}

.benefit:hover::before {
  transform: scaleY(1);
}

.benefit:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(15px);
  box-shadow: 0 10px 40px rgba(59, 130, 246, 0.3);
  border-color: rgba(59, 130, 246, 0.4);
}

.benefit i {
  color: #60a5fa;
  width: 28px;
  font-size: 1.5rem;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.6));
}

.benefit span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 600;
}

/* Quick Stats */
.quick-stats {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-stats h4 {
  text-align: center;
  margin-bottom: 2rem;
  color: white;
  font-weight: 900;
  font-size: 1.3rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.stat {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.stat:hover::before {
  transform: scaleX(1);
}

.stat:hover {
  transform: translateY(-10px) scale(1.08);
  box-shadow: 0 15px 50px rgba(59, 130, 246, 0.4);
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  color: #60a5fa;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

/* Auth Footer */
.auth-footer {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.auth-footer p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-weight: 500;
  font-size: 1.05rem;
}

.auth-link {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  position: relative;
  padding: 6px 12px;
  border-radius: 12px;
}

.auth-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(59, 130, 246, 0.15);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.auth-link:hover::before {
  opacity: 1;
}

.auth-link:hover {
  color: #93c5fd;
  transform: translateX(5px);
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
}

/* Loading States */
.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.5;
}

.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top: 4px solid white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Success Message */
.success-message {
  background: rgba(16, 185, 129, 0.2);
  backdrop-filter: blur(20px);
  color: white;
  padding: 2.5rem;
  border-radius: 24px;
  margin-bottom: 2.5rem;
  display: none;
  animation: messageAppear 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 20px 60px rgba(16, 185, 129, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

@keyframes messageAppear {
  from {
    opacity: 0;
    transform: translateY(-40px) scale(0.85);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.success-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.success-content i {
  font-size: 3rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.success-content h4 {
  margin: 0 0 0.75rem 0;
  font-size: 1.5rem;
  font-weight: 900;
}

.success-content p {
  margin: 0;
  opacity: 0.95;
  font-weight: 500;
  font-size: 1.05rem;
}

/* Error Message */
.error-message {
  background: rgba(239, 68, 68, 0.2);
  backdrop-filter: blur(20px);
  color: white;
  padding: 2.5rem;
  border-radius: 24px;
  margin-bottom: 2.5rem;
  display: none;
  animation: errorVibrate 0.6s ease;
  box-shadow: 0 20px 60px rgba(239, 68, 68, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(239, 68, 68, 0.4);
}

@keyframes errorVibrate {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-10px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(10px);
  }
}

.error-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.error-content i {
  font-size: 3rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.error-content h4 {
  margin: 0 0 0.75rem 0;
  font-size: 1.5rem;
  font-weight: 900;
}

.error-content p {
  margin: 0;
  opacity: 0.95;
  font-weight: 500;
  font-size: 1.05rem;
}

.error-actions {
  text-align: center;
}

/* Info Box */
.info-box {
  background: rgba(59, 130, 246, 0.2);
  backdrop-filter: blur(20px);
  color: white;
  padding: 2rem;
  border-radius: 24px;
  margin-bottom: 2.5rem;
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.info-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-weight: 800;
  font-size: 1.15rem;
}

.info-box p {
  margin: 0;
  opacity: 0.95;
  line-height: 1.7;
  font-weight: 500;
  font-size: 1.05rem;
}

/* Security Tips */
.security-tips {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.security-tips h4 {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  color: white;
  font-size: 1.25rem;
  font-weight: 900;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.tips-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.tip::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, #3b82f6, #8b5cf6);
  transform: scaleY(0);
  transition: transform 0.4s ease;
}

.tip:hover::before {
  transform: scaleY(1);
}

.tip:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(15px);
  box-shadow: 0 10px 40px rgba(59, 130, 246, 0.3);
  border-color: rgba(59, 130, 246, 0.4);
}

.tip i {
  color: #60a5fa;
  width: 24px;
  font-size: 1.2rem;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.6));
}

.tip span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 600;
}

.tip strong {
  color: #60a5fa;
  font-weight: 900;
}

/* Password Strength Meter */
.password-strength-meter {
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.strength-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 800;
  color: white;
}

.strength-bar {
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.3);
}

.strength-fill {
  height: 100%;
  width: 0%;
  border-radius: 16px;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
}

/* Password Requirements */
.password-requirements {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 1.25rem;
}

.requirement {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  padding: 10px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.requirement i {
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.requirement.met {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.15);
}

.requirement.met i {
  color: #6ee7b7;
}

/* Password Match */
.password-match {
  margin-top: 1rem;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 12px 18px;
  border-radius: 14px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.match-success {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.match-error {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.4);
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3);
}

/* Loading Spinner */
.loading-spinner {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  margin: 2rem 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.spinner {
  width: 32px;
  height: 32px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top: 4px solid #3b82f6;
  border-right: 4px solid #8b5cf6;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loading-spinner span {
  font-weight: 700;
  color: white;
  font-size: 1.05rem;
}

/* Auth Links */
.auth-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.separator {
  color: rgba(255, 255, 255, 0.4);
  opacity: 0.5;
  font-weight: 800;
}



/* مؤشر قوة كلمة المرور */
.password-strength-indicator {
    margin-top: 8px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #e9ecef;
}

.strength-meter {
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    margin-bottom: 8px;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    width: 0%;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.strength-text {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 8px;
}

.strength-requirements {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.requirement {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #6c757d;
}

.requirement i {
    font-size: 10px;
    width: 14px;
}

.requirement.met {
    color: #28a745;
}

.requirement.unmet {
    color: #dc3545;
}

/* ألوان مؤشر القوة */
.strength-weak .strength-fill { background: #dc3545; }
.strength-fair .strength-fill { background: #fd7e14; }
.strength-good .strength-fill { background: #ffc107; }
.strength-strong .strength-fill { background: #28a745; }
.strength-very-strong .strength-fill { background: #20c997; }

/* Responsive Design */
@media (max-width: 768px) {
  .auth-container {
    padding: 0 16px;
  }

  .auth-card {
    padding: 3rem 2.5rem;
    border-radius: 36px;
  }

  .auth-icon {
    width: 85px;
    height: 85px;
    font-size: 2.5rem;
    border-radius: 26px;
  }

  .auth-card h2 {
    font-size: 1.9rem;
  }

  .form-options {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .benefits-list {
    gap: 12px;
  }

  .benefit {
    padding: 14px;
  }

  .success-content,
  .error-content {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }

  .auth-links {
    flex-direction: column;
    gap: 1rem;
  }

  .separator {
    display: none;
  }

  .tips-list {
    gap: 12px;
  }

  .tip {
    padding: 14px;
  }
}

@media (max-width: 480px) {
  .auth-card {
    padding: 2.5rem 2rem;
    border-radius: 32px;
  }

  .form-group input {
    padding: 16px 20px;
    font-size: 1rem;
  }

  .terms-checkbox {
    padding: 1.75rem;
  }

  .btn-lg {
    padding: 18px 32px;
    font-size: 1.1rem;
  }
}
