/* ========================================
   AUTHENTICATION PAGES STYLES
   Modern, clean SaaS authentication UI
   ======================================== */

/* ----------------------------------------
   CSS VARIABLES
   ---------------------------------------- */
:root {
  --auth-bg: #f9fafb;
  --auth-card-bg: #ffffff;
  --auth-feature-bg: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    #1a5a5f 100%
  );
  --auth-text-primary: #111827;
  --auth-text-secondary: #6b7280;
  --auth-text-muted: #9ca3af;
  --auth-border: #e5e7eb;
  --auth-input-bg: #ffffff;
  --auth-input-focus: rgba(35, 118, 124, 0.1);
  --auth-transition: 0.2s ease;
  --auth-radius-sm: 8px;
  --auth-radius-md: 12px;
  --auth-radius-lg: 16px;
}

/* ----------------------------------------
   BASE STYLES
   ---------------------------------------- */
.auth-page {
  min-height: 100vh;
  background: var(--auth-bg);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ----------------------------------------
   AUTH CONTAINER - Two Column Layout
   ---------------------------------------- */
.auth-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

/* ----------------------------------------
   FORM COLUMN (Left)
   ---------------------------------------- */
.auth-form-column {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--auth-card-bg);
}

.auth-form-wrapper {
  width: 100%;
  max-width: 420px;
}

/* Mobile Logo - Hidden on desktop */
.auth-logo-mobile {
  display: none;
  margin-bottom: 2rem;
}

.auth-logo-mobile img {
  height: 40px;
  width: auto;
}

/* Back to Home Link */
.auth-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--auth-text-secondary);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color var(--auth-transition);
}

.auth-back-link:hover {
  color: var(--color-primary);
}

.auth-back-link i {
  font-size: 1rem;
}

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

.auth-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--auth-text-primary);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.auth-subtitle {
  font-size: 1rem;
  color: var(--auth-text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* ----------------------------------------
   FORM STYLES
   ---------------------------------------- */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Form Group */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Form Row - Side by side fields */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Labels */
.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--auth-text-primary);
}

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.forgot-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--auth-transition);
}

.forgot-link:hover {
  color: #1a5a5f;
  text-decoration: underline;
}

/* Input Wrapper */
.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 1rem;
  color: var(--auth-text-muted);
  font-size: 1.125rem;
  pointer-events: none;
  transition: color var(--auth-transition);
}

.form-control {
  width: 100%;
  height: 48px;
  padding: 0 1rem 0 2.75rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--auth-text-primary);
  background: var(--auth-input-bg);
  border: 1.5px solid var(--auth-border);
  border-radius: var(--auth-radius-sm);
  transition: all var(--auth-transition);
}

.form-control::placeholder {
  color: var(--auth-text-muted);
}

.form-control:hover {
  border-color: #d1d5db;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--auth-input-focus);
  box-shadow: 0 0 0 3px rgba(35, 118, 124, 0.1);
}

.form-control:focus + .input-icon,
.input-wrapper:focus-within .input-icon {
  color: var(--color-primary);
}

/* Password Toggle */
.password-toggle {
  position: absolute;
  right: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: var(--auth-text-muted);
  cursor: pointer;
  transition: all var(--auth-transition);
}

.password-toggle:hover {
  background: rgba(0, 0, 0, 0.04);
  color: var(--auth-text-secondary);
}

.password-toggle:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Validation Errors */
.field-validation-error {
  font-size: 0.8125rem;
  color: #dc2626;
  min-height: 1.25rem;
}

.alert-danger {
  padding: 0.875rem 1rem;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: var(--auth-radius-sm);
  color: #dc2626;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

/* Input Validation States */
.form-control.input-validation-error {
  border-color: #dc2626;
}

.form-control.input-validation-error:focus {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* ----------------------------------------
   CHECKBOX STYLES
   ---------------------------------------- */
.form-group-inline {
  display: flex;
  align-items: flex-start;
}

.checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
}

.checkbox-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-custom {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--auth-input-bg);
  border: 1.5px solid var(--auth-border);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--auth-transition);
  margin-top: 1px;
}

.checkbox-custom::after {
  content: "";
  width: 10px;
  height: 6px;
  border: 2px solid #fff;
  border-top: none;
  border-right: none;
  transform: rotate(-45deg) scale(0);
  transition: transform 0.15s ease;
  margin-top: -2px;
}

