/* ===== Auth Pages Styles ===== */

.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg-primary);
  position: relative;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 60px var(--shadow-color);
}

.auth-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.auth-icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(68, 193, 70, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.auth-icon-circle i {
  font-size: 2rem;
  color: var(--primary-color);
}

.auth-header h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.auth-header p {
  color: var(--muted-gray);
  font-size: 0.95rem;
}

.auth-form .form-group {
  margin-bottom: 20px;
}

.auth-form .form-label {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.input-icon {
  position: relative;
}

.input-icon > i:first-child {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-gray);
  font-size: 1.1rem;
}

.input-icon .form-control {
  padding-left: 44px;
  padding-right: 44px;
}

.btn-toggle-password {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--muted-gray);
  cursor: pointer;
  padding: 0;
}

.btn-toggle-password:hover {
  color: var(--primary-color);
}

.form-text {
  font-size: 0.8rem;
  color: var(--muted-gray);
  margin-top: 6px;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

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

.form-check-input {
  width: 18px;
  height: 18px;
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  cursor: pointer;
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.form-check-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.form-check-label a {
  color: var(--primary-color);
}

.forgot-link {
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 500;
}

.forgot-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.btn-auth {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
}

.auth-divider {
  display: flex;
  align-items: center;
  margin: 24px 0;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-color);
}

.auth-divider span {
  padding: 0 16px;
  color: var(--muted-gray);
  font-size: 0.85rem;
}

.social-auth {
  display: flex;
  gap: 12px;
}

.btn-social {
  flex: 1;
  padding: 12px;
  border-radius: 10px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-social:hover {
  background: var(--bg-secondary);
  border-color: var(--primary-color);
  color: var(--text-primary);
}

.btn-social i {
  font-size: 1.1rem;
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.auth-footer a {
  color: var(--primary-color);
  font-weight: 600;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* OTP Inputs */
.otp-inputs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.otp-input {
  width: 50px;
  height: 56px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 10px;
  background: var(--bg-input);
  border: 2px solid var(--border-color);
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.otp-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(68, 193, 70, 0.1);
}

.otp-timer {
  text-align: center;
  margin-bottom: 24px;
}

.otp-timer span {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.resend-text {
  text-align: center;
  margin-top: 16px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.btn-link {
  background: none;
  border: none;
  color: var(--primary-color);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.btn-link:disabled {
  color: var(--muted-gray);
  cursor: not-allowed;
}

.btn-link:not(:disabled):hover {
  text-decoration: underline;
}

/* Theme Toggle Float */
.theme-toggle-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  box-shadow: 0 4px 12px var(--shadow-color);
}

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

  .otp-input {
    width: 42px;
    height: 48px;
    font-size: 1.2rem;
  }

  .social-auth {
    flex-direction: column;
  }
}
