/* =========================================================
   ASHUNT FORGOT PASSWORD
   File: public/css/ashunt-forgot-password.css
========================================================= */

:root {
    --af-bg: #080b10;
    --af-gold: #dca72f;
    --af-gold-light: #efc657;
    --af-text: #eef2f7;
    --af-danger: #ff6976;
}

.ashunt-forgot-page {
    position: fixed;
    inset: 0;
    z-index: 9999;
    overflow: auto;
    color: var(--af-text);
    background: var(--af-bg);
}

.ashunt-forgot-page *,
.ashunt-forgot-page *::before,
.ashunt-forgot-page *::after {
    box-sizing: border-box;
}

.ashunt-forgot-shell {
    display: grid;
    grid-template-columns: minmax(620px, 60%) minmax(0, 40%);
    min-height: 100vh;
}

/* LEFT VISUAL */

.ashunt-forgot-visual {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;
    background: #07090d;
    border-right: 1px solid rgba(220, 167, 47, .20);
}

.ashunt-forgot-visual__backdrop {
    position: absolute;
    inset: 0;
    z-index: -4;

    background-image: url('../images/login.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;

    filter:
        brightness(1.14)
        contrast(1.08)
        saturate(1.22);
}

.ashunt-forgot-visual__overlay {
    position: absolute;
    inset: 0;
    z-index: -3;
    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(5, 6, 8, .03) 0%,
            rgba(5, 6, 8, .02) 52%,
            rgba(5, 6, 8, .42) 100%
        ),
        linear-gradient(
            180deg,
            rgba(5, 6, 8, .05) 0%,
            transparent 55%,
            rgba(5, 6, 8, .48) 100%
        );
}

.ashunt-forgot-brand {
    position: absolute;
    top: 28px;
    left: 34px;
    z-index: 10;

    display: flex;
    align-items: center;

    width: 185px;
    height: 105px;

    text-decoration: none;
}

.ashunt-forgot-brand__logo {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: left center;

    pointer-events: none;

    filter:
        drop-shadow(0 4px 12px rgba(0, 0, 0, .65))
        drop-shadow(0 0 14px rgba(218, 153, 21, .10));
}

.ashunt-forgot-visual__caption {
    position: absolute;
    right: 38px;
    bottom: 30px;
    left: 42px;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    padding-top: 16px;

    border-top: 1px solid rgba(255, 255, 255, .08);
}

.ashunt-forgot-visual__caption span {
    color: #d7a43b;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .15em;
}

.ashunt-forgot-visual__caption small {
    color: #a2abb7;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .14em;
}

/* RIGHT PANEL */

.ashunt-forgot-main {
    position: relative;

    display: flex;
    min-height: 100vh;
    flex-direction: column;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 90% 15%,
            rgba(220, 167, 47, .055),
            transparent 24%
        ),
        linear-gradient(
            180deg,
            #0d1117 0%,
            #090c11 100%
        );
}

.ashunt-forgot-main::before {
    content: "";

    position: absolute;
    right: -160px;
    top: -180px;

    width: 470px;
    height: 470px;

    border: 1px solid rgba(220, 167, 47, .045);
    border-radius: 50%;

    box-shadow:
        0 0 0 50px rgba(220, 167, 47, .014),
        0 0 0 100px rgba(220, 167, 47, .008);
}

