/* ═══════════════════════════════════════════════════════════
   Torkzt · assets/css/recover.css
   Восстановление доступа: запрос ссылки и установка пароля.
   ═══════════════════════════════════════════════════════════ */

.rc-wrap {
    max-width: 460px;
    margin: 0 auto;
    padding: 40px 16px 70px;
    --rc-accent: #0d6efd;
    --rc-line: #e6e9ef;
    --rc-muted: #6b7280;
}

.rc-card {
    background: #fff;
    border: 1px solid var(--rc-line);
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(16, 24, 40, .06);
}
.rc-card-center { text-align: center; }

.rc-title {
    font-size: 1.4rem;
    font-weight: 750;
    letter-spacing: -.02em;
    margin: 0 0 8px;
}
.rc-lead {
    color: var(--rc-muted);
    font-size: .92rem;
    line-height: 1.55;
    margin: 0 0 22px;
}
.rc-hint {
    display: block;
    color: var(--rc-muted);
    font-size: .82rem;
    margin-top: 6px;
}
.rc-hint.is-ok  { color: #178a4c; }
.rc-hint.is-bad { color: #c0392b; }

.rc-error {
    background: #fdeaea;
    border: 1px solid #f5c6c6;
    color: #a13030;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: .88rem;
    margin-bottom: 18px;
}

.rc-field { margin-bottom: 18px; text-align: left; }
.rc-field label {
    display: block;
    font-size: .84rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.rc-input {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    border: 1px solid var(--rc-line);
    border-radius: 12px;
    background: #fff;
    font-size: .95rem;
    font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
}
.rc-input:focus {
    outline: none;
    border-color: var(--rc-accent);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, .12);
}

.rc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    border: 0;
    border-radius: 12px;
    background: var(--rc-accent);
    color: #fff !important;
    font-size: .95rem;
    font-weight: 700;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: filter .15s, transform .12s;
}
.rc-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.rc-btn-ghost {
    background: #fff;
    color: #2b3038 !important;
    border: 1px solid var(--rc-line);
}
.rc-btn-ghost:hover { background: #f4f6fb; filter: none; }

.rc-foot {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--rc-line);
    font-size: .86rem;
}
.rc-foot a { color: var(--rc-accent); text-decoration: none; }
.rc-foot a:hover { text-decoration: underline; }

/* ── иконки состояний ── */
.rc-ico {
    width: 62px; height: 62px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.rc-ico svg { width: 30px; height: 30px; }
.rc-ico-mail { background: rgba(13, 110, 253, .1);  color: var(--rc-accent); }
.rc-ico-ok   { background: rgba(23, 138, 76, .12);  color: #178a4c; }
.rc-ico-warn { background: rgba(230, 138, 0, .12);  color: #b26a00; }

/* ── индикатор надёжности пароля ── */
.rc-meter {
    height: 4px;
    background: #eef1f6;
    border-radius: 99px;
    overflow: hidden;
    margin-top: 9px;
}
.rc-meter span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 99px;
    transition: width .2s, background .2s;
}
.rc-meter .rc-s0 { background: #dc3545; }
.rc-meter .rc-s1 { background: #e68a00; }
.rc-meter .rc-s2 { background: #d4b106; }
.rc-meter .rc-s3 { background: #52c41a; }
.rc-meter .rc-s4 { background: #178a4c; }

@media (max-width: 575px) {
    .rc-wrap { padding: 24px 14px 60px; }
    .rc-card { padding: 24px 20px; border-radius: 16px; }
    .rc-title { font-size: 1.25rem; }
}
