/* =========================================================
   BEATOUR HONEYPOT THEME
   Decoy Admin Login
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
    --forest: #2d4a2d;
    --forest-dark: #1e331e;
    --moss: #4c6444;
    --gold: #c8a84b;
    --cream: #f7f1e6;
    --warm: #d8c9b2;
    --espresso: #2c1a0e;
    --text: #3d332b;
    --text-muted: #7d746c;
    --white: #ffffff;
    --danger: #b42318;
    --danger-bg: #fdf0ef;
    --danger-border: #efc5c1;
    --shadow: rgba(44, 26, 14, 0.10);
    --radius: 12px;
}

/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    font-family: 'Jost', sans-serif;
    background: #f7f4f0;
    color: var(--text);
    font-size: 15px;
    line-height: 1.6;
}

/* =========================================================
   TOPBAR
   ========================================================= */

.topbar {
    background: var(--white);
    border-bottom: 1px solid var(--warm);
    min-height: 68px;
    padding: 1rem 2rem;

    display: flex;
    align-items: center;
    justify-content: space-between;

    position: sticky;
    top: 0;
    z-index: 10;

    box-shadow: 0 2px 10px rgba(44, 26, 14, 0.04);
}

.topbar-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--espresso);
    letter-spacing: 0.2px;
}

/* =========================================================
   APP SHELL
   ========================================================= */

.app-shell {
    min-height: calc(100vh - 68px);

    display: flex;
    flex-direction: column;

    padding: 4rem 1.5rem 2rem;
}

/* =========================================================
   CARD
   ========================================================= */

.card {
    width: 100%;
    background: var(--white);

    border: 1px solid rgba(44, 26, 14, 0.08);
    border-radius: var(--radius);

    padding: 2.25rem;

    box-shadow:
        0 8px 30px rgba(44, 26, 14, 0.07);

    animation: cardFadeIn 0.35s ease;
}

.card h1 {
    margin: 0 0 1.5rem;

    color: var(--espresso);

    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;

    text-align: center;
}

/* =========================================================
   FORM
   ========================================================= */

.card form {
    margin-top: 0.5rem;
}

.card label {
    display: block;

    margin-bottom: 0.45rem;

    color: var(--espresso);
    font-size: 0.86rem;
    font-weight: 600;
}

.card input {
    width: 100%;

    padding: 11px 13px;

    border: 1px solid var(--warm);
    border-radius: 8px;

    background: #fff;

    color: var(--text);

    font-family: 'Jost', sans-serif;
    font-size: 0.9rem;

    outline: none;

    transition:
        border-color 0.2s,
        box-shadow 0.2s,
        background 0.2s;
}

.card input:hover {
    border-color: #bbaa91;
}

.card input:focus {
    border-color: var(--forest);

    box-shadow:
        0 0 0 3px rgba(45, 74, 45, 0.10);

    background: #fff;
}

/* Space between fields */

.card label + br + input {
    margin-bottom: 1rem;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 42px;

    padding: 9px 18px;

    border: 1px solid var(--forest);
    border-radius: 8px;

    background: var(--forest);
    color: var(--white);

    font-family: 'Jost', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;

    text-decoration: none;
    cursor: pointer;

    transition:
        background 0.2s,
        border-color 0.2s,
        transform 0.15s,
        box-shadow 0.2s;
}

.btn:hover {
    background: var(--forest-dark);
    border-color: var(--forest-dark);

    color: var(--white);

    transform: translateY(-1px);

    box-shadow: 0 4px 12px rgba(45, 74, 45, 0.18);
}

.btn:active {
    transform: translateY(0);
}

/* Home button */

.btn-secondary {
    background: transparent;
    border-color: var(--warm);
    color: var(--text-muted);
}

.btn-secondary:hover {
    background: var(--cream);
    border-color: var(--warm);
    color: var(--espresso);
}

/* Login button */

.card button.btn {
    width: 100%;
    margin-top: 0.25rem;

    padding: 12px 18px;

    font-size: 0.95rem;
}

/* =========================================================
   ALERT
   ========================================================= */

.alert {
    padding: 11px 14px;

    margin-bottom: 1.25rem;

    border-radius: 8px;

    font-size: 0.85rem;
    line-height: 1.5;
}

.alert-danger {
    background: var(--danger-bg);
    border: 1px solid var(--danger-border);
    color: var(--danger);
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    width: 100%;

    margin-top: auto;
    padding-top: 2rem;

    text-align: center;

    color: var(--text-muted);

    font-size: 0.75rem;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 600px) {

    .topbar {
        padding: 0.85rem 1rem;
    }

    .topbar-title {
        font-size: 0.95rem;
    }

    .topbar > div:last-child {
        display: none;
    }

    .app-shell {
        padding: 2rem 1rem;
    }

    .card {
        padding: 1.5rem;
    }

    .card h1 {
        font-size: 1.5rem;
    }
}

/* =========================================================
   ANIMATION
   ========================================================= */

@keyframes cardFadeIn {

    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}