.ashunt-forgot-topbar {
    position: relative;
    z-index: 2;

    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    padding: 0 36px;

    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.ashunt-forgot-back {
    color: #8a96a6 !important;
    text-decoration: none !important;

    font-size: 12px;
    font-weight: 850;
}

.ashunt-forgot-register {
    display: flex;
    align-items: center;
    gap: 8px;

    color: #7c8898;

    font-size: 12px;
    font-weight: 700;
}

.ashunt-forgot-register a {
    color: #d5a13a !important;
    text-decoration: none !important;
    font-weight: 900;
}

/* FORM */

.ashunt-forgot-content {
    position: relative;
    z-index: 2;

    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;

    padding: 36px 48px 48px;
}

.ashunt-forgot-form-wrap {
    width: min(100%, 590px);
}

.ashunt-forgot-heading {
    margin-bottom: 30px;
}

.ashunt-forgot-heading__kicker {
    display: block;

    margin-bottom: 8px;

    color: var(--af-gold);

    font-size: 11px;
    font-weight: 900;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.ashunt-forgot-heading h1 {
    margin: 0;

    color: #fff;

    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 950;
    line-height: .96;
    letter-spacing: -.04em;
}

.ashunt-forgot-heading p {
    max-width: 530px;

    margin: 12px 0 0;

    color: #8390a1;

    font-size: 13px;
    line-height: 1.7;
}

.ashunt-forgot-form {
    display: grid;
    gap: 18px;
}

.ashunt-forgot-field label {
    display: block;

    margin-bottom: 7px;

    color: #c3cad4;

    font-size: 12px;
    font-weight: 850;
}

.ashunt-forgot-control {
    position: relative;

    display: flex;
    min-height: 54px;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            rgba(7, 10, 14, .98),
            rgba(12, 16, 22, .96)
        );

    border: 1px solid rgba(255, 255, 255, .085);
    border-radius: 9px;

    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

.ashunt-forgot-control:hover {
    border-color: rgba(255, 255, 255, .13);
}

.ashunt-forgot-control:focus-within {
    background:
        linear-gradient(
            180deg,
            rgba(8, 11, 15, .99),
            rgba(13, 17, 23, .98)
        );

    border-color: rgba(220, 167, 47, .56);

    box-shadow:
        0 0 0 3px rgba(220, 167, 47, .05),
        inset 3px 0 0 rgba(220, 167, 47, .72);
}

.ashunt-forgot-control:has(.is-invalid) {
    border-color: rgba(255, 105, 118, .42);
}

.ashunt-forgot-control input {
    width: 100%;
    min-width: 0;
    height: 52px;

    padding: 0 20px;

    color: #eef2f7;
    background: transparent !important;

    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;

    font-size: 13px;
    font-weight: 700;
}

.ashunt-forgot-control input::placeholder {
    color: #526073;
}

.ashunt-forgot-control input:-webkit-autofill,
.ashunt-forgot-control input:-webkit-autofill:hover,
.ashunt-forgot-control input:-webkit-autofill:focus {
    -webkit-text-fill-color: #eef2f7;
    transition: background-color 9999s ease-in-out 0s;
}

.ashunt-forgot-error {
    margin-top: 6px;

    color: var(--af-danger);

    font-size: 12px;
    font-weight: 700;
}

.ashunt-forgot-status {
    margin-bottom: 18px;
    padding: 13px 15px;

    color: #b8e7c5;

    background: rgba(56, 181, 98, .07);

    border: 1px solid rgba(56, 181, 98, .20);
    border-radius: 8px;

    font-size: 12px;
}

.ashunt-forgot-submit {
    display: flex;
    width: 100%;
    min-height: 54px;

    align-items: center;
    justify-content: center;

    margin-top: 2px;

    color: #151006;

    background:
        linear-gradient(
            180deg,
            #f0c95d 0%,
            #d6a12c 100%
        );

    border: 1px solid #e9bb4a;
    border-radius: 9px;

    box-shadow:
        0 11px 24px rgba(214, 158, 37, .13),
        inset 0 1px 0 rgba(255, 255, 255, .22);

    cursor: pointer;

    font-size: 12px;
    font-weight: 950;
    letter-spacing: .07em;
    text-transform: uppercase;

    transition:
        transform .18s ease,
        filter .18s ease,
        box-shadow .18s ease;
}

.ashunt-forgot-submit:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);

    box-shadow:
        0 15px 28px rgba(214, 158, 37, .17),
        inset 0 1px 0 rgba(255, 255, 255, .25);
}

.ashunt-forgot-form-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    margin-top: 8px;

    color: #768294;

    font-size: 12px;
}

.ashunt-forgot-form-footer a {
    color: #d4a13a !important;
    text-decoration: none !important;
    font-weight: 900;
}

/* RESPONSIVE */

@media (max-width: 1199.98px) {
    .ashunt-forgot-shell {
        grid-template-columns: minmax(500px, 56%) minmax(0, 44%);
    }

    .ashunt-forgot-content {
        padding-right: 30px;
        padding-left: 30px;
    }
}

@media (max-width: 991.98px) {
    .ashunt-forgot-shell {
        display: block;
    }

    .ashunt-forgot-visual {
        display: none;
    }

    .ashunt-forgot-main {
        min-height: 100vh;
    }

    .ashunt-forgot-content {
        padding: 34px 24px 46px;
    }

    .ashunt-forgot-form-wrap {
        width: min(100%, 620px);
    }
}

@media (max-width: 575.98px) {
    .ashunt-forgot-topbar {
        min-height: 66px;
        padding: 0 18px;
    }

    .ashunt-forgot-register {
        display: none;
    }

    .ashunt-forgot-content {
        align-items: flex-start;
        padding: 30px 16px 40px;
    }

    .ashunt-forgot-heading {
        margin-bottom: 24px;
    }

    .ashunt-forgot-heading h1 {
        font-size: 2.2rem;
    }
}