:root {
    --saber-charcoal: #0f1219;
    --saber-slate: #1c2330;
    --saber-highlight: #f2c94c;
    --saber-glow: rgba(242, 201, 76, 0.35);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0c0f17 url('../../assets/dispatch.png') center center / cover no-repeat fixed;
    color: #f5f5f5;
    font-family: "Orbitron", "Eurostile", "Segoe UI", sans-serif;
    position: relative;
    overflow: hidden;
}

.login-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, rgba(5, 10, 20, 0.25), rgba(15, 18, 25, 0.35));
    backdrop-filter: blur(0px);
    z-index: 0;
}

.login-shell {
    width: min(420px, 90vw);
    position: relative;
    z-index: 1;
}

.login-card {
    background: rgba(15, 18, 25, 0.9);
    border: 1px solid rgba(242, 201, 76, 0.25);
    border-radius: 14px;
    padding: 2rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.login-brand img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem;
    box-shadow: 0 0 25px var(--saber-glow);
}

.login-brand h1 {
    margin: 0;
    font-size: 1.6rem;
    letter-spacing: 0.08em;
}

.login-brand p {
    margin: 0.4rem 0 0;
    font-family: "Work Sans", "Segoe UI", sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.login-brand .eyebrow {
    margin: 0;
    color: var(--saber-highlight);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.8rem;
    font-weight: 700;
}

.login-brand .sub {
    margin: 0.15rem 0 0;
}

form {
    display: grid;
    gap: 1rem;
    font-family: "Work Sans", "Segoe UI", sans-serif;
}

label {
    display: grid;
    gap: 0.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.7);
}

input {
    padding: 0.75rem 0.9rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.07);
    color: #f5f5f5;
    font-size: 0.95rem;
}

button {
    padding: 0.9rem 1rem;
    border-radius: 10px;
    border: none;
    background: var(--saber-highlight);
    color: #0f1219;
    font-weight: 700;
    letter-spacing: 0.08em;
    cursor: pointer;
    text-transform: uppercase;
}

button:hover {
    filter: brightness(1.05);
}

.status {
    margin-top: 1rem;
    font-family: "Work Sans", "Segoe UI", sans-serif;
    font-size: 0.9rem;
}

.status.error {
    color: #ff9f9f;
}
