/* QAF password reset / forgot — compact centered card (no huge banner) */
.qaf-reset-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 16px;
    background: #eef3f5;
    direction: rtl;
    font-family: Tahoma, "Segoe UI", Arial, sans-serif;
    box-sizing: border-box;
}

.qaf-reset-card {
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    border: 1px solid #d9e5eb;
    border-radius: 14px;
    padding: 28px 26px 24px;
    box-shadow: 0 10px 28px rgba(10, 77, 98, 0.08);
}

.qaf-reset-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eef2f5;
}

.qaf-reset-logo {
    display: block;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
}

.qaf-reset-logo img {
    display: block;
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    object-fit: contain;
}

.qaf-reset-brand-text {
    text-align: right;
    min-width: 0;
}

.qaf-reset-name {
    color: #0A4D62;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
}

.qaf-reset-tag {
    color: #C46A2B;
    font-size: 0.8rem;
    margin-top: 3px;
}

.qaf-reset-title {
    margin: 0 0 6px;
    color: #0A4D62;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: right;
}

.qaf-reset-desc {
    margin: 0 0 20px;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.7;
    text-align: right;
}

.qaf-reset-field {
    margin-bottom: 14px;
    text-align: right;
}

.qaf-reset-field label {
    display: block;
    margin-bottom: 6px;
    color: #0A4D62;
    font-size: 0.85rem;
    font-weight: 600;
}

.qaf-reset-field input {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #d9e5eb;
    border-radius: 10px;
    background: #fff;
    color: #1e293b;
    font-size: 0.95rem;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.qaf-reset-field input:focus {
    border-color: #0A4D62;
    box-shadow: 0 0 0 3px rgba(10, 77, 98, 0.12);
}

.qaf-reset-submit {
    width: 100%;
    height: 48px;
    margin-top: 6px;
    border: 0;
    border-radius: 10px;
    background: #0A4D62;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.qaf-reset-submit:hover,
.qaf-reset-submit:focus {
    background: #083d4e;
}

.qaf-reset-alert {
    border-radius: 10px;
    padding: 11px 13px;
    margin-bottom: 14px;
    font-size: 0.88rem;
    line-height: 1.6;
    text-align: right;
}

.qaf-reset-alert--ok {
    background: #eaf6ee;
    color: #1b5e3b;
}

.qaf-reset-alert--err {
    background: #fff4e8;
    color: #8a4b16;
}

.qaf-reset-footer {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #eef2f5;
    text-align: center;
    font-size: 0.88rem;
}

.qaf-reset-footer a {
    color: #C46A2B;
    font-weight: 600;
    text-decoration: none;
}

.qaf-reset-footer a:hover {
    color: #0A4D62;
    text-decoration: underline;
}

.qaf-reset-dot {
    color: #cbd5e1;
    margin: 0 6px;
}

@media (max-width: 480px) {
    .qaf-reset-card {
        padding: 22px 18px 20px;
    }

    .qaf-reset-logo,
    .qaf-reset-logo img {
        width: 36px !important;
        height: 36px !important;
        max-width: 36px !important;
        max-height: 36px !important;
        flex-basis: 36px;
    }
}
