* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    min-height: 100vh;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    color: #ffffff;

    background: #03050b;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.recovery-page {
    position: relative;

    min-height: 100vh;

    display: grid;
    place-items: center;

    overflow: hidden;

    padding: 24px;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(37,99,235,.14),
            transparent 30%
        ),
        radial-gradient(
            circle at 82% 16%,
            rgba(147,51,234,.13),
            transparent 31%
        ),
        #03050b;
}

.recovery-glow {
    position: absolute;

    border-radius: 999px;

    filter: blur(90px);

    pointer-events: none;
}

.glow-one {
    width: 350px;
    height: 350px;

    left: -140px;
    bottom: -140px;

    background:
        rgba(37,99,235,.14);
}

.glow-two {
    width: 340px;
    height: 340px;

    right: -130px;
    top: -130px;

    background:
        rgba(147,51,234,.12);
}

.recovery-card {
    position: relative;
    z-index: 2;

    width: min(470px, 100%);

    padding: 32px;

    border:
        1px solid rgba(148,163,184,.10);

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(11,15,28,.97),
            rgba(5,8,17,.98)
        );

    box-shadow:
        0 30px 100px rgba(0,0,0,.48),
        0 0 50px rgba(80,55,220,.07);
}

.back-link {
    display: inline-flex;

    margin-bottom: 28px;

    color: #8493aa;

    font-size: 11px;
    font-weight: 650;
}

.back-link:hover {
    color: #b9c8dd;
}

.brand {
    margin-bottom: 28px;

    text-align: center;
}

.brand strong {
    display: block;

    font-size: 34px;
    line-height: 1;

    font-weight: 650;

    letter-spacing: 5px;

    background:
        linear-gradient(
            110deg,
            #ffffff,
            #8d8cff,
            #25b8ff
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.brand span {
    display: block;

    margin-top: 6px;

    color: #a847ff;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 8px;

    padding-left: 8px;
}

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

.eyebrow {
    color: #6f8eff;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1.8px;
}

.recovery-heading h1 {
    margin: 8px 0 0;

    color: #ffffff;

    font-size: 28px;
    line-height: 1.14;

    font-weight: 720;

    letter-spacing: -.6px;
}

.recovery-heading p {
    margin: 10px 0 0;

    color: #8795aa;

    font-size: 13px;
    line-height: 1.6;
}

.field {
    margin-bottom: 17px;
}

.field label {
    display: block;

    margin-bottom: 8px;

    color: #c9d3e3;

    font-size: 12px;
    font-weight: 650;
}

.field input {
    width: 100%;
    height: 54px;

    padding: 0 15px;

    outline: none;

    border:
        1px solid rgba(148,163,184,.10);

    border-radius: 11px;

    color: #ffffff;

    background:
        rgba(255,255,255,.027);

    font-size: 14px;

    transition:
        border-color .2s,
        box-shadow .2s,
        background .2s;
}

.field input::placeholder {
    color: #56657a;
}

.field input:focus {
    border-color:
        rgba(104,82,255,.65);

    background:
        rgba(255,255,255,.04);

    box-shadow:
        0 0 0 3px rgba(92,61,255,.09);
}

.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus {
    -webkit-text-fill-color:
        #ffffff !important;

    -webkit-box-shadow:
        0 0 0 1000px #0c0f1c inset !important;

    caret-color:
        #ffffff !important;
}

.recovery-button {
    width: 100%;
    min-height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(140,85,255,.30);

    border-radius: 11px;

    color: #ffffff;

    background:
        linear-gradient(
            100deg,
            #9b16f7,
            #653cff 50%,
            #277cff
        );

    box-shadow:
        0 12px 30px rgba(78,52,225,.24);

    font-size: 13px;
    font-weight: 800;

    cursor: pointer;

    transition:
        transform .18s,
        filter .18s,
        box-shadow .18s;
}

.recovery-button:hover {
    transform:
        translateY(-1px);

    filter:
        brightness(1.07);

    box-shadow:
        0 16px 36px rgba(78,52,225,.31);
}

.link-button {
    margin-top: 8px;
}

.alert {
    margin-bottom: 18px;

    padding: 12px 13px;

    border-radius: 11px;

    font-size: 11px;
    line-height: 1.5;
}

.alert.error {
    color: #fecaca;

    border:
        1px solid rgba(239,68,68,.16);

    background:
        rgba(239,68,68,.055);
}

.alert.success {
    color: #bbf7d0;

    border:
        1px solid rgba(34,197,94,.16);

    background:
        rgba(34,197,94,.055);
}

.security {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    margin-top: 22px;

    color: #546277;

    font-size: 9px;
}

.security span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #22c55e;

    box-shadow:
        0 0 9px rgba(34,197,94,.55);
}

@media (max-width: 560px) {

    .recovery-page {
        padding: 14px;
    }

    .recovery-card {
        padding:
            26px 20px;

        border-radius: 19px;
    }

    .brand strong {
        font-size: 30px;
    }

    .recovery-heading h1 {
        font-size: 25px;
    }

    .recovery-heading p {
        font-size: 12px;
    }

    .field input {
        height: 55px;

        font-size: 16px;
    }

    .recovery-button {
        min-height: 55px;

        font-size: 14px;
    }
}