.checkbox-input:checked + .checkbox-custom {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.checkbox-input:checked + .checkbox-custom::after {
  transform: rotate(-45deg) scale(1);
}

.checkbox-input:focus + .checkbox-custom {
  box-shadow: 0 0 0 3px rgba(35, 118, 124, 0.2);
}

.checkbox-label {
  font-size: 0.875rem;
  color: var(--auth-text-secondary);
  line-height: 1.5;
}

.inline-link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

.inline-link:hover {
  text-decoration: underline;
}

/* ----------------------------------------
   TERMS AGREEMENT SPECIFIC STYLES
   ---------------------------------------- */
.terms-group {
  margin-top: 0.5rem;
}

.terms-group .checkbox-wrapper {
  padding: 0.75rem;
  border-radius: var(--auth-radius-sm);
  border: 1.5px solid transparent;
  margin: -0.75rem;
  transition: all var(--auth-transition);
}

.terms-group .checkbox-wrapper:hover {
  background: rgba(35, 118, 124, 0.04);
}

/* Error state for terms checkbox */
.terms-group.has-error .checkbox-wrapper {
  border-color: #dc2626;
  background: rgba(220, 38, 38, 0.04);
}

.terms-group.has-error .checkbox-custom {
  border-color: #dc2626;
}

.terms-group .field-validation-error {
  display: block;
  margin-top: 0.5rem;
  padding-left: 2rem;
}

/* Shake animation for validation error */
@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-4px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(4px);
  }
}

.terms-group.shake .checkbox-wrapper {
  animation: shake 0.5s ease-in-out;
}

/* Inline links within checkbox label - prevent checkbox toggle on click */
.checkbox-label .inline-link {
  position: relative;
  z-index: 1;
}

/* ----------------------------------------
   PASSWORD STRENGTH INDICATOR
   ---------------------------------------- */
.password-strength {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-top: 0.25rem;
}

.strength-bar {
  height: 4px;
  background: var(--auth-border);
  border-radius: 100px;
  overflow: hidden;
}

.strength-fill {
  height: 100%;
  width: 0%;
  background: #dc2626;
  border-radius: 100px;
  transition: width 0.3s ease, background 0.3s ease;
}

.strength-fill.weak {
  width: 33%;
  background: #dc2626;
}

.strength-fill.medium {
  width: 66%;
  background: #f59e0b;
}

.strength-fill.strong {
  width: 100%;
  background: #16a34a;
}

.strength-text {
  font-size: 0.75rem;
  color: var(--auth-text-muted);
}

/* ----------------------------------------
   BUTTONS
   ---------------------------------------- */
.btn-auth-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 48px;
  padding: 0 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: var(--color-primary);
  border: none;
  border-radius: var(--auth-radius-sm);
  cursor: pointer;
  transition: all var(--auth-transition);
  position: relative;
  overflow: hidden;
}

.btn-auth-primary:hover {
  background: #1a5a5f;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(35, 118, 124, 0.25);
}

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

.btn-auth-primary:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(35, 118, 124, 0.3);
}

.btn-auth-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-loader {
  display: none;
}

.btn-auth-primary.loading .btn-text {
  display: none;
}

.btn-auth-primary.loading .btn-loader {
  display: flex;
}

/* Spinner Animation */
.spin {
  animation: spin 1s linear infinite;
}

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

/* ----------------------------------------
   DIVIDER
   ---------------------------------------- */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

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

.auth-divider span {
  font-size: 0.8125rem;
  color: var(--auth-text-muted);
  white-space: nowrap;
}

/* ----------------------------------------
   SOCIAL BUTTON
   ---------------------------------------- */
.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  height: 48px;
  padding: 0 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  font-family: inherit;
  color: var(--auth-text-primary);
  background: var(--auth-card-bg);
  border: 1.5px solid var(--auth-border);
  border-radius: var(--auth-radius-sm);
  cursor: pointer;
  transition: all var(--auth-transition);
}

.btn-social:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.btn-social:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.google-icon {
  flex-shrink: 0;
}

/* ----------------------------------------
   FOOTER TEXT
   ---------------------------------------- */
.auth-footer-text {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--auth-text-secondary);
}

.auth-link {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--auth-transition);
}

.auth-link:hover {
  color: #1a5a5f;
  text-decoration: underline;
}

/* ----------------------------------------
   FEATURE COLUMN (Right)
   ---------------------------------------- */
.auth-feature-column {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--auth-feature-bg);
  position: relative;
  overflow: hidden;
}

.auth-feature-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  padding: 2rem;
  text-align: center;
}

/* Logo */
.auth-logo {
  display: inline-block;
  margin-bottom: 3rem;
}

