* {
    box-sizing: border-box;
}

:root {
    --gold: #d8a24d;
    --gold-light: #ffcb73;
    --bg: #050505;
    --card: #111;
    --border: rgba(255,255,255,.06);
    --text: #fff;
    --muted: rgba(255,255,255,.65);
}

body {
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

    body::before {
        content: "";
        position: fixed;
        width: 700px;
        height: 700px;
        top: -250px;
        right: -250px;
        border-radius: 50%;
        background: rgba(216,162,77,.12);
        filter: blur(120px);
        pointer-events: none;
        z-index: -1;
    }

.recovery-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.recovery-card {
    width: 100%;
    max-width: 520px;
    background: linear-gradient( 180deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.01) 100% );
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 42px;
    position: relative;
    overflow: hidden;
}

    .recovery-card::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 32px;
        padding: 1px;
        background: linear-gradient( 180deg, rgba(216,162,77,.2), transparent );
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        pointer-events: none;
    }

    .recovery-card h2 {
        font-size: 38px;
        font-weight: 900;
        letter-spacing: -1px;
        margin-bottom: 12px;
    }

    .recovery-card p {
        color: var(--muted);
        line-height: 1.7;
        margin-bottom: 28px;
    }

.field {
    margin-bottom: 18px;
}


.recovery-btn,
button[type="submit"] {
    width: 100%;
    height: 62px;
    border: none;
    border-radius: 18px;
    background: linear-gradient( 135deg, var(--gold), var(--gold-light) );
    color: #000;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    transition: .25s;
}

    .recovery-btn:hover,
    button[type="submit"]:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(216,162,77,.25);
    }

.error-box {
    background: rgba(255, 74, 74, .08);
    border: 1px solid rgba(255,74,74,.15);
    color: #ffb3b3;
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 20px;
}

.success-box {
    background: rgba(216,162,77,.08);
    border: 1px solid rgba(216,162,77,.15);
    color: var(--gold-light);
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 20px;
}

@media(max-width:768px) {

    .recovery-card {
        padding: 30px 24px;
        border-radius: 24px;
    }

        .recovery-card h2 {
            font-size: 30px;
        }

    .field input {
        height: 56px;
    }

    .recovery-btn,
    button[type="submit"] {
        height: 58px;
    }
}

.logo-box {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.logo-inner {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: linear-gradient( 135deg, #d8a24d, #f4c06a );
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #000;
}

.recovery-icon {
    text-align: center;
    margin-bottom: 16px;
}

    .recovery-icon i {
        font-size: 42px;
        color: #d8a24d;
    }

.input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
    .input-wrap i {
        position: absolute;
        left: 18px;
        color: #d8a24d;
        z-index: 2;
        pointer-events: none;
    }

    .input-wrap input {
        padding-left: 52px;
    }

.security-note {
    margin-top: 20px;
    text-align: center;
    color: rgba(255,255,255,.6);
    font-size: 13px;
}

    .security-note i {
        color: #22c55e;
        margin-right: 6px;
    }

.back-login {
    margin-top: 24px;
    text-align: center;
}

    .back-login a {
        color: #d8a24d;
        text-decoration: none;
        font-size: 14px;
        font-weight: 600;
    }

.recovery-icon .bi-key-fill {
    color: #d8a24d;
}

    .recovery-icon .bi-key-fill::before {
        filter: drop-shadow( 0 0 10px rgba(216,162,77,.3) );
    }


input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-text-fill-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0 1000px rgba(255,255,255,.02) inset !important;
    transition: background-color 9999s ease-in-out 0s;
    border: 1px solid rgba(255,255,255,.06) !important;
}