:is(.yaren-reset-request-page, .yaren-reset-password-page) .yaren-signin-card {
    width: min(100%, 1056px);
}

:is(.yaren-reset-request-page, .yaren-reset-password-page) .yaren-signin-content {
    width: min(100%, 580px);
    padding-block: clamp(24px, 4vw, 48px);
}

.yaren-recovery-heading {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.yaren-recovery-heading .yaren-signin-mark {
    margin: 0;
    border-color: #dbe7f5;
    background: #edf4fd;
}

:is(.yaren-reset-request-page, .yaren-reset-password-page) .yaren-recovery-heading h1 {
    margin: 0;
    font-size: clamp(32px, 4.1vw, 49px);
    line-height: 1.07;
}

.yaren-recovery-intro {
    margin: 0 0 18px;
    color: var(--signin-muted);
    line-height: 1.55;
}

.yaren-recovery-state {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: start;
    gap: 11px;
    padding: 13px;
    border: 1px solid #d8e5f3;
    border-radius: 12px;
    background: #f3f7fc;
    color: #243d5a;
}

.yaren-recovery-state > i {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 8px;
    background: #e1ecf9;
    color: #264f83;
}

.yaren-recovery-state p {
    margin: 0;
    align-self: center;
    font-size: .9375rem;
    font-weight: 580;
    line-height: 1.5;
}

.yaren-recovery-state[data-state="accepted"] {
    border-color: #cce6d6;
    background: #eff8f3;
    color: #27543d;
}

.yaren-recovery-state[data-state="accepted"] > i {
    background: #dcefe3;
    color: #246243;
}

.yaren-recovery-state[data-state="invalid"] {
    border-color: #eddac5;
    background: #fdf7ef;
    color: #684422;
}

.yaren-recovery-state[data-state="invalid"] > i {
    background: #f7e8d7;
    color: #874a19;
}

:is(.yaren-reset-request-page, .yaren-reset-password-page) :is(.yaren-recovery-action, .yaren-password-action) {
    margin-top: 14px;
    color: #101c2c;
    text-decoration: none;
}

.yaren-recovery-footer {
    margin-top: 19px;
    padding-top: 6px;
    border-top: 1px solid #e4ebf3;
}

.yaren-recovery-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding-inline: 2px 10px;
    color: #244778;
    font-size: .875rem;
    font-weight: 700;
}

.yaren-recovery-back:hover span { text-decoration: underline; }
.yaren-recovery-back i { font-size: 1.2rem; }
html[dir="rtl"] .yaren-recovery-back i { transform: scaleX(-1); }

:is(.yaren-reset-request-page, .yaren-reset-password-page) .yaren-signin-showcase {
    background: radial-gradient(ellipse at 72% 22%, #2a4466 0%, #0d2446 52%, #061831 100%);
}

@media (min-width: 800px) {
    :is(.yaren-reset-request-page, .yaren-reset-password-page) .yaren-signin-card {
        grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    }

    :is(.yaren-reset-request-page, .yaren-reset-password-page) .yaren-signin-showcase {
        grid-template-rows: minmax(0, 1fr) auto auto;
        grid-template-areas: "image" "copy" "link";
        gap: 12px;
        padding: clamp(26px, 3.5vw, 44px);
    }

    :is(.yaren-reset-request-page, .yaren-reset-password-page) .yaren-signin-picture { width: min(100%, 340px); }
    :is(.yaren-reset-request-page, .yaren-reset-password-page) .yaren-signin-catalog-copy h2 { font-size: clamp(26px, 3vw, 35px); }
}

@media (max-width: 479px) {
    .yaren-recovery-heading { margin-bottom: 17px; }
    :is(.yaren-reset-request-page, .yaren-reset-password-page) .yaren-signin-content { padding-bottom: 16px; }
    .yaren-recovery-footer { margin-top: 15px; }
}

.yaren-confirmation-page .yaren-signin-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "form";
    width: min(100%, 620px);
}

.yaren-confirmation-page .yaren-signin-content {
    width: 100%;
    padding: clamp(24px, 5vw, 50px) clamp(18px, 5vw, 52px);
}

.yaren-confirmation-page .yaren-recovery-heading h1 {
    margin: 0;
    font-size: clamp(31px, 5vw, 46px);
    line-height: 1.1;
}

.yaren-confirmation-page .yaren-recovery-action {
    margin-top: 14px;
    color: #101c2c;
    text-decoration: none;
}

.yaren-confirmation-page .yaren-recovery-intro:last-child { margin-bottom: 0; }