.auth-logo img {
  height: 64px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

/* ----------------------------------------
   FEATURE CAROUSEL
   ---------------------------------------- */
.feature-carousel {
  position: relative;
}

.carousel-slides {
  position: relative;
  min-height: 240px;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px);
  transition: all 0.5s ease;
}

.carousel-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.feature-icon i {
  font-size: 2.25rem;
  color: #fff;
}

.feature-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.feature-description {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin: 0;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

/* Carousel Indicators */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.indicator {
  width: 8px;
  height: 8px;
  padding: 0;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.5);
}

.indicator.active {
  width: 24px;
  background: #fff;
}

.indicator:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

/* ----------------------------------------
   DECORATIVE ELEMENTS
   ---------------------------------------- */
.auth-feature-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.decoration-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.decoration-circle-1 {
  width: 400px;
  height: 400px;
  top: -150px;
  right: -100px;
}

.decoration-circle-2 {
  width: 300px;
  height: 300px;
  bottom: -100px;
  left: -100px;
}

.decoration-circle-3 {
  width: 200px;
  height: 200px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.03);
}

/* ----------------------------------------
   RESPONSIVE STYLES
   ---------------------------------------- */

/* Tablet */
@media (max-width: 991.98px) {
  .auth-container {
    grid-template-columns: 1fr;
  }

  .auth-feature-column {
    display: none;
  }

  .auth-form-column {
    min-height: 100vh;
    padding: 1.5rem;
  }

  .auth-logo-mobile {
    display: block;
    text-align: center;
  }

  .auth-form-wrapper {
    max-width: 400px;
  }
}

/* Mobile */
@media (max-width: 575.98px) {
  .auth-form-column {
    padding: 1rem;
  }

  .auth-form-wrapper {
    max-width: 100%;
  }

  .auth-header {
    margin-bottom: 1.5rem;
  }

  .auth-title {
    font-size: 1.5rem;
  }

  .auth-subtitle {
    font-size: 0.9375rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .form-control {
    height: 52px;
  }

  .btn-auth-primary,
  .btn-social {
    height: 52px;
  }

  .auth-footer-text {
    font-size: 0.875rem;
  }

  .terms-group .checkbox-label {
    font-size: 0.8125rem;
  }
}

/* Very small screens */
@media (max-width: 359.98px) {
  .auth-form-column {
    padding: 0.75rem;
  }

  .auth-title {
    font-size: 1.375rem;
  }
}

/* ----------------------------------------
   DARK MODE SUPPORT (Optional)
   ---------------------------------------- */
@media (prefers-color-scheme: dark) {
  /* Uncomment to enable dark mode support
    .auth-page {
        --auth-bg: #0f172a;
        --auth-card-bg: #1e293b;
        --auth-text-primary: #f1f5f9;
        --auth-text-secondary: #94a3b8;
        --auth-text-muted: #64748b;
        --auth-border: #334155;
        --auth-input-bg: #1e293b;
    }
    */
}

/* ----------------------------------------
   PRINT STYLES
   ---------------------------------------- */
@media print {
  .auth-feature-column {
    display: none;
  }

  .auth-container {
    display: block;
  }
}

/* ----------------------------------------
   ACCESSIBILITY - Reduced Motion
   ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .carousel-slide {
    transition: none;
  }
}

/* ----------------------------------------
   ERROR STATE PAGES
   (AccessDenied, Lockout, ExpiredPassword, etc.)
   ---------------------------------------- */
.error-state-container {
  text-align: center;
  padding: 1rem 0;
}

/* Error Icon */
.error-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.error-icon-wrapper i {
  font-size: 2.5rem;
}

/* Icon Variants */
.error-icon-denied {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

.error-icon-lockout {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

.error-icon-expired {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
}

.error-icon-success {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.error-icon-info {
  background: rgba(35, 118, 124, 0.1);
  color: var(--color-primary);
}

.error-icon-warning {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

/* Error Header */
.error-header {
  margin-bottom: 1.5rem;
}

.error-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--auth-text-primary);
  margin: 0 0 0.375rem;
  letter-spacing: -0.02em;
}

.error-code {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--auth-text-muted);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Error Description */
.error-description {
  margin-bottom: 2rem;
  text-align: left;
}

.error-description > p {
  font-size: 1rem;
  color: var(--auth-text-secondary);
  line-height: 1.6;
  margin: 0 0 1rem;
  text-align: center;
}

/* Error Reasons List */
.error-reasons {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #f9fafb;
  border-radius: var(--auth-radius-md);
  padding: 1rem 1.25rem;
}

.error-reasons li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--auth-text-secondary);
  line-height: 1.5;
}

.error-reasons li:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.error-reasons li i {
  flex-shrink: 0;
  font-size: 1.125rem;
  color: var(--auth-text-muted);
  margin-top: 0.125rem;
}

/* Error Actions */
.error-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

/* Secondary Button */
.btn-auth-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 48px;
  padding: 0 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--auth-text-primary);
  background: transparent;
  border: 1.5px solid var(--auth-border);
  border-radius: var(--auth-radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--auth-transition);
}

