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

    :root {
        --green-dark:   #1a7a42;
        --green-mid:    #22a356;
        --green-light:  #34d470;
        --green-pale:   #edfaf3;
        --text-dark:    #1a1f1c;
        --text-mid:     #4a5550;
        --text-light:   #8a9e95;
        --border:       #d4e8dc;
        --white:        #ffffff;
        --error:        #d93025;
        --shadow-sm:    0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
        --shadow-md:    0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.05);
        --radius:       12px;
        --radius-sm:    8px;
    }

    body {
        background-color: #f0f7f3;
        background-image:
            radial-gradient(ellipse 60% 40% at 10% 10%, rgba(52,212,112,.12) 0%, transparent 60%),
            radial-gradient(ellipse 50% 50% at 90% 80%, rgba(34,163,86,.10) 0%, transparent 60%);
        min-height: 100vh;
        font-family: 'DM Sans', sans-serif;
        color: var(--text-dark);
        display: flex;
        flex-direction: column;
    }

    /* ── Banner ─────────────────────────────────── */
    .banner {
        background: linear-gradient(90deg, var(--green-dark), var(--green-mid));
        color: var(--white);
        text-align: center;
        padding: 10px 16px;
        font-size: 12px;
        font-weight: 500;
        letter-spacing: .3px;
        line-height: 1.5;
    }

    /* ── Navbar ──────────────────────────────────── */
    .navbar {
        padding: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border);
    }

    .navbar-left {
        display: flex;
        align-items: center;
        min-height: 56px;
    }

    .navbar .brand,
    .navbar .brand:link,
    .navbar .brand:visited,
    .navbar .brand:hover,
    .navbar .brand:active {
        font-family: 'DM Serif Display', serif;
        font-size: 22px;
        line-height: 1.5;
        color: var(--green-mid);
        text-decoration: none;
        text-decoration-line: none;
        border-bottom: 0;
    }
    .navbar .brand:hover { color: var(--green-dark); }
    .brand:focus-visible { outline: 3px solid rgba(34,163,86,.25); outline-offset: 4px; border-radius: 4px; }

    .nav-links {
        display: flex;
        gap: 16px;
        align-items: center;
    }

    .nav-links a {
        text-decoration: none;
        color: var(--text-mid);
        font-size: 14px;
        font-weight: 500;
        transition: color .2s;
    }
    .nav-links a:hover { color: var(--green-mid); }

    /* ── Location bar ────────────────────────────── */
    .location-bar {
        background: #f7fcf9;
        border-bottom: 1px solid var(--border);
        font-size: 13px;
        line-height: 1.5;
        color: var(--text-light);
    }

    .auth-shell-container {
        width: 100%;
        margin-right: auto;
        margin-left: auto;
        padding-right: 12px;
        padding-left: 12px;
    }

    .location-inner {
        display: flex;
        align-items: center;
        gap: 8px;
        min-height: 35.5px;
    }

    .location-bar .pin { color: var(--green-mid); }
    .location-bar .loc-name { font-weight: 700; color: var(--text-dark); }

    @media (min-width: 576px) { .auth-shell-container { max-width: 540px; } }
    @media (min-width: 768px) { .auth-shell-container { max-width: 720px; } }
    @media (min-width: 992px) { .auth-shell-container { max-width: 960px; } }
    @media (min-width: 1200px) { .auth-shell-container { max-width: 1140px; } }
    @media (min-width: 1400px) { .auth-shell-container { max-width: 1320px; } }

    /* ── Page body ───────────────────────────────── */
    .page-body {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 36px 24px;
        gap: 56px;
        flex-wrap: wrap;
    }

    /* ── Illustration ────────────────────────────── */
    .illustration-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .illustration-circle {
        width: 280px;
        height: 280px;
        background: radial-gradient(circle at 40% 60%, #fef3c7, #fde68a 60%, #fcd34d 100%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 8px 32px rgba(252,211,77,.35);
        overflow: hidden;
        animation: floatBob 4s ease-in-out infinite;
    }

    @keyframes floatBob {
        0%, 100% { transform: translateY(0); }
        50%       { transform: translateY(-10px); }
    }

    .illustration-circle img {
        width: 300px;
        object-fit: cover;
    }

    .welcome-text {
        font-family: 'DM Serif Display', serif;
        font-size: 36px;
        color: var(--green-mid);
        margin-top: 20px;
        text-align: center;
    }

    .welcome-sub {
        font-size: 13px;
        color: var(--text-light);
        text-align: center;
        margin-top: 4px;
    }

    /* ── Card ────────────────────────────────────── */
    .form-box {
        background: var(--white);
        width: 100%;
        max-width: 400px;
        border-radius: var(--radius);
        box-shadow: var(--shadow-md);
        padding: 40px 36px 32px;
        animation: slideUp .45s cubic-bezier(.22,.68,0,1.2) both;
    }

    @keyframes slideUp {
        from { opacity: 0; transform: translateY(24px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    /* ── Form header ─────────────────────────────── */
    .form-header {
        text-align: center;
        margin-bottom: 24px;
    }

    h2 {
        font-family: 'DM Serif Display', serif;
        font-size: 24px;
        color: var(--text-dark);
        line-height: 1.2;
        margin-bottom: 4px;
    }

    .form-subtitle {
        font-size: 13px;
        color: var(--text-light);
        font-weight: 400;
    }

    /* ── Field ───────────────────────────────────── */
    .field {
        margin-bottom: 14px;
    }

    label {
        display: block;
        font-size: 12px;
        font-weight: 600;
        color: var(--text-mid);
        margin-bottom: 6px;
        letter-spacing: .3px;
        text-transform: uppercase;
    }

    .input-wrap {
        position: relative;
    }

    .input-icon {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-light);
        pointer-events: none;
        display: flex;
        align-items: center;
    }

    .input-icon svg {
        width: 15px; height: 15px;
        stroke: currentColor;
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    input[type="email"],
    input[type="password"],
    input[type="text"] {
        width: 100%;
        padding: 10px 12px 10px 36px;
        border: 1.5px solid var(--border);
        border-radius: var(--radius-sm);
        font-family: 'DM Sans', sans-serif;
        font-size: 14px;
        color: var(--text-dark);
        background: var(--white);
        transition: border-color .2s, box-shadow .2s, background .2s;
        outline: none;
    }

    input[type="email"]:focus,
    input[type="password"]:focus,
    input[type="text"]:focus {
        border-color: var(--green-mid);
        box-shadow: 0 0 0 3px rgba(34,163,86,.12);
        background: var(--green-pale);
    }

    input::placeholder {
        color: #bdc9c3;
        font-weight: 300;
    }

    .has-toggle input {
        padding-right: 38px;
    }

    .toggle-pw {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        cursor: pointer;
        color: var(--text-light);
        padding: 0;
        width: auto;
        margin: 0;
        display: flex;
        align-items: center;
        transition: color .2s;
    }
    .toggle-pw:hover { color: var(--green-mid); }
    .toggle-pw svg {
        width: 16px; height: 16px;
        stroke: currentColor;
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    /* ── Options row ─────────────────────────────── */
    .form-options {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 4px 0 20px;
        font-size: 13px;
        flex-wrap: wrap;
        gap: 6px;
    }

    .remember-me {
        display: flex;
        align-items: center;
        gap: 7px;
        color: var(--text-mid);
        font-size: 12px;
        font-weight: 400;
        cursor: pointer;
        text-transform: none;
        letter-spacing: 0;
    }

    .remember-me input[type="checkbox"] {
        width: 15px;
        height: 15px;
        accent-color: var(--green-mid);
        cursor: pointer;
    }

    .forgot-link {
        color: var(--green-dark);
        text-decoration: none;
        font-weight: 600;
        font-size: 12px;
        letter-spacing: 0;
        text-transform: none;
        transition: opacity .2s;
    }
    .forgot-link:hover { text-decoration: underline; }

    /* ── Submit button ───────────────────────────── */
    .btn-submit {
        width: 100%;
        padding: 13px;
        background: linear-gradient(135deg, var(--green-mid), var(--green-dark));
        color: white;
        border: none;
        border-radius: var(--radius-sm);
        font-family: 'DM Sans', sans-serif;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        letter-spacing: .3px;
        box-shadow: 0 4px 14px rgba(34,163,86,.35);
        transition: transform .15s, box-shadow .15s;
    }

    .btn-submit:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(34,163,86,.40);
    }
    .btn-submit:active {
        transform: translateY(0);
        box-shadow: 0 2px 8px rgba(34,163,86,.30);
    }

    /* ── Divider ─────────────────────────────────── */
    .divider {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 22px 0 16px;
        color: var(--text-light);
        font-size: 11px;
        letter-spacing: .5px;
        text-transform: uppercase;
    }
    .divider::before,
    .divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: var(--border);
    }

    /* ── Signup link ─────────────────────────────── */
    .signup-link {
        text-align: center;
        font-size: 13px;
        color: var(--text-light);
    }
    .signup-link a {
        color: var(--green-dark);
        font-weight: 600;
        text-decoration: none;
    }
    .signup-link a:hover { text-decoration: underline; }

    /* ── Error toast ─────────────────────────────── */
    .toast {
        display: none;
        align-items: center;
        gap: 10px;
        background: #fff3f2;
        border: 1.5px solid #f5c6c2;
        border-radius: var(--radius-sm);
        padding: 11px 14px;
        margin-bottom: 18px;
        font-size: 13px;
        color: var(--error);
        font-weight: 500;
        animation: fadeIn .3s ease both;
    }
    .toast.show { display: flex; }
    .toast svg {
        width: 16px; height: 16px;
        stroke: var(--error);
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        flex-shrink: 0;
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-4px); }
        to   { opacity: 1; transform: translateY(0); }
    }

/* CSS separation — these two classes replace inline style="" overrides
   that were removed from Log_in.php's markup (the .gh-alert base rule
   never existed as a class before; .toast defaults to its red/error
   look, and .toast-success overrides just the div's own background/
   border/text color, matching the original inline override exactly —
   note the toast's SVG icon keeps its default red stroke either way,
   since the original inline style never touched the icon, only the
   div; preserved as-is rather than "fixed"). */
.gh-alert-success {
    background: #edfaf3;
    border: 1.5px solid var(--green-mid);
    color: var(--green-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
}
.toast-success {
    background: #edfaf3;
    border-color: #d4e8dc;
    color: #1a7a42;
}
