/* ===== Login + 403 (matches the dark theme of the other pages) ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Inter, Arial, sans-serif;
}

body {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.login-card {
    width: 100%;
    max-width: 520px;
    padding: 40px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    text-align: center;
}

h1 {
    font-size: 36px;
    margin-bottom: 8px;
}

.subtitle {
    color: #94a3b8;
    margin-bottom: 28px;
    line-height: 1.5;
}

.subtitle strong {
    color: white;
}

.big-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

/* ===== messages ===== */
.msg {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.msg-error {
    background: #450a0a;
    border: 1px solid #b91c1c;
    color: #fecaca;
}

.msg-ok {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid #22c55e;
    color: #bbf7d0;
}

/* ===== Kasse / Eier ===== */
.who {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 28px;
}

.who-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 28px 10px;
    border-radius: 16px;
    border: 2px solid #334155;
    background: #0f172a;
    color: white;
    font-size: 22px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.who-icon {
    font-size: 36px;
}

.who-btn:hover {
    border-color: #38bdf8;
}

.who-btn.selected {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.2);
}

/* ===== password ===== */
label {
    display: block;
    text-align: left;
    margin-bottom: 8px;
    color: #94a3b8;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

input[type="password"] {
    width: 100%;
    padding: 16px;
    border-radius: 10px;
    border: 1px solid #334155;
    background: #0f172a;
    color: white;
    font-size: 20px;
    outline: none;
}

input[type="password"]:focus {
    border-color: #38bdf8;
}

input[type="password"]:disabled {
    opacity: 0.5;
}

.login-btn {
    width: 100%;
    margin-top: 22px;
    padding: 16px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.login-btn:hover:enabled {
    transform: scale(1.02);
}

.login-btn:disabled {
    background: #334155;
    color: #64748b;
    cursor: not-allowed;
}

.back-link {
    display: inline-block;
    margin-top: 18px;
    color: #94a3b8;
    text-decoration: none;
}

.back-link:hover {
    color: white;
}
