/* ===== GoGoLiberty Courier Driver Login Background ===== */

:root {
    --gogo-green: #0b5127;
    --gogo-yellow: #f7d02c;
    --ink: #0f172a;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    /* GoGoLiberty branded gradient */
    background: linear-gradient(135deg,
            #e6f4ea 0%,
            #f7fbe9 40%,
            #fff6d6 100%);

    display: flex;
    align-items: center;
    justify-content: center;
}

/* subtle pattern */
.page::before {
    content: "";
    position: absolute;
    inset: -40px;
    background:
        repeating-linear-gradient(45deg,
            rgba(255, 255, 255, .06) 0px,
            rgba(255, 255, 255, .06) 1px,
            transparent 1px,
            transparent 18px);
    opacity: .22;
    pointer-events: none;
}

/* card */
.card {
    width: min(420px, 100%);
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 18px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .35);
    padding: 22px 20px 18px;
    position: relative;
    z-index: 1;
}

/* brand */
.logo {
    font-weight: 900;
    letter-spacing: .3px;
    font-size: 26px;
    color: var(--ink);

    .brand {
        display: flex;
        align-items: center;
        gap: 14px;
        margin-bottom: 14px;
    }

    .brand-logo {
        width: 54px;
        height: 54px;
        object-fit: contain;
    }

    .brand-text .logo-text {
        font-weight: 900;
        font-size: 20px;
        color: #0B5127;
    }

    .brand-text .subtitle {
        font-size: 12px;
        font-weight: 800;
        color: #555;
    }
}

.subtitle {
    margin-top: 2px;
    color: #334155;
    font-weight: 700;
}

/* hint */
.hint {
    margin: 12px 0 16px;
    color: #475569;
    font-weight: 600;
}

/* inputs */
label {
    display: block;
    margin: 12px 0 6px;
    font-weight: 800;
    color: #0f172a;
}

input {
    width: 100%;
    padding: 12px 12px;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    outline: none;
    font-weight: 600;
    background: #fff;
}

input:focus {
    border-color: rgba(11, 81, 39, .55);
    box-shadow: 0 0 0 4px rgba(11, 81, 39, .12);
}

.row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn {
    border: none;
    border-radius: 12px;
    padding: 12px 14px;
    font-weight: 800;
    cursor: pointer;
}

.btn.small {
    padding: 10px 12px;
    background: #111827;
    color: #fff;
    white-space: nowrap;
}

.btn.primary {
    width: 100%;
    margin-top: 14px;
    background: linear-gradient(90deg, var(--gogo-green), #167a3d);
    color: #fff;
}

.btn.primary:hover {
    filter: brightness(1.02);
}

.msg {
    margin-top: 12px;
    font-weight: 700;
    color: #0b5127;
}

.msg.err {
    color: #b91c1c;
}

.footer {
    margin-top: 16px;
    color: #64748b;
    font-weight: 700;
    text-align: center;
}