/* =========================================
   LOGIN PAGE SHELL – MATCHES DASHBOARD
   ========================================= */

:root {
    --login-gold: #f4b60c;
    --login-gold-soft: #d4a373;
    --login-graphite-light: #3c4049;
    --login-graphite-mid: #31343c;
    --login-graphite-dark: #2d3037;
}

/* Center the card under the hero */
.login-shell {
    min-height: calc(100vh - 220px); /* leave room for hero */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 32px 16px 40px;
}

/* Main login card – graphite + soft gold corner */
.login-card {
    width: 100%;
    max-width: 420px;

    border-radius: 20px;
    padding: 22px 22px 24px;

    background:
        radial-gradient(circle at top left,
            rgba(244, 182, 12, 0.12),   /* very faint gold */
            rgba(0, 0, 0, 0) 55%),
        linear-gradient(
            180deg,
            #31343c 0%,      /* graphite */
            #3a3e48 40%,     /* lighter graphite */
            #2d3037 100%     /* dark steel */
        );

    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        0 16px 38px rgba(0, 0, 0, 0.75),
        0 0 10px rgba(244, 182, 12, 0.12);

    color: #ffffff;
}


/* Header text */
.login-header {
    text-align: left;
    margin-bottom: 16px;
}

.login-kicker {
    font-family: "Oswald", sans-serif;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    display: inline-block;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0.95;
}

.login-title {
    margin: 10px 0 4px;
    font-family: "Jomolhari", serif;
    font-size: 26px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.8);
}

.login-subtitle {
    margin: 0;
    font-family: "Oswald", sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.78);
}

/* Error message */
.login-error {
    margin-bottom: 14px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(220, 53, 69, 0.75);
    background: rgba(220, 53, 69, 0.15);
    font-family: "Oswald", sans-serif;
    font-size: 12px;
    color: #ffd7dd;
}

/* Form */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
}

.login-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.login-label {
    font-family: "Oswald", sans-serif;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f6f6f6;
}

/* Inputs with metallic inset feel */
.login-input {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background:
        radial-gradient(circle at top left,
            rgba(255, 255, 255, 0.06),
            rgba(0, 0, 0, 0.96));
    padding: 9px 14px;
    color: #ffffff;

    font-family: "Oswald", sans-serif;
    font-size: 14px;

    outline: none;
    transition:
        border-color 0.16s ease,
        box-shadow 0.16s ease,
        background 0.16s ease;
}

.login-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

/* Focus – gold, not blue */
.login-input:focus {
    border-color: rgba(244, 182, 12, 0.95);
    box-shadow:
        0 0 0 1px rgba(244, 182, 12, 0.65),
        0 0 14px rgba(244, 182, 12, 0.55);
    background:
        radial-gradient(circle at top left,
            rgba(244, 182, 12, 0.16),
            rgba(0, 0, 0, 0.98));
}

/* Submit button – gold/graphite gradient like the cards */
/* SUBTLE GOLD LOGIN BUTTON — NOT YELLOW, NOT BRIGHT */
.login-button {
    margin-top: 6px;
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 10px 18px;

    font-family: "Oswald", sans-serif;
    font-size: 14px;
    letter-spacing: 0.18em;
    text-transform: uppercase;

    /* toned down metallic gold */
    color: #ffffff;
    background: linear-gradient(
        135deg,
        #3a3e48,          /* graphite start */
        #5b5138,          /* muted antique-gold */
        #8e7a4a           /* soft metallic gold */
    );

    /* subtle glow, not neon */
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.75),
        0 0 10px rgba(244, 182, 12, 0.20);

    cursor: pointer;
    transition:
        transform 0.15s ease-out,
        box-shadow 0.15s ease-out,
        filter 0.15s ease-out;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.85),
        0 0 14px rgba(244, 182, 12, 0.28);
    filter: brightness(1.03);
}

.login-button:active {
    transform: translateY(0);
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.85),
        0 0 12px rgba(244, 182, 12, 0.20);
}


/* Footer text */
.login-footer {
    margin-top: 16px;
    text-align: center;
}

.login-help {
    margin: 0;
    font-family: "Oswald", sans-serif;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
}

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

@media (max-width: 768px) {
    .login-shell {
        padding-top: 20px;
    }

    .login-card {
        padding: 18px 16px 22px;
    }

    .login-title {
        font-size: 22px;
    }
}

@media (min-width: 992px) {
    .login-card {
        max-width: 460px;
    }

    .login-title {
        font-size: 28px;
    }

    .login-subtitle {
        font-size: 14px;
    }
}