.btn-auth-secondary:hover {
  background: #f9fafb;
  border-color: #d1d5db;
  color: var(--auth-text-primary);
}

.btn-auth-secondary:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

/* Primary button with icon */
.btn-auth-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-auth-primary i,
.btn-auth-secondary i {
  font-size: 1.125rem;
}

/* Error Help */
.error-help {
  padding-top: 1rem;
  border-top: 1px solid var(--auth-border);
}

.error-help p {
  font-size: 0.9375rem;
  color: var(--auth-text-secondary);
  margin: 0;
}

/* ----------------------------------------
   SIMPLE MESSAGE STATE
   (For simpler error/success pages)
   ---------------------------------------- */
.message-state-container {
  text-align: center;
  padding: 2rem 0;
}

.message-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.message-icon-wrapper i {
  font-size: 2.25rem;
}

.message-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--auth-text-primary);
  margin: 0 0 0.75rem;
}

.message-text {
  font-size: 1rem;
  color: var(--auth-text-secondary);
  line-height: 1.7;
  margin: 0 0 2rem;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.message-text a {
  color: var(--color-primary);
  font-weight: 500;
  text-decoration: none;
}

.message-text a:hover {
  text-decoration: underline;
}

/* ----------------------------------------
   INFO CARD COMPONENT
   (For additional context in error pages)
   ---------------------------------------- */
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(35, 118, 124, 0.06);
  border: 1px solid rgba(35, 118, 124, 0.15);
  border-radius: var(--auth-radius-sm);
  margin-bottom: 1.5rem;
  text-align: left;
}

.info-card-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(35, 118, 124, 0.15);
  color: var(--color-primary);
  border-radius: 8px;
}

.info-card-icon i {
  font-size: 1.125rem;
}

.info-card-content h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--auth-text-primary);
  margin: 0 0 0.25rem;
}

.info-card-content p {
  font-size: 0.875rem;
  color: var(--auth-text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* Warning Card Variant */
.info-card.warning {
  background: rgba(245, 158, 11, 0.06);
  border-color: rgba(245, 158, 11, 0.2);
}

.info-card.warning .info-card-icon {
  background: rgba(245, 158, 11, 0.15);
  color: #d97706;
}

/* Danger Card Variant */
.info-card.danger {
  background: rgba(239, 68, 68, 0.06);
  border-color: rgba(239, 68, 68, 0.2);
}

.info-card.danger .info-card-icon {
  background: rgba(239, 68, 68, 0.15);
  color: #dc2626;
}

/* ----------------------------------------
   COUNTDOWN TIMER
   (For lockout pages, etc.)
   ---------------------------------------- */
.countdown-container {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 64px;
}

.countdown-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--auth-text-primary);
  line-height: 1;
  padding: 0.75rem 1rem;
  background: #fff;
  border-radius: var(--auth-radius-sm);
  min-width: 56px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-variant-numeric: tabular-nums;
}

.countdown-value.countdown-urgent {
  background: rgba(245, 158, 11, 0.15);
  color: #d97706;
  border-color: rgba(245, 158, 11, 0.3);
}

.countdown-value.countdown-critical {
  background: rgba(220, 38, 38, 0.15);
  color: #dc2626;
  border-color: rgba(220, 38, 38, 0.3);
  animation: pulse-critical 1s ease-in-out infinite;
}

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

.countdown-item .countdown-label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--auth-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

/* ----------------------------------------
   ACCOUNT DELETION SPECIFIC STYLES
   ---------------------------------------- */
.deletion-countdown {
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.08) 0%,
    rgba(245, 158, 11, 0.04) 100%
  );
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--auth-radius-md);
  text-align: center;
}

.deletion-countdown > .countdown-label {
  font-size: 0.9375rem;
  color: var(--auth-text-secondary);
  margin-bottom: 1rem;
  font-weight: 500;
}

/* Restore Button Variant */
.btn-restore {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.btn-restore:hover {
  background: linear-gradient(135deg, #15803d 0%, #166534 100%);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.btn-restore:focus {
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.3);
}

/* Danger Zone Styling (for confirmation dialogs) */
.danger-zone {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--auth-border);
}

