* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: white;
}

/* Login */
.login-body {
    min-height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            135deg,
            rgba(10, 18, 40, 0.68),
            rgba(10, 18, 40, 0.45)
        );
    z-index: 1;
}

.login-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 440px;
    padding: 20px;
}

.login-box {
    background: rgba(17, 25, 40, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 36px 32px;
    border-radius: 20px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.login-logo {
    display: block;
    margin: 0 auto 20px;
    max-width: 100px;
    height: auto;
}

.login-box h1 {
    margin: 0 0 10px;
    text-align: center;
    font-size: 30px;
    font-weight: 700;
}

.login-subtitle {
    margin: 0 0 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.5;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.login-box input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgb(255, 145, 0, 0.40);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    outline: none;
    font-size: 15px;
    transition: 0.25s ease;
}

.login-box input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.login-box input:focus {
    border-color: #ff9100;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 4px rgb(255, 145, 0, 0.40);
}

.login-box button {
    width: 100%;
    padding: 14px;
    margin-top: 6px;
    background: linear-gradient(135deg, #ff9100 , #ff9d1d );
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 10px 24px rgba(255, 145, 0, 0.3);
}

.login-box button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(255, 145, 0, 0.3);
}

.login-box button:active {
    transform: translateY(0);
}

.fout {
    background: rgba(220, 53, 69, 0.18);
    border: 1px solid rgba(255, 99, 132, 0.35);
    color: #ffd7dc;
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 18px;
    text-align: center;
    font-size: 14px;
}

/* 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;
    background-color: #1A2342;
}

.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;
}

/* Responsive */
@media (max-width: 480px) {
    .login-box {
        padding: 28px 22px;
        border-radius: 16px;
    }

    .login-box h1 {
        font-size: 25px;
    }

    .login-logo {
        width: 64px;
        height: 64px;
        font-size: 18px;
    }
}