body {
    background: #0f172a;
    color: white;
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    max-height: 80vh;
}

.login-box {
    background: #1e293b;
    padding: 70px;
    /* iets groter */
    border-radius: 25px;
    /* iets ronder */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    width: 30vw;
    /* breder */
    max-width: 95%;
    text-align: center;
    box-sizing: border-box;
}

.login-box h2 {
    margin-top: 0;
    margin-bottom: 10vh;
    color: #38bdf8;
    font-size: 60px;
    /* groter */
}

.login-box form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* iets meer ruimte tussen de velden */
}

.login-box input,
.login-box button {
    width: 100%;
    box-sizing: border-box;
    padding: 16px;
    /* groter */
    border-radius: 15px;
    /* iets ronder */
    font-size: 16px;
    /* groter */
    border: 1px solid #334155;
}

.login-box input {
    background: #0f172a;
    color: white;
}

.login-box input:focus {
    outline: none;
    border-color: #38bdf8;
}

.login-box button {
    background: #38bdf8;
    color: #0f172a;
    font-weight: bold;
    font-size: 18px;
    /* iets groter */
    border: none;
    cursor: pointer;
}

.login-box button:hover {
    background: #0ea5e9;
}

.error {
    color: #f87171;
    margin-bottom: 10px;
    font-size: 16px;
    /* iets groter */
}

/* MOBIEL: groter login-box voor telefoons */
@media screen and (max-width: 1000px) {
    .login-box {
        width: 85vw;
        /* bijna volledige breedte van het scherm */
        padding: 40px;
        /* iets minder padding zodat het goed past op klein scherm */
        padding-top: 80px;
        /* iets minder padding bovenaan */
    }

    .login-box h2 {
        font-size: 40px;
        /* iets kleiner dan desktop, past beter */
        margin-bottom: 6vh;
    }

    .login-box input,
    .login-box button {
        font-size: 18px;
        /* iets groter voor beter tikken */
        padding: 18px;
    }
}