.danger-zone-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #dc2626;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.danger-zone-title i {
  font-size: 1rem;
}

.btn-danger-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 44px;
  padding: 0 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: inherit;
  color: #dc2626;
  background: transparent;
  border: 1.5px solid rgba(220, 38, 38, 0.3);
  border-radius: var(--auth-radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--auth-transition);
}

.btn-danger-outline:hover {
  background: rgba(220, 38, 38, 0.06);
  border-color: rgba(220, 38, 38, 0.5);
  color: #dc2626;
}

.btn-danger-outline:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

/* ----------------------------------------
   RESPONSIVE ADJUSTMENTS FOR DELETION PAGE
   ---------------------------------------- */
@media (max-width: 575.98px) {
  .deletion-countdown {
    padding: 1rem;
  }

  .countdown-container {
    gap: 0.5rem;
  }

  .countdown-item {
    min-width: auto;
    flex: 1;
  }

  .countdown-value {
    font-size: 1.25rem;
    padding: 0.625rem 0.5rem;
    min-width: auto;
    width: 100%;
  }

  .countdown-item .countdown-label {
    font-size: 0.625rem;
  }
}

/* ----------------------------------------
   RESEND ACTION
   (Email verification, password reset, etc.)
   ---------------------------------------- */
.resend-container {
  text-align: center;
  padding: 1rem 0;
}

.resend-text {
  font-size: 0.9375rem;
  color: var(--auth-text-secondary);
  margin: 0 0 0.75rem;
}

.resend-timer {
  font-size: 0.875rem;
  color: var(--auth-text-muted);
  margin: 0;
}

.resend-timer strong {
  color: var(--color-primary);
  font-weight: 600;
}

.btn-resend {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: inherit;
  color: var(--color-primary);
  background: transparent;
  border: 1.5px solid var(--color-primary);
  border-radius: var(--auth-radius-sm);
  cursor: pointer;
  transition: all var(--auth-transition);
}

.btn-resend:hover:not(:disabled) {
  background: rgba(35, 118, 124, 0.06);
}

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

/* ----------------------------------------
   EMAIL DISPLAY
   (Confirmation pages)
   ---------------------------------------- */
.email-display {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: #f9fafb;
  border: 1px solid var(--auth-border);
  border-radius: var(--auth-radius-sm);
  font-size: 0.9375rem;
  color: var(--auth-text-primary);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.email-display i {
  color: var(--color-primary);
}

/* ----------------------------------------
   EMAIL CHANGE SUMMARY
   ---------------------------------------- */
.email-change-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin: 1.5rem 0;
  padding: 1.25rem;
  background: #f9fafb;
  border-radius: var(--auth-radius-md);
}

.email-change-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--auth-radius-sm);
}

.email-change-item.old {
  background: rgba(156, 163, 175, 0.1);
}

.email-change-item.new {
  background: rgba(34, 197, 94, 0.1);
}

.email-change-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--auth-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.email-change-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--auth-text-primary);
  word-break: break-all;
}

.email-change-item.old .email-change-value {
  color: var(--auth-text-muted);
  text-decoration: line-through;
}

.email-change-item.new .email-change-value {
  color: #16a34a;
}

.email-change-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--auth-text-muted);
}

.email-change-arrow i {
  font-size: 1.25rem;
}

/* ----------------------------------------
   STEPS INDICATOR
   (Multi-step processes)
   ---------------------------------------- */
.steps-indicator {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--auth-border);
  transition: all var(--auth-transition);
}

.step-dot.active {
  width: 24px;
  border-radius: 100px;
  background: var(--color-primary);
}

.step-dot.completed {
  background: var(--color-primary);
}

/* ----------------------------------------
   RESPONSIVE ADJUSTMENTS FOR ERROR PAGES
   ---------------------------------------- */
@media (max-width: 575.98px) {
  .error-icon-wrapper {
    width: 72px;
    height: 72px;
  }

  .error-icon-wrapper i {
    font-size: 2rem;
  }

  .error-title {
    font-size: 1.5rem;
  }

  .error-reasons {
    padding: 0.75rem 1rem;
  }

  .error-reasons li {
    font-size: 0.875rem;
  }

  .countdown-value {
    font-size: 1.5rem;
    min-width: 48px;
    padding: 0.625rem;
  }

  .countdown-container {
    gap: 0.75rem;
  }
}

