/*
 * Mot de passe oublié par code (21/10/2026) : administration (admin/auth/forgotpassword et resetpassword),
 * et vitrines (front/auth/…), qui ajoutent front/css/reset-password.css pour les couleurs du praticien.
 * Encadré d'information, champ du code, règles du mot de passe, bouton à 30 % tant que l'étape
 * n'est pas valide. Couleurs : celles de la plateforme (--bs-primary), vert et rouge de Bootstrap.
 */
.reset-step {
    font-family: var(--sk-font-sans, "IBM Plex Sans", system-ui, sans-serif);
    font-weight: 600;
    margin-bottom: 0;
}

.reset-hint {
    font-size: 0.875rem;
    color: #5b6170;
}

.reset-notice {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.875rem 1rem;
    margin-bottom: 1.25rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(13, 110, 253, 0.25);
    background: rgba(13, 110, 253, 0.06);
    color: #1f2a44;
    animation: reset-notice-in 220ms cubic-bezier(0.23, 1, 0.32, 1);
}

.reset-notice--success {
    border-color: rgba(25, 135, 84, 0.3);
    background: rgba(25, 135, 84, 0.07);
}

.reset-notice__icon {
    font-size: 1.25rem;
    line-height: 1.4;
    color: #0d6efd;
}

.reset-notice--success .reset-notice__icon {
    color: #198754;
}

.reset-notice__small {
    font-size: 0.875rem;
    color: #5b6170;
}

@keyframes reset-notice-in {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: none; }
}

/* Réduire les animations : l'encadré apparaît en fondu, sans glisser. */
@keyframes reset-notice-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .reset-notice { animation-name: reset-notice-fade; }
}

.reset-code-input {
    font-family: var(--sk-font-sans, "IBM Plex Sans", system-ui, sans-serif);
    font-variant-numeric: tabular-nums;
    font-size: 1.5rem;
    letter-spacing: 0.4em;
    text-align: center;
}

.reset-code-input::placeholder {
    font-size: 1rem;
    letter-spacing: normal;
}

.reset-tool {
    min-width: 44px;
}

.reset-rules {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
    font-size: 0.875rem;
    color: #b02a37;
}

.reset-rules li::before {
    content: "\2717";
    display: inline-block;
    width: 1.25em;
}

.reset-rules li.is-valid {
    color: #146c43;
}

.reset-rules li.is-valid::before {
    content: "\2713";
}

.password-match {
    font-size: 0.875rem;
}

.password-match.is-ok { color: #146c43; }
.password-match.is-ko { color: #b02a37; }

.reset-field-error {
    font-size: 0.875rem;
    color: #b02a37;
}

.reset-submit.is-not-ready,
.reset-submit:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.reset-links {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.reset-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}
