/* Basis layout */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: #f5f7fa;
    color: #002B45;
}

/* Topbar — volledig uit layout, alleen zichtbaar bij hover */
.topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;

    background: #002B45;
    color: white;
    padding: 14px 20px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 9999;
}

/* Header tonen bij hover bovenaan het scherm */
body:hover .topbar {
    opacity: 1;
    pointer-events: auto;
}

.logout-button {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* Footer */
.footerbar {
    margin-top: 40px;
    padding: 20px;
    text-align: center;
    color: #607080;
    font-size: 14px;
}

/* ============================
   LOGIN PAGINA
============================ */

.login-body {
    background: #F5F5F5;
    font-family: system-ui, sans-serif;
    color: #002B45;
}

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90vh;
}

.login-card {
    background: #FFFFFF;
    padding: 32px;
    border-radius: 12px;
    max-width: 380px;
    width: 100%;
    text-align: center;
    border-top: 4px solid #FF6A00;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.login-logo {
    width: 99%;
    max-width: 380px;
    padding: 0 5px;
    margin-bottom: 5px;
    opacity: 0.95;
    user-select: none;
}

.login-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.login-subtitle {
    color: #607080;
    margin-bottom: 24px;
}

.login-label {
    text-align: left;
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}

.login-input {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #E0E0E0;
    margin-bottom: 16px;
    font-size: 1rem;
}

.login-input:focus {
    border-color: #FF6A00;
    box-shadow: 0 0 0 2px rgba(255,106,0,0.15);
    outline: none;
}

.login-button {
    width: 100%;
    padding: 12px;
    border-radius: 999px;
    background: #002B45;
    color: white;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.login-button:hover {
    background: #FF6A00;
}

.login-footer {
    text-align: center;
    padding: 16px;
    font-size: 0.8rem;
    color: #8A96A3;
}

/* Capaciteitstabel */
.capacity-table {
    width: 100%;
    border-collapse: collapse;
    background: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 20px;
}

.capacity-table th {
    background: #002B45;
    color: white;
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

.capacity-table td {
    padding: 12px;
    border-bottom: 1px solid #E0E0E0;
    color: #002B45;
}

.capacity-table tr:hover {
    background: #f0f4f8;
}

.capacity-input {
    width: 120px;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #CCC;
    font-size: 1rem;
}

.capacity-input:focus {
    border-color: #FF6A00;
    box-shadow: 0 0 0 2px rgba(255,106,0,0.15);
    outline: none;
}

.capacity-button {
    padding: 12px 20px;
    background: #002B45;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 20px;
}

.capacity-button:hover {
    background: #FF6A00;
}

.dashboard-wrapper {
    padding: 10px 20px;
}

.topbar-links a {
    margin-left: 20px;
}
/* Footer volledig uit de layout halen */
.footerbar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;

    background: #f5f7fa;
    color: #607080;
    padding: 12px;
    text-align: center;
    font-size: 14px;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 9999;
}

/* Footer tonen bij hover onderaan het scherm */
body:hover .footerbar {
    opacity: 1;
    pointer-events: auto;
}

/* standaard: bars verborgen */
.headerbar,
.footerbar {
    opacity: 0;
    pointer-events: none;
}

/* zichtbaar wanneer gebruiker actief is */
body.bars-visible .topbar,
body.bars-visible .footerbar {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.3s ease;
}

/* verborgen wanneer gebruiker stil is */
body:not(.bars-visible) .topbar,
body:not(.bars-visible) .footerbar {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
/* Cursor zichtbaar wanneer actief */
body.bars-visible {
    cursor: default;
}

/* Cursor verbergen bij stilstand */
body:not(.bars-visible) {
    cursor: none;
}

.login-logo {
    text-align: center;
    margin-bottom: 20px;
}

.login-logo img {
    width: calc(100% - 2px); /* volle breedte minus 5px padding links + rechts */
    padding: 0 2px;
    height: auto; /* verhouding behouden */
    display: block;
    margin: 0 auto 20px auto;
}

.login-input {
    caret-color: #F28C00 !important; /* Maars oranje */
    color: #000;                     /* zorg dat tekst zelf donker is */
    background-color: #FFFFFF;       /* witte achtergrond, voor de zekerheid */
}

.login-input:focus {
    outline: 2px solid #F28C00;
    border-color: #F28C00;
}

.login-card,
.login-wrapper,
.login-input,
.login-body {
    cursor: default !important;
}