/* ----------------------------------------
   BACK LINK
   ---------------------------------------- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--auth-text-secondary);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color var(--auth-transition);
}

.back-link:hover {
  color: var(--color-primary);
}

.back-link i {
  font-size: 1.125rem;
  transition: transform var(--auth-transition);
}

.back-link:hover i {
  transform: translateX(-3px);
}

/* ----------------------------------------
   AUTH HEADER WITH ICON
   ---------------------------------------- */
.auth-header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(35, 118, 124, 0.1);
  color: var(--color-primary);
  border-radius: 14px;
  margin-bottom: 1.25rem;
}

.auth-header-icon i {
  font-size: 1.75rem;
}

/* ----------------------------------------
   EXTERNAL PROVIDER BADGE
   ---------------------------------------- */
.external-provider-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #f9fafb;
  border: 1px solid var(--auth-border);
  border-radius: var(--auth-radius-md);
  margin-bottom: 1.5rem;
}

.provider-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--auth-border);
}

.provider-icon.google {
  background: #fff;
}

.provider-icon.default i {
  font-size: 1.5rem;
  color: var(--auth-text-secondary);
}

.provider-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.provider-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--auth-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.provider-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--auth-text-primary);
}

.provider-check {
  font-size: 1.5rem;
  color: #16a34a;
}

/* ----------------------------------------
   INPUT BADGE (Verified, etc.)
   ---------------------------------------- */
.input-badge {
  position: absolute;
  right: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.input-badge.verified {
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
}

.input-badge i {
  font-size: 0.875rem;
}

/* ----------------------------------------
   FORM NOTE
   ---------------------------------------- */
.form-note {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--auth-text-muted);
  margin-top: 0.375rem;
}

.form-note i {
  font-size: 0.9375rem;
  color: var(--color-primary);
}

/* ----------------------------------------
   EXPIRED PASSWORD INSTRUCTIONS
   ---------------------------------------- */
.expired-instructions {
  text-align: left;
  margin: 1.5rem 0;
  padding: 1.25rem;
  background: #f9fafb;
  border-radius: var(--auth-radius-md);
}

.expired-instructions h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--auth-text-primary);
  margin: 0 0 1rem;
}

.instruction-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: instruction;
}

.instruction-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--auth-text-secondary);
}

.instruction-list li:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(35, 118, 124, 0.1);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ----------------------------------------
   FORGOT PASSWORD HELP TEXT
   ---------------------------------------- */
.forgot-help-text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1.5rem 0;
  padding: 1rem;
  background: rgba(35, 118, 124, 0.04);
  border-radius: var(--auth-radius-sm);
}

.help-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--auth-text-secondary);
}

.help-item i {
  font-size: 1.125rem;
  color: var(--color-primary);
}

/* ----------------------------------------
   EMAIL SENT ANIMATION
   ---------------------------------------- */
.email-sent-animation {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.email-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  background: rgba(35, 118, 124, 0.1);
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

.email-icon-wrapper i {
  font-size: 2.5rem;
  color: var(--color-primary);
}

.email-pulse {
  position: absolute;
  width: 88px;
  height: 88px;
  background: rgba(35, 118, 124, 0.15);
  border-radius: 50%;
  animation: email-pulse-animation 2s ease-out infinite;
}

@keyframes email-pulse-animation {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* ----------------------------------------
   INSTRUCTION CARD
   ---------------------------------------- */
.instruction-card {
  text-align: left;
  padding: 1.25rem;
  background: #f9fafb;
  border-radius: var(--auth-radius-md);
  margin: 1.5rem 0;
}

.instruction-card h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--auth-text-primary);
  margin: 0 0 1rem;
}

.instruction-card h4 i {
  font-size: 1.125rem;
  color: var(--color-primary);
}

.instruction-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: steps;
}

.instruction-steps li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--auth-text-secondary);
  counter-increment: steps;
}

.instruction-steps li::before {
  content: counter(steps);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(35, 118, 124, 0.1);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}

.instruction-steps li:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

/* ----------------------------------------
   EXPIRY NOTICE
   ---------------------------------------- */
.expiry-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--auth-text-muted);
  margin: 1rem 0;
}

.expiry-notice i {
  font-size: 1rem;
  color: #f59e0b;
}

.expiry-notice strong {
  color: var(--auth-text-primary);
}

/* ----------------------------------------
   RESEND SECTION
   ---------------------------------------- */
.resend-section {
  text-align: center;
  padding: 1.25rem 0;
  border-top: 1px solid var(--auth-border);
  margin-top: 1.5rem;
}

.resend-text {
  font-size: 0.9375rem;
  color: var(--auth-text-secondary);
  margin: 0 0 0.5rem;
}

