:root {
    --recovery-deep: #263b8b;
    --recovery-primary: #30cb9a;
    --recovery-soft: #effcf7;
    --recovery-text: #18233d;
    --recovery-muted: #61708d;
    --recovery-border: #d6e0ef;
}

.recovery-brand-prinic {
    --recovery-deep: #1f2d70;
    --recovery-primary: #3446a8;
    --recovery-soft: #f1f4ff;
    --recovery-text: #1f2d70;
    --recovery-muted: #68789d;
    --recovery-border: #d6dff9;
}

.recovery-page {
    min-height: 100vh;
    margin: 0;
    font-family: "Source Sans Pro", Arial, sans-serif;
    color: var(--recovery-text);
    background: var(--recovery-soft);
}

.recovery-page *,
.recovery-page *::before,
.recovery-page *::after {
    box-sizing: border-box;
}

.recovery-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(380px, 40%) 1fr;
}

.recovery-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(38px, 6vw, 78px);
    color: #fff;
    background: linear-gradient(145deg, var(--recovery-deep), #3446a8 54%, #6679df);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.recovery-brand-easycash .recovery-hero {
    background: linear-gradient(145deg, #184e45, #197361 54%, #30cb9a);
}

.recovery-hero::before,
.recovery-hero::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
}

.recovery-hero::before {
    width: 470px;
    height: 470px;
    right: -250px;
    bottom: -155px;
}

.recovery-hero::after {
    width: 310px;
    height: 310px;
    right: -130px;
    bottom: -75px;
}

.recovery-hero-content {
    position: relative;
    z-index: 1;
    max-width: 430px;
}

.recovery-logo {
    width: fit-content;
    max-width: 255px;
    padding: 12px 16px;
    margin-bottom: 46px;
    border-radius: 16px;
    background: rgba(241,244,255,.96);
    box-shadow: 0 14px 30px rgba(11,24,78,.18);
}

.recovery-logo img {
    display: block;
    width: 100%;
    max-height: 65px;
    object-fit: contain;
}

.recovery-hero-kicker {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: .78;
}

.recovery-hero h1 {
    margin: 0;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.06;
    font-weight: 800;
}

.recovery-hero p:last-child {
    max-width: 440px;
    margin: 22px 0 0;
    font-size: 18px;
    line-height: 1.55;
    color: rgba(255,255,255,.88);
}

.recovery-main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(28px, 4vw, 58px) clamp(24px, 5vw, 72px);
    background: linear-gradient(145deg, #fff 0%, var(--recovery-soft) 100%);
}

.recovery-card {
    width: 100%;
    max-width: 640px;
    padding: clamp(28px, 3vw, 42px);
    border: 1px solid var(--recovery-border);
    border-radius: 24px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 22px 52px rgba(31,45,112,.12);
}

.recovery-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--recovery-primary), var(--recovery-deep));
    font-size: 20px;
}

.recovery-card h2 {
    margin: 0;
    font-size: clamp(27px, 3vw, 37px);
    font-weight: 800;
    color: var(--recovery-text);
}

.recovery-intro {
    margin: 13px 0 28px;
    color: var(--recovery-muted);
    font-size: 16px;
    line-height: 1.55;
}

.recovery-alert {
    display: flex;
    gap: 11px;
    margin-bottom: 23px;
    padding: 14px 15px;
    border: 1px solid;
    border-radius: 13px;
    font-size: 14px;
    line-height: 1.4;
}

.recovery-alert-success {
    color: #166346;
    border-color: #a8e5c9;
    background: #effcf6;
}

.recovery-alert-error {
    color: #a13737;
    border-color: #ffc5c5;
    background: #fff3f3;
}

.recovery-field {
    margin-bottom: 18px;
}

.recovery-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--recovery-text);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.recovery-control {
    position: relative;
}

.recovery-control > i {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    color: var(--recovery-primary);
}

