/* =========================================================
   NOVERA — LOGIN
   PREMIUM LIGHT EDITION
   ========================================================= */

:root {

    --bg: #f7f5f1;
    --bg-2: #ffffff;

    --text: #171614;
    --text-soft: #393631;
    --muted: #77736c;

    --gold: #b67a3c;
    --gold-light: #d49b5b;

    --border: #e7e3dc;

    --shadow:
        0 30px 90px rgba(31, 27, 22, .12);

}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {

    min-height: 100vh;

    background: var(--bg);

    color: var(--text);

    font-family:
        "DM Sans",
        Arial,
        sans-serif;

    overflow-x: hidden;
}

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


/* =========================================================
   PAGE
   ========================================================= */

.login-page {

    position: relative;

    min-height: 100vh;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 50px 20px;

    overflow: hidden;

}


/* =========================================================
   BACKGROUND
   ========================================================= */

.background-glow {

    position: absolute;

    width: 650px;
    height: 650px;

    top: -250px;
    right: -180px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(182,122,60,.13),
            rgba(182,122,60,0) 70%
        );

    pointer-events: none;
}


.background-grid {

    position: absolute;

    inset: 0;

    opacity: .35;

    background-image:
        linear-gradient(
            rgba(0,0,0,.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(0,0,0,.025) 1px,
            transparent 1px
        );

    background-size: 45px 45px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 80%
        );

    pointer-events: none;
}


/* =========================================================
   LOGO
   ========================================================= */

.logo {

    position: absolute;

    top: 32px;
    left: 38px;

    z-index: 5;

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 15px;

    font-weight: 700;

    letter-spacing: .5px;
}

.logo-mark {

    width: 34px;
    height: 34px;

    display: grid;

    place-items: center;

    border-radius: 9px;

    background:
        linear-gradient(
            135deg,
            #e7bb86,
            #b56d31
        );

    color: white;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 17px;

    font-weight: 700;

    box-shadow:
        0 8px 25px rgba(182,122,60,.20);
}

.logo-text {
    letter-spacing: 1px;
}


/* =========================================================
   LOGIN CARD
   ========================================================= */

.login-card {

    position: relative;

    z-index: 2;

    width: min(460px, 100%);

    padding: 48px;

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

    border: 1px solid rgba(0,0,0,.07);

    border-radius: 26px;

    box-shadow: var(--shadow);

    backdrop-filter: blur(25px);

    -webkit-backdrop-filter: blur(25px);

    animation:
        cardAppear .7s ease both;
}


@keyframes cardAppear {

    from {

        opacity: 0;

        transform:
            translateY(20px)
            scale(.98);

    }

    to {

        opacity: 1;

        transform:
            translateY(0)
            scale(1);

    }

}


/* =========================================================
   HEADER
   ========================================================= */

.login-header {
    margin-bottom: 34px;
}


.eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 8px 12px;

    margin-bottom: 22px;

    border: 1px solid rgba(135,94,52,.18);

    border-radius: 100px;

    background:
        rgba(247,245,241,.8);

    color: #766b5e;

    font-size: 9px;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


.eyebrow-dot {

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--gold);

    box-shadow:
        0 0 0 4px rgba(182,122,60,.10);
}


.login-header h1 {

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: clamp(48px, 8vw, 68px);

    line-height: .95;

    letter-spacing: -3px;

    font-weight: 600;

    color: #181613;
}


.login-header h1 span {

    display: block;

    background:
        linear-gradient(
            90deg,
            #a96832,
            #d19858
        );

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

    color: transparent;
}


.login-header p {

    margin-top: 18px;

    max-width: 340px;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   FORM
   ========================================================= */

.form-group {

    margin-bottom: 21px;
}


.form-group label {

    display: block;

    margin-bottom: 9px;

    color: #393631;

    font-size: 12px;

    font-weight: 600;
}


.password-label {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;
}


.password-label label {
    margin-bottom: 9px;
}


.password-label a {

    margin-bottom: 9px;

    color: var(--gold);

    font-size: 11px;

    transition: .25s ease;
}


.password-label a:hover {

    color: #8e5929;

}


.form-group input {

    width: 100%;

    height: 53px;

    padding: 0 16px;

    border: 1px solid var(--border);

    border-radius: 11px;

    outline: none;

    background: #fbfaf8;

    color: var(--text);

    font-family:
        "DM Sans",
        Arial,
        sans-serif;

    font-size: 13px;

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


.form-group input::placeholder {

    color: #aaa59e;
}


.form-group input:hover {

    border-color: #d8d2c9;
}


.form-group input:focus {

    background: white;

    border-color: rgba(182,122,60,.65);

    box-shadow:
        0 0 0 4px rgba(182,122,60,.08);
}


/* =========================================================
   ERROR
   ========================================================= */

.login-error {

    min-height: 18px;

    margin: -5px 0 10px;

    color: #a84d3d;

    font-size: 12px;

}


/* =========================================================
   BUTTON
   ========================================================= */

.login-button {

    width: 100%;

    min-height: 54px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 0 18px 0 21px;

    border: none;

    border-radius: 12px;

    background: #191714;

    color: white;

    cursor: pointer;

    font-family:
        "DM Sans",
        Arial,
        sans-serif;

    font-size: 12px;

    font-weight: 600;

    transition: .3s ease;

    box-shadow:
        0 15px 35px rgba(0,0,0,.13);
}


.login-button:hover {

    transform: translateY(-3px);

    background: #312b25;

    box-shadow:
        0 20px 45px rgba(0,0,0,.17);
}


.login-button:active {

    transform: translateY(-1px);
}


.button-arrow {

    display: grid;

    place-items: center;

    width: 30px;
    height: 30px;

    border-radius: 8px;

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

    font-size: 17px;

    transition: transform .3s ease;
}


.login-button:hover .button-arrow {

    transform: translateX(4px);
}


/* =========================================================
   DIVIDER
   ========================================================= */

.login-divider {

    display: flex;

    align-items: center;

    gap: 12px;

    margin: 30px 0 22px;
}


.login-divider span {

    flex: 1;

    height: 1px;

    background: var(--border);
}


.login-divider small {

    color: #aaa49c;

    font-size: 8px;

    letter-spacing: 2px;
}


/* =========================================================
   BACK LINK
   ========================================================= */

.back-text {

    text-align: center;

    color: #8b857d;

    font-size: 11px;
}


.back-text a {

    margin-left: 4px;

    color: #2c2925;

    font-weight: 600;

    transition: color .25s ease;
}


.back-text a:hover {

    color: var(--gold);
}


/* =========================================================
   COPYRIGHT
   ========================================================= */

.copyright {

    position: relative;

    z-index: 2;

    margin-top: 25px;

    color: #a29c94;

    font-size: 9px;

    letter-spacing: .4px;

    text-align: center;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 600px) {

    .login-page {

        padding: 85px 18px 35px;

    }

    .logo {

        top: 22px;
        left: 22px;

    }

    .login-card {

        padding: 34px 25px;

        border-radius: 21px;

    }

    .login-header h1 {

        font-size: 51px;

        letter-spacing: -2.5px;

    }

}


@media (max-width: 380px) {

    .login-card {

        padding: 30px 20px;

    }

    .login-header h1 {

        font-size: 45px;

    }

    .password-label {

        align-items: flex-start;

    }

}