.resend-options {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.resend-hint {
  font-size: 0.875rem;
  color: var(--auth-text-muted);
}

.resend-form {
  display: inline;
}

.btn-resend {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  color: var(--color-primary);
  background: transparent;
  border: 1.5px solid var(--color-primary);
  border-radius: var(--auth-radius-sm);
  cursor: pointer;
  transition: all var(--auth-transition);
}

.btn-resend:hover {
  background: rgba(35, 118, 124, 0.06);
}

.btn-resend i {
  font-size: 1rem;
}

/* ----------------------------------------
   RESPONSIVE ADJUSTMENTS
   ---------------------------------------- */
@media (max-width: 575.98px) {
  .external-provider-badge {
    flex-direction: column;
    text-align: center;
  }

  .provider-info {
    align-items: center;
  }

  .provider-check {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
  }

  .external-provider-badge {
    position: relative;
  }

  .resend-options {
    flex-direction: column;
    gap: 0.75rem;
  }

  .email-icon-wrapper {
    width: 72px;
    height: 72px;
  }

  .email-icon-wrapper i {
    font-size: 2rem;
  }

  .email-pulse {
    width: 72px;
    height: 72px;
  }
}

/* ----------------------------------------
   LOCKOUT PAGE STYLES
   ---------------------------------------- */
.lockout-timer {
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--auth-radius-md);
  text-align: center;
}

.lockout-timer .timer-label {
  font-size: 0.9375rem;
  color: var(--auth-text-secondary);
  margin: 0 0 1rem;
}

.lockout-timer .timer-label.text-success {
  color: #16a34a;
  font-weight: 600;
}

.lockout-options {
  text-align: left;
  margin: 1.5rem 0;
}

.lockout-options h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--auth-text-primary);
  margin: 0 0 1rem;
}

.option-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.option-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0;
  font-size: 0.9375rem;
  color: var(--auth-text-secondary);
}

.option-list li:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.option-list li i {
  font-size: 1.125rem;
  color: var(--color-primary);
}

/* ----------------------------------------
   2FA CODE INPUT STYLES
   ---------------------------------------- */
.code-input-container {
  margin-top: 0.5rem;
}

.code-inputs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.code-input {
  width: 48px;
  height: 56px;
  border: 1.5px solid var(--auth-border);
  border-radius: var(--auth-radius-sm);
  background: var(--auth-input-bg);
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  color: var(--auth-text-primary);
  transition: all var(--auth-transition);
  font-family: "SF Mono", "Monaco", "Consolas", monospace;
}

.code-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--auth-input-focus);
}

.code-input:hover:not(:focus) {
  border-color: #d1d5db;
}

.code-separator {
  font-size: 1.25rem;
  color: var(--auth-text-muted);
  padding: 0 0.25rem;
}

/* 2FA Header Icon Variant */
.auth-header-icon-2fa {
  background: rgba(35, 118, 124, 0.1);
  color: var(--color-primary);
}

.auth-header-icon-recovery {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

/* 2FA Alternatives */
.twofa-alternatives {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--auth-border);
}

.alternatives-label {
  font-size: 0.875rem;
  color: var(--auth-text-muted);
  margin: 0 0 0.75rem;
}

.alternatives-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.alternative-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-primary);
  text-decoration: none;
  border-radius: var(--auth-radius-sm);
  transition: all var(--auth-transition);
}

.alternative-link:hover {
  background: rgba(35, 118, 124, 0.06);
  color: var(--color-primary);
}

.alternative-link i {
  font-size: 1.125rem;
}

/* Recovery Code Input */
.recovery-code-input {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: "SF Mono", "Monaco", "Consolas", monospace;
  font-weight: 600;
}

/* ----------------------------------------
   LOGOUT PAGE STYLES
   ---------------------------------------- */
.logout-icon-wrapper {
  position: relative;
  display: inline-flex;
  margin-bottom: 1.5rem;
}

.logout-icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  background: rgba(35, 118, 124, 0.1);
  border-radius: 50%;
}

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

.logout-checkmark {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #16a34a;
  border-radius: 50%;
  border: 3px solid #fff;
  animation: checkmark-pop 0.3s ease-out;
}

.logout-checkmark i {
  font-size: 1rem;
  color: #fff;
}

@keyframes checkmark-pop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.logout-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1.5rem 0;
  padding: 1rem;
  background: #f9fafb;
  border-radius: var(--auth-radius-sm);
}

.logout-info-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--auth-text-secondary);
}

.logout-info-item i {
  font-size: 1rem;
  color: #16a34a;
}

