:root {
    color-scheme: dark;
    font-family: Inter, "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
    background: #090a0e;
    color: #f2f3f7;
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 50% 18%, rgba(124, 124, 246, .16), transparent 34rem),
        linear-gradient(160deg, #101118, #08090d 65%);
}

.login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.login-card {
    width: min(100%, 410px);
    padding: 38px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(27, 29, 38, .97), rgba(14, 16, 22, .98));
    box-shadow: 0 30px 80px rgba(0, 0, 0, .42), inset 0 1px rgba(255, 255, 255, .035);
}

.brand-mark {
    position: relative;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin-bottom: 25px;
    border: 1px solid rgba(152, 152, 255, .25);
    border-radius: 14px;
    background: rgba(124, 124, 246, .1);
    box-shadow: 0 12px 32px rgba(87, 87, 190, .18);
}

.brand-mark span {
    position: absolute;
    width: 18px;
    height: 6px;
    border-radius: 99px;
    background: #9999ff;
    transform: rotate(-45deg) translateY(-4px);
}

.brand-mark span:last-child {
    transform: rotate(-45deg) translateY(4px);
}

.eyebrow {
    margin: 0 0 8px;
    color: #858b99;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .16em;
}

h1 {
    margin: 0;
    font-size: clamp(25px, 7vw, 32px);
    line-height: 1.15;
}

.description {
    margin: 12px 0 26px;
    color: #969ba8;
    font-size: 14px;
    line-height: 1.55;
}

form {
    display: grid;
    gap: 16px;
}

label {
    display: grid;
    gap: 8px;
}

label span {
    color: #b9bdc7;
    font-size: 12px;
    font-weight: 650;
}

input,
button {
    width: 100%;
    min-height: 50px;
    border-radius: 12px;
    font: inherit;
}

input {
    padding: 0 15px;
    border: 1px solid rgba(255, 255, 255, .1);
    outline: none;
    color: #f4f4f8;
    background: #0d0f14;
    transition: border-color .2s, box-shadow .2s;
}

input:focus {
    border-color: rgba(142, 142, 248, .72);
    box-shadow: 0 0 0 4px rgba(124, 124, 246, .11);
}

button {
    border: 0;
    color: white;
    background: #7777ed;
    font-weight: 720;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(87, 87, 190, .25);
    transition: transform .16s, background .2s;
}

button:hover {
    background: #8888f5;
    transform: translateY(-1px);
}

.error {
    margin: -6px 0 18px;
    padding: 11px 13px;
    border: 1px solid rgba(251, 113, 133, .22);
    border-radius: 10px;
    color: #ffacb8;
    background: rgba(251, 113, 133, .08);
    font-size: 12px;
    line-height: 1.45;
}

.session-note {
    margin: 20px 0 0;
    color: #626875;
    font-size: 10px;
    text-align: center;
}

@media (max-width: 480px) {
    .login-shell {
        align-items: stretch;
        padding: 0;
    }

    .login-card {
        width: 100%;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        border: 0;
        border-radius: 0;
        padding: 30px;
    }
}
