/* V-Zone Cloud — Pages réinitialisation mot de passe */

.login-page--reset .login-fields {
  grid-template-columns: 1fr;
  gap: 1rem;
}

.login-page--reset .login-submit {
  margin-top: 0.25rem;
}

.login-page--reset .login-card__icon {
  background: linear-gradient(135deg, var(--login-brand) 0%, var(--login-brand-dark) 100%);
}

.login-card__intro {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  color: var(--login-muted);
  line-height: 1.55;
  text-align: center;
}

.login-card__intro--left {
  text-align: left;
}

.auth-status {
  text-align: center;
}

.auth-status__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.auth-status__icon--success {
  background: #ecfdf5;
  color: #059669;
}

.auth-status__icon--warning {
  background: #fef2f2;
  color: #dc2626;
}

.auth-status__title {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--login-text);
  line-height: 1.3;
}

.auth-status__text {
  margin: 0 0 0.65rem;
  font-size: 0.875rem;
  color: var(--login-muted);
  line-height: 1.55;
}

.auth-status__text:last-of-type {
  margin-bottom: 0;
}

.login-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.login-actions .login-submit {
  text-decoration: none;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.login-submit--secondary {
  background: #fff;
  color: var(--login-brand-dark);
  border: 1px solid var(--login-line);
  box-shadow: none;
}

.login-submit--secondary:hover {
  background: #f8fafc;
  border-color: var(--login-brand);
}

.register-strength {
  margin: -0.15rem 0 0.85rem;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.25s var(--login-ease), max-height 0.25s var(--login-ease);
}

.register-strength.is-active {
  opacity: 1;
  max-height: 40px;
}

.register-strength__bar {
  height: 4px;
  width: 0;
  border-radius: 999px;
  background: #ef4444;
  transition: width 0.35s var(--login-ease), background 0.25s var(--login-ease);
}

.register-strength__text {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: var(--login-muted);
}

.login-field--match-ok input {
  border-color: #10b981;
}

@media (max-width: 991.98px) {
  .login-card__intro {
    font-size: 0.8125rem;
    margin-bottom: 1rem;
  }

  .auth-status__icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }

  .register-strength.is-active {
    max-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .register-strength,
  .register-strength__bar {
    transition-duration: 0.01ms;
  }
}
