/* Восстановление пароля — дополнение к login.css */

.auth-alert--info {
    background: #1e3a5f55;
    border: 1px solid #3b82f660;
    color: #bfdbfe;
}

.auth-alert--warn {
    background: #42200655;
    border: 1px solid #f59e0b60;
    color: #fde68a;
}

.auth-card--reset {
    max-width: 100%;
}

.auth-title-icon {
    color: #60a5fa;
    margin-right: 6px;
    font-size: 0.9em;
}

.auth-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 24px;
    padding: 0 4px;
}

.auth-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 72px;
    opacity: 0.45;
}

.auth-step--active {
    opacity: 1;
}

.auth-step--done {
    opacity: 0.85;
}

.auth-step--done .auth-step__num {
    background: #166534;
    border-color: #3acf6b;
    color: #bbf7d0;
}

.auth-step__num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #ffffff25;
    background: #0f1722;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.auth-step--active .auth-step__num {
    border-color: #4884ff;
    background: #1e3a5f;
    color: #93c5fd;
    box-shadow: 0 0 0 4px #4884ff25;
}

.auth-step__label {
    font-size: 0.7rem;
    text-align: center;
    color: #94a3b8;
    line-height: 1.2;
}

.auth-step-line {
    flex: 1;
    height: 2px;
    min-width: 20px;
    max-width: 48px;
    background: #ffffff15;
    margin-bottom: 22px;
}

.auth-step-line--done {
    background: linear-gradient(90deg, #3acf6b, #4884ff);
}

.auth-tips {
    list-style: none;
    margin: 0 0 20px;
    padding: 14px 16px;
    background: #0f1722;
    border-radius: 14px;
    border: 1px solid #ffffff10;
}

.auth-tips li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.82rem;
    line-height: 1.45;
    color: #94a3b8;
    margin-bottom: 8px;
}

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

.auth-tips i {
    color: #4884ff;
    margin-top: 2px;
    flex-shrink: 0;
}

.auth-tips--compact {
    margin-bottom: 16px;
}

.auth-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.auth-success-panel {
    text-align: center;
    padding: 8px 0 4px;
}

.auth-success-panel__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(145deg, #14532d, #166534);
    border: 1px solid #3acf6b50;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #86efac;
}

.auth-success-panel__icon--error {
    background: linear-gradient(145deg, #450a0a, #7f1d1d);
    border-color: #f8717150;
    color: #fca5a5;
}

.auth-success-panel--error .auth-card__sub {
    margin-bottom: 20px;
}

.btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    border-radius: 14px;
    border: 1px solid #ffffff20;
    background: #0f1722;
    color: #e2e8f0;
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.2s;
    font-family: inherit;
}

.btn-secondary:hover:not(:disabled) {
    border-color: #4884ff80;
    color: #fff;
}

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

.btn-primary--ghost {
    background: transparent;
    border: 1px solid #4884ff60;
    color: #93c5fd;
}

.btn-primary--ghost:hover {
    background: #4884ff15;
}

.auth-form--resend {
    margin-top: 16px;
}

.auth-card__footer--split {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.auth-card__footer--split a {
    font-size: 0.78rem;
    justify-content: center;
    text-align: center;
}

.form-row--login-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.auth-forgot-link {
    font-size: 0.82rem;
    color: #60a5fa;
    text-decoration: none;
    white-space: nowrap;
}

.auth-forgot-link:hover {
    color: #93c5fd;
    text-decoration: underline;
}

#pwdRequirements .requirement.valid {
    color: #3acf6b;
}

#pwdRequirements .requirement.valid i::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

@media (max-width: 480px) {
    .auth-card__footer--split {
        grid-template-columns: 1fr;
    }

    .auth-step__label {
        font-size: 0.65rem;
    }

    .auth-step {
        min-width: 56px;
    }
}
