@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap');
/* Auth Page Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #0f0f0f;
  color: #ffffff;
  min-height: 100vh;
  overflow: auto;
}

/* Auth Body - Override main body style */
.auth-body {
  background: linear-gradient(135deg, #ede8dd, #d8e9a8);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Auth Container */
.auth-container {
  width: 100%;
  max-width: 450px;
  position: relative;
}

/* Background Decoration */
.auth-decoration {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: float 20s ease-in-out infinite;
}

.auth-decoration::before {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) rotate(120deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
}

/* Auth Card */
.auth-card {
  background: #0a0a0a;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 460px;
  position: relative;
  z-index: 1;
}

/* Logo */
.auth-logo {
  color: #d8e9a8;
  font-weight: 900;
  font-size: 32px;
  text-align: center;
  margin-bottom: 30px;
  letter-spacing: 2px;
}

.auth-logo .logo-color {
  color: #4e9f3d;
}

/* Header */
.auth-header {
  text-align: center;
  margin-bottom: 30px;
}

.auth-header h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #ffffff;
}

.auth-header p {
  color: #888;
  font-size: 14px;
}

/* Form */
.auth-form {
  margin-bottom: 20px;
}

.auth-form .form-label {
  color: #888;
  font-size: 13px;
  margin-bottom: 8px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-form .form-label i,
.auth-form .form-label svg {
  color: #4e9f3d;
  font-size: 16px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #ffffff;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: #4e9f3d;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

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

.password-input-wrapper .form-control {
  padding-right: 45px;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 8px;
  transition: color 0.3s;
}

.toggle-password:hover {
  color: #888;
}

.toggle-password i {
  font-size: 18px;
}

/* Form Options */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 13px;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-check-input {
  width: 18px;
  height: 18px;
  border: 2px solid #2a2a2a;
  background: #0a0a0a;
  cursor: pointer;
  margin: 0;
}

.form-check-input:checked {
  background-color: #4e9f3d;
  border-color: #4e9f3d;
}

.form-check-input:checked[type='checkbox'] {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(78, 159, 61, 0.1);
}

.form-check-label {
  color: #888;
  cursor: pointer;
  margin: 0;
  user-select: none;
}

.forgot-link {
  color: #4e9f3d;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  font-size: 13px;
}

.forgot-link:hover {
  color: #5fb94b;
  text-decoration: underline;
}

/* Button Loading State */
.btn-save {
  width: 100%;
  background: #4e9f3d;
  color: #000;
  border: none;
  padding: 14px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  margin-top: 20px;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-save:hover {
  background-color: #fff;
  color: #4e9f3d;
}

.btn-save .btn-loading {
  align-items: center;
  justify-content: center;
}

.btn-save.loading .btn-loading {
  display: flex;
}

/* Footer */
.auth-footer {
  text-align: center;
  color: #888;
  font-size: 14px;
}

.auth-link {
  color: #4e9f3d;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.auth-link:hover {
  color: #5fb94b;
}

/* Error Message */
.error-message {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.error-message i {
  font-size: 16px;
}

/* Success Message */
.success-message {
  background: rgba(78, 159, 61, 0.1);
  border: 1px solid rgba(78, 159, 61, 0.3);
  color: #4e9f3d;
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.success-message i {
  font-size: 16px;
}

/* OTP Form Styles */
.otp-info {
  text-align: center;
}

.otp-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #4e9f3d 0%, #5fb94b 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.otp-icon i {
  font-size: 40px;
  color: #fff;
}

.otp-message {
  color: #888;
  font-size: 14px;
  line-height: 1.6;
}

.otp-message strong {
  color: #4e9f3d;
  display: block;
  margin-top: 0.5rem;
  font-size: 15px;
}

/* OTP Input Group */
.otp-input-group {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 1rem;
}

.otp-input {
  width: 50px;
  height: 55px;
  background: #1a1a1a;
  border: 2px solid #2a2a2a;
  border-radius: 12px;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  transition: all 0.3s;
  outline: none;
}

.otp-input:focus {
  border-color: #4e9f3d;
  box-shadow: 0 0 0 3px rgba(78, 159, 61, 0.1);
  background: #0a0a0a;
}

.otp-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* OTP Timer */
.otp-timer {
  text-align: center;
  color: #888;
  font-size: 13px;
}

.otp-timer strong {
  color: #4e9f3d;
  font-weight: 600;
}

.otp-timer.expired strong {
  color: #ef4444;
}

/* Resend Button */
.btn-resend {
  background: transparent;
  border: 1px solid #2a2a2a;
  color: #888;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-resend:hover:not(:disabled) {
  background: #1a1a1a;
  border-color: #4e9f3d;
  color: #4e9f3d;
}

.btn-resend:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Verification Result Styles */
.verification-result {
  text-align: center;
  padding: 2rem 0;
}

.verification-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

.verification-icon.success {
  background: linear-gradient(135deg, #4e9f3d 0%, #5fb94b 100%);
}

.verification-icon.error {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.verification-icon i {
  font-size: 50px;
  color: #fff;
}

.verification-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.verification-message {
  color: #888;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.resend-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #2a2a2a;
}

/* Responsive */
@media (max-width: 576px) {
  .auth-card {
    padding: 30px 25px;
  }

  .auth-logo {
    font-size: 28px;
    margin-bottom: 25px;
  }

  .auth-header h2 {
    font-size: 22px;
  }

  .form-options {
    font-size: 12px;
  }

  .otp-input {
    width: 45px;
    height: 50px;
    font-size: 20px;
  }

  .otp-input-group {
    gap: 8px;
  }

  .otp-icon {
    width: 70px;
    height: 70px;
  }

  .otp-icon i {
    font-size: 35px;
  }
}
