.rest-login-page {
    margin: 0;
    min-height: 100vh;
    background: #0d1c2f;
    color: #fff;
    font-family: "Segoe UI", system-ui, sans-serif;
}

.rest-login-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.rest-login-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    width: min(420px, 100%);
    background: radial-gradient(circle at 30% 20%, #122a45 0%, #0d1c2f 55%);
    min-height: 100vh;
}

.rest-login-brand {
    text-align: center;
    margin-bottom: 1.5rem;
}

.rest-login-brand h1 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: .75rem 0 0;
    line-height: 1.3;
}

.rest-login-logo {
    max-height: 64px;
    max-width: 100%;
    object-fit: contain;
}

.rest-login-footer {
    margin-top: 1.5rem;
    font-size: .75rem;
    color: #009946;
    text-align: center;
}

.rest-pin-form {
    width: 100%;
}

.rest-login-error {
    background: rgba(239, 68, 68, .15);
    border: 1px solid rgba(239, 68, 68, .4);
    color: #fecaca;
    padding: .65rem .85rem;
    border-radius: .75rem;
    font-size: .85rem;
    margin-bottom: .75rem;
    text-align: center;
}

.rest-login-hint {
    text-align: center;
    font-size: .82rem;
    color: rgba(255, 255, 255, .55);
    margin: 0 0 .75rem;
}

.rest-card-scan-input {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.rest-pin-display.scanned {
    letter-spacing: .12em;
    font-variant-numeric: tabular-nums;
}

.rest-pin-display {
    text-align: center;
    letter-spacing: .35em;
    font-size: 1.75rem;
    padding: .75rem;
    margin-bottom: 1rem;
    border: 2px solid #009946;
    border-radius: 1rem;
    background: #122a45;
    min-height: 3rem;
}

.rest-numpad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .65rem;
}

.rest-num-btn {
    border: 2px solid #009946;
    border-radius: 1.25rem;
    background: #0d1c2f;
    color: #fff;
    font-size: 2rem;
    font-weight: 600;
    padding: .85rem 0;
    cursor: pointer;
}

.rest-num-btn:hover {
    background: #122a45;
}

.rest-num-enter {
    background: #009946;
}

.rest-num-enter:hover {
    filter: brightness(1.08);
}

.rest-kamarier-btn {
    width: 100%;
    margin-top: 1rem;
    border: 2px solid #009946;
    border-radius: 1.25rem;
    background: linear-gradient(180deg, #009946 0%, #007a38 100%);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: .08em;
    padding: 1rem .75rem;
    cursor: pointer;
}

.rest-kamarier-btn:hover {
    filter: brightness(1.06);
}

.rest-admin-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: .75rem;
    padding: .85rem .75rem;
    border: 2px solid rgba(255, 255, 255, .35);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .9);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-decoration: none;
    transition: background .15s, border-color .15s;
}

.rest-admin-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .55);
}

@media (max-width: 768px) {
    .rest-login-main {
        padding: 1.5rem 1rem;
    }
}
