/* ================= LOGIN BACKGROUND ================= */

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, Ubuntu, sans-serif;

    background: url('/assets/img/login-bg.jpg') no-repeat center center fixed;
    background-size: cover;

    height: 100vh;
}

/* DUNKLES OVERLAY FÜR LESBARKEIT */
.login-wrapper {
    background: rgba(0, 0, 0, 0.55);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ================= LOGIN BOX ================= */

.login-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 36px;
    border-radius: 14px;
    width: 100%;
    max-width: 380px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

.login-box h1 {
    margin-bottom: 6px;
    font-size: 26px;
    color: #111827;
}

.subtitle {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 24px;
}

/* ================= FORM ================= */

.login-box input {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 14px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 14px;
}

.login-box input:focus {
    outline: none;
    border-color: #2563eb;
}

/* ================= BUTTON ================= */

.login-box button {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: #2563eb;
    color: #ffffff;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-box button:hover {
    background: #1d4ed8;
}

/* ================= ERROR ================= */

.login-error {
    background: #fee2e2;
    color: #991b1b;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}
