body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #1A2342;
    color: white;
}

/* Login */
.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-box {
    background: #1a1a40;
    padding: 30px;
    border-radius: 10px;
    width: 350px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.login-box h2 {
    text-align: center;
    margin-bottom: 20px;
}

.login-box input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: none;
    border-radius: 6px;
    box-sizing: border-box;
}

.login-box button {
    width: 100%;
    padding: 12px;
    background: #0055a5;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

.login-box button:hover {
    background: #003d73;
}

.fout {
    background: #dc3545;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    text-align: center;
}

/* Navbar */
.navbar {
    background-color: #1a1a40;
    padding: 10px;
    color: white;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    position: relative;
}

.welcome {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 14px;
    font-weight: normal;
}

.logout {
    position: absolute;
    left: 20px;
    top: 10px;
    font-size: 14px;
}

.logout a {
    color: white;
    text-decoration: none;
}

/* Dashboard */
.dashboard-body {
    overflow: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 2px;
    padding: 2px;
    flex-grow: 1;
}

.grid-item,
.grid-item-link {
    background-color: #0055a5;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border-radius: 2px;
    transition: background-color 0.3s;
    text-decoration: none;
    height: 100%;
    width: 100%;
}

.grid-item-link {
    display: block;
}

.grid-item.inactive {
    opacity: 0.5;
    pointer-events: none;
}

.grid-item i {
    font-size: 40px;
    margin-bottom: 10px;
}

.grid-item:hover:not(.inactive),
.grid-item-link:hover:not(.inactive) {
    background-color: #003d73;
}

/* Algemene pagina */
.page-container {
    padding: 30px;
}

.back-link {
    display: inline-block;
    margin-top: 20px;
    color: white;
    text-decoration: none;
    background: #0055a5;
    padding: 10px 15px;
    border-radius: 6px;
}

.back-link:hover {
    background: #003d73;
}