.logout-tips {
  text-align: left;
  margin-top: 2rem;
  padding: 1.25rem;
  background: rgba(35, 118, 124, 0.04);
  border-radius: var(--auth-radius-md);
}

.logout-tips h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--auth-text-primary);
  margin: 0 0 0.75rem;
}

.logout-tips h4 i {
  font-size: 1.125rem;
  color: var(--color-primary);
}

.logout-tips ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.logout-tips ul li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--auth-text-secondary);
  line-height: 1.5;
}

.logout-tips ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 5px;
  height: 5px;
  background: var(--color-primary);
  border-radius: 50%;
}

.logout-tips ul li:last-child {
  margin-bottom: 0;
}

/* ----------------------------------------
   RESPONSIVE ADJUSTMENTS
   ---------------------------------------- */
@media (max-width: 575.98px) {
  .code-input {
    width: 40px;
    height: 48px;
    font-size: 1.25rem;
  }

  .code-inputs {
    gap: 0.375rem;
  }

  .code-separator {
    padding: 0 0.125rem;
  }

  .logout-icon-circle {
    width: 72px;
    height: 72px;
  }

  .logout-icon-circle i {
    font-size: 2rem;
  }

  .logout-checkmark {
    width: 28px;
    height: 28px;
  }
}

/* ----------------------------------------
   COUNTDOWN URGENT STATES
   ---------------------------------------- */
.countdown-value.countdown-urgent {
  background: rgba(245, 158, 11, 0.15);
  color: #d97706;
  border-color: rgba(245, 158, 11, 0.3);
}

/* ----------------------------------------
   ICON WRAPPER VARIANT FOR LOCKOUT
   ---------------------------------------- */
.error-icon-lockout {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

/* ----------------------------------------
   SUCCESS ICON WRAPPER (Password Reset)
   ---------------------------------------- */
.success-icon-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.success-icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  background: #16a34a;
  border-radius: 50%;
  position: relative;
  z-index: 1;
  animation: success-scale 0.5s ease-out;
}

.success-icon-circle i {
  font-size: 2.5rem;
  color: #fff;
}

.success-ring {
  position: absolute;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 3px solid #16a34a;
  animation: success-ring-expand 0.6s ease-out forwards;
}

@keyframes success-scale {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes success-ring-expand {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Success Glow Effect for Email Icon */
.success-glow {
  background: rgba(22, 163, 74, 0.1) !important;
}

.success-glow i {
  color: #16a34a !important;
}

/* ----------------------------------------
   SUCCESS CONFIRMATION LIST
   ---------------------------------------- */
.success-confirmation {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin: 1.5rem 0;
  padding: 1.25rem;
  background: rgba(22, 163, 74, 0.06);
  border-radius: var(--auth-radius-md);
}

.confirmation-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--auth-text-secondary);
}

.confirmation-item i {
  font-size: 1.125rem;
  color: #16a34a;
  flex-shrink: 0;
}

/* ----------------------------------------
   RESET TIPS (Similar to Logout Tips)
   ---------------------------------------- */
.reset-tips {
  text-align: left;
  margin-top: 2rem;
  padding: 1.25rem;
  background: rgba(35, 118, 124, 0.04);
  border-radius: var(--auth-radius-md);
}

.reset-tips h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--auth-text-primary);
  margin: 0 0 0.75rem;
}

.reset-tips h4 i {
  font-size: 1.125rem;
  color: var(--color-primary);
}

.reset-tips ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.reset-tips ul li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--auth-text-secondary);
  line-height: 1.5;
}

.reset-tips ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 5px;
  height: 5px;
  background: var(--color-primary);
  border-radius: 50%;
}

.reset-tips ul li:last-child {
  margin-bottom: 0;
}

/* ----------------------------------------
   SECURITY NOTICE
   ---------------------------------------- */
.security-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin: 1.5rem 0;
  padding: 1rem;
  background: rgba(35, 118, 124, 0.04);
  border-radius: var(--auth-radius-sm);
  font-size: 0.875rem;
  color: var(--auth-text-secondary);
  line-height: 1.5;
}

.security-notice i {
  font-size: 1.125rem;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* ----------------------------------------
   RESPONSIVE ADJUSTMENTS
   ---------------------------------------- */
@media (max-width: 575.98px) {
  .success-icon-circle {
    width: 72px;
    height: 72px;
  }

  .success-icon-circle i {
    font-size: 2rem;
  }

  .success-ring {
    width: 72px;
    height: 72px;
  }

  .confirmation-item {
    font-size: 0.875rem;
  }

  .success-confirmation {
    padding: 1rem;
  }
}
