html, body, form {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-color: #f5f7fa;
    font-size: 14px;
}

/* Sidebar */
.sidebar-hover {
    position: fixed;
    top: 0;
    left: 0;
    width: 64px;
    height: 100vh;
    background-color: #1f2937;
    overflow-x: hidden;
    overflow-y: auto;
    transition: width 0.25s ease;
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0,0,0,0.08);
}

    .sidebar-hover:hover {
        width: 260px;
    }

.sidebar-inner {
    padding: 14px 10px;
}

.sidebar-brand {
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    margin-bottom: 18px;
    border-radius: 10px;
    white-space: nowrap;
    overflow: hidden;
    font-weight: 600;
    font-size: 18px;
}

    .sidebar-brand:hover {
        color: #ffffff;
        background-color: rgba(255,255,255,0.08);
    }

.sidebar-nav {
    width: 100%;
}

.sidebar-link,
.sidebar-sublink {
    color: #d1d5db;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
}

    .sidebar-link:hover,
    .sidebar-sublink:hover {
        color: #ffffff;
        background-color: rgba(255,255,255,0.08);
    }

    .sidebar-link.active,
    .sidebar-sublink.active {
        background-color: #0d6efd;
        color: #ffffff !important;
    }

.menu-icon {
    min-width: 20px;
    font-size: 18px;
    text-align: center;
}

.menu-text {
    opacity: 0;
    transition: opacity 0.15s ease;
}

.sidebar-hover:hover .menu-text {
    opacity: 1;
}

.has-submenu > .submenu {
    list-style: none;
    margin: 0 0 8px 0;
    padding-left: 32px;
    display: none;
}

.sidebar-hover:hover .has-submenu:hover > .submenu {
    display: block;
}

.sidebar-sublink {
    padding: 8px 12px;
    font-size: 13px;
}

.main-content {
    margin-left: 64px;
    min-height: 100vh;
    padding: 0;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.grid-compact th,
.grid-compact td {
    white-space: nowrap;
    vertical-align: middle;
}

.grid-compact .wrap-text {
    white-space: normal;
    min-width: 220px;
}

.grid-actions {
    min-width: 140px;
}

.grid-id {
    width: 70px;
}

.grid-short {
    min-width: 120px;
}

.grid-medium {
    min-width: 180px;
}

.grid-email {
    min-width: 220px;
}

.a-text-col {
    width: 820px;
    max-width: 820px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.actie-knoppen {
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
    white-space: nowrap;
    align-items: center;
}

    .actie-knoppen .btn {
        padding: 0.25rem 0.45rem;
        flex: 0 0 auto;
    }

.bewaken-rij,
.tr.bewaken-rij td {
    background-color: #fff3cd !important;
}

.status-urgent {
    background-color: #f8d7da;
}

.status-ok {
    background-color: #d4edda;
}