    :root {
        --bm-bg: #0b0f17;
        --bm-bg-2: #101726;
        --bm-teal-1: #2CE6C9;
        --bm-teal-2: #18B6B9;
        --bm-purple: #6A2CD8;
        --bm-white: #fff;
        --bm-muted: #98a2b3;
        --bm-card: #0f1524;
        --bm-border: #1f2a44;
        --r-lg: 16px;
        --r-xl: 22px;
        --shadow: 0 18px 40px rgba(0, 0, 0, .45);
    }

    html,
    body {
        margin: 0;
        padding: 0;
        background: radial-gradient(900px 500px at 10% 0%, rgba(106, 44, 216, .10), transparent 60%), linear-gradient(180deg, var(--bm-bg), var(--bm-bg-2));
        color: var(--bm-white);
        font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif
    }

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

    .container {
        max-width: 760px;
        margin: 0 auto;
        padding: 0 20px
    }

    header {
        position: sticky;
        top: 0;
        z-index: 20;
        backdrop-filter: saturate(140%) blur(8px);
        background: rgba(11, 15, 23, .55);
        border-bottom: 1px solid rgba(255, 255, 255, .06)
    }

    .nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 68px
    }

    .brand {
        display: flex;
        align-items: center;
        gap: 10px
    }

    .brand img {
        height: 30px;
        max-width: 100%;
        object-fit: contain
    }

    .nav a {
        font-weight: 700;
        padding: 8px 14px;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, .12)
    }

    .nav a:hover {
        background: rgba(255, 255, 255, .06)
    }

    /* Centered login card */
    main {
        min-height: calc(100dvh - 68px - 56px);
        display: grid;
        place-items: center;
        padding: 20px 0
    }

    .card {
        width: 100%;
        max-width: 560px;
        background: var(--bm-card);
        border: 1px solid var(--bm-border);
        border-radius: var(--r-xl);
        box-shadow: var(--shadow);
        padding: 22px
    }

    .head {
        text-align: center;
        margin-bottom: 10px
    }

    h1 {
        font-size: clamp(28px, 4.8vw, 40px);
        margin: .2em 0 .1em;
        font-weight: 900
    }

    .sub {
        color: var(--bm-muted)
    }

    .fields {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 12px
    }

    label {
        font-weight: 700;
        font-size: 14px;
        display: block;
        margin-bottom: 8px
    }

    input {
        background: rgba(255, 255, 255, .04);
        color: var(--bm-white);
        border: 1px solid rgba(255, 255, 255, .18);
        border-radius: 12px;
        padding: 12px 12px;
        font: inherit;
        width: 100%;
        box-sizing: border-box
    }

    input::placeholder {
        color: #9aa3b2
    }

    input:focus {
        outline: none;
        box-shadow: 0 0 0 4px rgba(44, 230, 201, .14);
        border-color: var(--bm-teal-1)
    }

    .row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-top: 10px
    }

    .remember {
        display: flex;
        align-items: center;
        gap: 8px;
        color: var(--bm-muted);
        font-size: 14px
    }

    .remember input {
        width: 16px;
        height: 16px
    }

    .forgot {
        font-weight: 700;
        color: var(--bm-white);
        opacity: .9
    }

    .actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 14px
    }

    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 16px;
        border-radius: 14px;
        font-weight: 800;
        border: 1px solid rgba(255, 255, 255, .12);
        cursor: pointer;
        font-size: 14px;
        text-align: center
    }

    .btn-primary {
        background: linear-gradient(135deg, var(--bm-teal-1), var(--bm-teal-2));
        color: #042326;
        border: 0;
        box-shadow: 0 10px 26px rgba(44, 230, 201, .22)
    }

    .btn-ghost {
        background: rgba(255, 255, 255, .06)
    }

    .alt {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: 10px
    }

    .note {
        color: var(--bm-muted);
        font-size: 13px;
        text-align: center;
        margin-top: 10px
    }

    footer {
        padding: 28px 0;
        color: var(--bm-muted);
        text-align: center;
        font-size: 14px
    }

    /* Mobile Responsive Styles */
    @media (max-width: 640px) {
        .container {
            padding: 0 16px
        }

        .nav {
            height: 60px
        }

        .brand img {
            height: 24px
        }

        main {
            min-height: calc(100dvh - 60px - 56px);
            padding: 16px 0
        }

        .card {
            padding: 20px 16px;
            border-radius: 16px
        }

        .head {
            margin-bottom: 8px
        }

        h1 {
            font-size: clamp(24px, 6vw, 32px);
            margin: .3em 0 .15em
        }

        .sub {
            font-size: 14px
        }

        .fields {
            gap: 16px;
            margin-top: 10px
        }

        label {
            font-size: 13px;
            margin-bottom: 6px
        }

        input {
            padding: 11px 12px;
            font-size: 16px;
            border-radius: 10px
        }

        .row {
            margin-top: 8px;
            flex-wrap: wrap
        }

        .forgot {
            font-size: 13px
        }

        .actions {
            gap: 8px;
            margin-top: 12px
        }

        .btn {
            padding: 11px 14px;
            font-size: 13px;
            border-radius: 12px
        }

        .alt {
            grid-template-columns: 1fr;
            gap: 8px;
            margin-top: 8px
        }

        .note {
            font-size: 12px;
            margin-top: 12px;
            line-height: 1.5
        }

        footer {
            padding: 20px 0;
            font-size: 13px
        }
    }

    @media (max-width: 380px) {
        .container {
            padding: 0 12px
        }

        .card {
            padding: 16px 12px
        }

        .brand img {
            height: 22px
        }

        h1 {
            font-size: clamp(22px, 7vw, 28px)
        }

        .btn {
            font-size: 12px;
            padding: 10px 12px
        }
    }

    #autofill-alert {
        border-radius: 5px;
    }

    .night #autofill-alert {
        background: #fff;
        border-color: #fff;
        color: #000;
    }

    .night #passwordless-login-btn {
        background: #fff;
        color: #000;
    }

    .day #autofill-alert {
        background: #000;
        border-color: #000;
        color: #fff;
    }

    .day #passwordless-login-btn {
        background: #000;
        color: #fff;
    }

    input[type="text"],
    input[type="password"] {
        background: white !important
    }