.recovery-control input,
.recovery-control textarea {
    width: 100%;
    border: 1px solid var(--recovery-border);
    border-radius: 13px;
    outline: 0;
    background: #fbfcff;
    color: var(--recovery-text);
    font: inherit;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.recovery-control input {
    height: 52px;
    padding: 0 15px 0 46px;
}

.recovery-control textarea {
    min-height: 96px;
    padding: 13px 15px;
    resize: vertical;
}

.recovery-control input:focus,
.recovery-control textarea:focus {
    border-color: var(--recovery-primary);
    background: #fff;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--recovery-primary) 14%, transparent);
}

.recovery-error {
    margin-top: 6px;
    color: #bd3b3b;
    font-size: 13px;
}

.recovery-contact-note {
    margin: -6px 0 18px;
    color: var(--recovery-muted);
    font-size: 13px;
}

.recovery-submit {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(135deg, var(--recovery-primary), var(--recovery-deep));
    box-shadow: 0 13px 23px rgba(31,45,112,.23);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.recovery-submit:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 17px 29px rgba(31,45,112,.28);
}

.recovery-submit:disabled {
    cursor: wait;
    opacity: .72;
    transform: none;
}

.recovery-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 26px;
    color: var(--recovery-deep);
    font-size: 14px;
    font-weight: 700;
}

.recovery-back:hover {
    color: var(--recovery-primary);
}

.recovery-security-note {
    display: flex;
    gap: 9px;
    margin-top: 29px;
    padding-top: 18px;
    border-top: 1px solid var(--recovery-border);
    color: var(--recovery-muted);
    font-size: 12px;
    line-height: 1.45;
}

.recovery-security-note i {
    margin-top: 2px;
    color: var(--recovery-primary);
}

@media (min-width: 1101px) and (max-height: 900px) {
    .recovery-hero {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .recovery-logo {
        margin-bottom: 26px;
    }

    .recovery-hero h1 {
        font-size: clamp(34px, 3.3vw, 48px);
    }

    .recovery-hero p:last-child {
        margin-top: 16px;
        font-size: 16px;
    }

    .recovery-main {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .recovery-card {
        padding: 25px 34px;
    }

    .recovery-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 13px;
        border-radius: 13px;
        font-size: 17px;
    }

    .recovery-card h2 {
        font-size: 31px;
    }

    .recovery-intro {
        margin: 8px 0 16px;
        font-size: 14px;
    }

    .recovery-field {
        margin-bottom: 11px;
    }

    .recovery-field label {
        margin-bottom: 4px;
        font-size: 11px;
    }

    .recovery-control input {
        height: 46px;
    }

    .recovery-control textarea {
        min-height: 72px;
    }

    .recovery-contact-note {
        margin: -2px 0 10px;
        font-size: 11px;
    }

    .recovery-back {
        margin-top: 16px;
    }

    .recovery-security-note {
        margin-top: 16px;
        padding-top: 12px;
    }
}

@media (max-width: 1100px) {
    .recovery-layout {
        grid-template-columns: 1fr;
    }

    .recovery-hero {
        min-height: 280px;
        padding: 36px clamp(28px, 8vw, 80px);
    }

    .recovery-logo {
        margin-bottom: 24px;
    }

    .recovery-hero p:last-child {
        font-size: 16px;
    }

    .recovery-main {
        padding: 30px 24px;
    }
}

@media (max-width: 600px) {
    .recovery-hero {
        min-height: 245px;
        padding: 30px 22px;
    }

    .recovery-logo {
        max-width: 210px;
        padding: 10px 13px;
        margin-bottom: 20px;
    }

    .recovery-hero-kicker {
        margin-bottom: 8px;
        font-size: 11px;
    }

    .recovery-hero h1 {
        font-size: 34px;
    }

    .recovery-hero p:last-child {
        margin-top: 13px;
        font-size: 14px;
    }

    .recovery-main {
        padding: 18px 13px 24px;
    }

    .recovery-card {
        padding: 26px 20px;
        border-radius: 18px;
    }

    .recovery-card h2 {
        font-size: 28px;
    }
}
