:root {
    --bg: #071426;

    --surface: #0b1c33;
    --surface-2: #102640;

    --border: rgba(96, 165, 250, .15);

    --text: #f8fafc;
    --muted: #9fb5cf;

    --primary: #2488ff;
    --primary-hover: #4ba0ff;

    --critical: #ef4444;
    --high: #f97316;
    --medium: #eab308;
    --low: #22c55e;

    --success: #22c55e;
}

body {
    margin: 0;
    min-height: 100vh;

    font-family: Inter, Segoe UI, sans-serif;

    background:
        radial-gradient(
            circle at 70% 20%,
            rgba(36,136,255,.18),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(36,136,255,.12),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #071426 0%,
            #082145 40%,
            #0b3570 100%
        );

    color: var(--text);
}

.sidebar {
    width: 260px;

    background:
        linear-gradient(
            180deg,
            rgba(3,11,25,.98),
            rgba(7,20,38,.96)
        );

    border-right: 1px solid var(--border);

    backdrop-filter: blur(18px);

    padding: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 40px;
}

.logo {
    width: 48px !important;
    height: 48px !important;

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

    overflow: hidden;
}

.logo img {
    width: 32px !important;
    height: 32px !important;

    object-fit: contain;
    display: block;
}

nav a {
    display: block;

    padding: 12px 14px;

    border-radius: 8px;

    color: var(--muted);

    transition: .2s;
}

nav a:hover {
    background:
        rgba(36,136,255,.10);

    color: white;
}

nav a.active {
    background:
        rgba(36,136,255,.18);

    border-left:
        3px solid var(--primary);

    color: white;
}

.card {
    background:
        rgba(11,28,51,.85);

    border:
        1px solid rgba(
            96,
            165,
            250,
            .12
        );

    backdrop-filter:
        blur(14px);

    border-radius: 10px;

    padding: 22px;
}

.card:hover {
    border-color:
        rgba(
            96,
            165,
            250,
            .35
        );
}

.card strong {
    display: block;

    margin-top: 20px;

    font-size: 42px;

    font-weight: 600;
}

.panel {
    background:
        rgba(11,28,51,.88);

    border:
        1px solid rgba(
            96,
            165,
            250,
            .12
        );

    border-radius: 10px;

    padding: 20px;
}

select {
    appearance: none;
    background:
        linear-gradient(180deg, #081527, #06101f);
    border: 1px solid rgba(96, 165, 250, .35);
    color: #fff;
    border-radius: 7px;
    padding: 7px 34px 7px 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background:
        rgba(
            36,
            136,
            255,
            .06
        );
}

th {
    color: #9fb5cf;

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: .08em;

    padding: 14px;
}

td {
    padding: 14px;
}

tbody tr {
    transition: .15s;
}

tbody tr:hover {
    background:
        rgba(
            36,
            136,
            255,
            .06
        );
}

.badge.critical {
    background:
        rgba(239,68,68,.18);

    color:
        #ff8a8a;

    border:
        1px solid rgba(239,68,68,.4);
}

.badge.high {
    background:
        rgba(249,115,22,.18);

    color:
        #fdba74;

    border:
        1px solid rgba(249,115,22,.4);
}

.badge.medium {
    background:
        rgba(234,179,8,.15);

    color:
        #fde047;

    border:
        1px solid rgba(234,179,8,.35);
}

.badge.low {
    background:
        rgba(34,197,94,.15);

    color:
        #86efac;

    border:
        1px solid rgba(34,197,94,.35);
}

.open {
    color: #60a5fa;
}

.investigating {
    color: #facc15;
}

.resolved {
    color: #4ade80;
}

.closed {
    color: #94a3b8;
}

.detail-panel {
    position: fixed;
    top: 16px;
    right: 16px;
    width: 480px;
    height: calc(100vh - 32px);
    padding: 24px;

    background: rgba(5, 16, 32, .98);
    border-left: 1px solid rgba(96, 165, 250, .35);
    box-shadow: -24px 0 60px rgba(0, 0, 0, .45);
    backdrop-filter: blur(20px);

    border-radius: 14px;
    z-index: 9999;
    overflow-y: auto;
}

.detail-panel h2 {
    margin: 0 0 24px;
    font-size: 24px;
}

.detail-close {
    position: sticky;
    top: 0;
    float: right;

    width: 32px;
    height: 32px;
    padding: 0;

    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(96, 165, 250, .2);
    box-shadow: none;
}

.detail-panel p {
    margin: 0 0 18px;
    color: #dbeafe;
}

.detail-panel strong {
    display: block;
    margin-bottom: 6px;
    color: #ffffff;
}

.detail-panel pre,
.history-item,
.note-item {
    background: rgba(3, 11, 25, .75);
    border: 1px solid rgba(96, 165, 250, .16);
    border-radius: 10px;
    padding: 12px;
}

.detail-panel select,
.detail-panel textarea {
    width: 100%;
    margin-bottom: 10px;
}

.detail-panel button {
    margin-bottom: 18px;
}

* {
    box-sizing: border-box;
}

body {
    display: flex;
}

.content {
    flex: 1;
    padding: 32px;
    min-width: 0;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(6, minmax(180px, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.panel-header h2 {
    margin-right: auto;
}

.page {
    display: none;
}

.page.active-page {
    display: block;
}

.badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.hidden {
    display: none !important;
}

button {
    border: 1px solid rgba(96, 165, 250, .35);
    background: linear-gradient(135deg, #2488ff, #0068e8);
    color: #fff;
    border-radius: 7px;
    padding: 8px 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(0, 104, 232, .22);
}

button:hover {
    background: linear-gradient(135deg, #4ba0ff, #1176ff);
}

#refreshBtn {
    min-width: 92px;
}


.brand .logo {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;

    padding: 4px;
    border-radius: 12px;

    overflow: hidden !important;
    flex-shrink: 0;
}

.brand .logo img {
    width: 100% !important;
    height: 100% !important;

    max-width: 100% !important;
    max-height: 100% !important;

    object-fit: contain !important;
    display: block !important;
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background:
        linear-gradient(180deg, #081527, #06101f),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2393c5fd' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;

    border: 1px solid rgba(96, 165, 250, .35);
    color: #fff;

    border-radius: 8px;
    padding: 8px 36px 8px 12px;

    font-weight: 600;
    min-width: 150px;
    cursor: pointer;
}

select:hover {
    border-color: rgba(96, 165, 250, .65);
    background-color: #0b1c33;
}

select:focus {
    outline: none;
    border-color: #2488ff;
    box-shadow: 0 0 0 3px rgba(36, 136, 255, .18);
}

option {
    background: #081527;
    color: #fff;
}

.incident-status-select {
    width: 140px !important;
    min-width: 140px !important;
    max-width: 140px !important;

    height: 36px;

    padding-left: 12px;
    padding-right: 32px;
}

.status-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-cell button {
    height: 36px;
    padding: 0 14px;
}

#actionFilter,
#statusFilter,
#severityFilter,
#escalationFilter,
#assignmentFilter {
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;

    height: 36px;

    background-color: #071426 !important;
    background-image: none !important;

    padding: 0 12px !important;
}

.incident-status-select {
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;

    height: 38px !important;

    background: linear-gradient(
        180deg,
        rgba(16,38,64,.98),
        rgba(7,20,38,.98)
    ) !important;

    border: 1px solid rgba(96,165,250,.55) !important;
    border-radius: 12px !important;

    color: #ffffff !important;
    font-weight: 700 !important;

    box-shadow: 0 10px 28px rgba(0,0,0,.35) !important;

    padding: 0 14px !important;
}

.incident-status-select:hover {
    border-color: #2488ff !important;
}

.incident-status-select:focus {
    outline: none !important;

    box-shadow:
        0 0 0 3px rgba(36,136,255,.22),
        0 12px 32px rgba(0,0,0,.35) !important;
}

.custom-select {
    position: relative;
    width: 160px;
}

.custom-select-btn {
    width: 100%;
    height: 38px;
    padding: 0 12px;

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

    background: linear-gradient(180deg, #0b1c33, #071426);
    border: 1px solid rgba(96, 165, 250, .45);
    border-radius: 10px;

    color: white;
    font-weight: 700;
    cursor: pointer;

    box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}

.custom-select.open .custom-select-btn {
    border-color: #2488ff;
    box-shadow: 0 0 0 3px rgba(36, 136, 255, .18);
}

.custom-select-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;

    background: rgba(5, 16, 32, .98);
    border: 1px solid rgba(96, 165, 250, .35);
    border-radius: 12px;

    padding: 6px;
    z-index: 9999;

    box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
    backdrop-filter: blur(16px);
}

.custom-select.open .custom-select-menu {
    display: block;
}

.custom-select-menu button {
    width: 100%;
    padding: 10px 11px;

    background: transparent;
    border: none;
    box-shadow: none;

    color: #dbeafe;
    text-align: left;
    border-radius: 8px;
    cursor: pointer;
}

.custom-select-menu button:hover,
.custom-select-menu button.active {
    background: rgba(36, 136, 255, .18);
    color: white;
}

.chevron {
    color: #93c5fd;

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

    height: 100%;

    position: relative;
    top: -4px; /* speel met -1px, -2px of -3px */
}

.custom-select .custom-select-btn {
    background: linear-gradient(180deg, rgba(16, 38, 64, .98), rgba(7, 20, 38, .98)) !important;
    border: 1px solid rgba(96, 165, 250, .55) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .35) !important;
}

.custom-select.open .custom-select-btn {
    border-color: #2488ff !important;
    box-shadow:
        0 0 0 3px rgba(36, 136, 255, .22),
        0 12px 32px rgba(0, 0, 0, .45) !important;
}

.custom-select .custom-select-menu {
    background: rgba(5, 16, 32, .96) !important;
    border: 1px solid rgba(96, 165, 250, .45) !important;
    border-radius: 14px !important;
    box-shadow: 0 22px 50px rgba(0, 0, 0, .55) !important;
    overflow: hidden;
}

.custom-select .custom-select-menu button {
    background: transparent !important;
    color: #dbeafe !important;
}

.custom-select .custom-select-menu button:hover,
.custom-select .custom-select-menu button.active {
    background: rgba(36, 136, 255, .22) !important;
    color: white !important;
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background:
        linear-gradient(180deg, rgba(16,38,64,.98), rgba(7,20,38,.98));

    border: 1px solid rgba(96,165,250,.45);
    border-radius: 12px;

    color: white;
    font-weight: 600;

    height: 38px;
    padding: 0 40px 0 14px;

    box-shadow:
        0 10px 28px rgba(0,0,0,.25);

    transition: all .2s ease;
}

select:hover {
    border-color: rgba(96,165,250,.8);
}

select:focus {
    outline: none;
    border-color: #2488ff;

    box-shadow:
        0 0 0 3px rgba(36,136,255,.22),
        0 12px 32px rgba(0,0,0,.35);
}

.analyst-select {
    width: 100%;
}

.analyst-select .custom-select-btn,
.analyst-select .custom-select-menu {
    width: 100%;
}

.status-select {
    width: 180px;
}

.status-select .custom-select-btn,
.status-select .custom-select-menu {
    width: 100%;
}

input,
textarea {
    width: 100%;
    background: linear-gradient(180deg, rgba(16,38,64,.98), rgba(7,20,38,.98));
    border: 1px solid rgba(96,165,250,.45);
    border-radius: 12px;
    color: #ffffff;

    padding: 12px 14px;
    font-size: 14px;
    font-family: inherit;
    font-weight: 600;

    outline: none;
    box-shadow: 0 10px 28px rgba(0,0,0,.25);
    transition: all .2s ease;
}

input::placeholder,
textarea::placeholder {
    color: #8fa9c7;
    font-weight: 500;
}

input:hover,
textarea:hover {
    border-color: rgba(96,165,250,.75);
}

input:focus,
textarea:focus {
    border-color: #2488ff;
    box-shadow:
        0 0 0 3px rgba(36,136,255,.22),
        0 12px 32px rgba(0,0,0,.35);
}

textarea {
    min-height: 90px;
    resize: vertical;
}

.invite-form input {
    width: 260px;
    height: 38px;
}

.invite-form {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

#auditLogsTable {
    table-layout: fixed;
    width: 100%;
}

#auditLogsTable td,
#auditLogsTable th {
    word-break: break-word;
    overflow-wrap: anywhere;
    vertical-align: top;
}

.audit-metadata {
    margin: 0;
    padding: 8px 10px;

    background: rgba(255,255,255,.04);
    border: 1px solid rgba(96,165,250,.2);
    border-radius: 8px;

    color: #dbeafe;
    font-size: 12px;

    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.audit-badge {
    display: inline-flex;
    align-items: center;

    padding: 6px 12px;

    border-radius: 999px;

    font-size: 12px;
    font-weight: 700;

    border: 1px solid transparent;
}

.audit-status {
    background: rgba(59,130,246,.15);
    border-color: rgba(59,130,246,.35);
    color: #93c5fd;
}

.audit-assigned {
    background: rgba(34,197,94,.15);
    border-color: rgba(34,197,94,.35);
    color: #86efac;
}

.audit-note {
    background: rgba(168,85,247,.15);
    border-color: rgba(168,85,247,.35);
    color: #d8b4fe;
}

.audit-note-edit {
    background: rgba(249,115,22,.15);
    border-color: rgba(249,115,22,.35);
    color: #fdba74;
}

.audit-role {
    background: rgba(236,72,153,.15);
    border-color: rgba(236,72,153,.35);
    color: #f9a8d4;
}

.audit-user {
    background: rgba(14,165,233,.15);
    border-color: rgba(14,165,233,.35);
    color: #7dd3fc;
}

.audit-default {
    background: rgba(148,163,184,.15);
    border-color: rgba(148,163,184,.35);
    color: #cbd5e1;
}

.detail-panel {
    scrollbar-width: thin;
    scrollbar-color: rgba(96,165,250,.65) rgba(5,16,32,.8);
}

.detail-panel::-webkit-scrollbar {
    width: 10px;
}

.detail-panel::-webkit-scrollbar-track {
    background: rgba(5,16,32,.8);
    border-radius: 999px;
}

.detail-panel::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #2488ff, #0b5fc7);
    border-radius: 999px;
    border: 2px solid rgba(5,16,32,.9);
}

.detail-panel::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #4ba0ff, #2488ff);
}

/* bestaande css hierboven */

.detail-close {
    position: absolute;
    top: 16px;
    right: 16px;

    z-index: 9999;

    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #051020;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        #0272fc,
        #0b5fc7
    );

    border-radius: 999px;
    border: 2px solid #051020;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        180deg,
        #0178ff,
        #2488ff
    );
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #006ff7 #051020;
}

.brand {
    position: relative;

    width: 100%;
    min-height: 90px;

    padding: 18px 14px 22px;
    margin-bottom: 36px;

    border-radius: 18px;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.02),
            rgba(255,255,255,.01)
        );

    border: 1px solid rgba(96,165,250,.10);
}

.brand .logo {
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            rgba(36,136,255,.20),
            rgba(36,136,255,.06)
        );

    border: 1px solid rgba(96,165,250,.25);

    box-shadow:
        0 0 25px rgba(36,136,255,.18);
}

.brand .logo img {
    filter:
        drop-shadow(
            0 0 12px rgba(36,136,255,.35)
        );
}


.brand h2 {
    margin: 0;

    font-size: 24px;
    font-weight: 800;

    letter-spacing: -0.03em;
    line-height: 1.1;

    white-space: nowrap;
}

.brand span {
    display: block;

    margin-top: 6px;

    color: #7fb8ff;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .15em;
    text-transform: uppercase;
}

.brand::after {
    content: "";

    position: absolute;

    left: 14px;
    right: 14px;
    bottom: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(36,136,255,.55),
            transparent
        );
}

.sidebar-divider {
    height: 1px;

    margin: 18px 0 24px;

    background: linear-gradient(
        90deg,
        transparent,
        rgb(255, 255, 255),
        transparent
    );

    box-shadow:
        0 0 8px rgba(36,136,255,.25);
}

.sidebar nav a {
    cursor: pointer;
}

.stats .card {
    cursor: pointer;
    transition: 0.2s;
}

.stats .card:hover {
    transform: translateY(-2px);
}

.stats .card {
    cursor: pointer;
}

.stats .card.active-kpi {
    outline: 2px solid #6366f1;
    transform: translateY(-2px);
}

.severity-widget {
    margin-bottom: 20px;
}

.severity-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.severity-row {
    display: grid;
    grid-template-columns: 90px 1fr 32px;
    align-items: center;
    gap: 12px;
}

.severity-label {
    font-size: 12px;
    font-weight: 700;
}

.severity-track {
    height: 10px;
    background: #1f2937;
    border-radius: 999px;
    overflow: hidden;
}

.severity-fill {
    height: 100%;
    border-radius: 999px;
}

.severity-fill.critical {
    background: #ef4444;
}

.severity-fill.high {
    background: #f97316;
}

.severity-fill.medium {
    background: #eab308;
}

.severity-fill.low {
    background: #22c55e;
}

.status-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.status-cell .custom-select {
    min-width: 150px;
}

.status-cell button {
    flex-shrink: 0;
}

#incidentsPage .panel {
    overflow-x: auto;
    max-width: 100%;
}

#incidentsPage table {
    width: max-content;
    min-width: 100%;
}

#incidentsPage th,
#incidentsPage td {
    white-space: nowrap;
}

.status-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 300px;
}

.content {
    min-width: 0;
    overflow-x: hidden;
}

.status-cell .custom-select {
    min-width: 110px;
}

.status-cell button {
    min-width: 60px;
    padding: 6px 10px;
}

#incidentsPage .panel {
    overflow-x: auto;
}

#incidentsPage table {
    min-width: 1250px;
    table-layout: fixed;
}

#incidentsPage th:nth-child(10),
#incidentsPage td:nth-child(10) {
    width: 160px;
    max-width: 160px;
}

#incidentsPage th:nth-child(11),
#incidentsPage td:nth-child(11) {
    width: 210px;
    min-width: 210px;
}

.status-cell {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.status-cell {
    min-width: 140px;
}

.status-cell .custom-select {
    width: 120px;
    min-width: 120px;
}

.status-cell .custom-select {
    width: 100px;
    min-width: 100px;
}

.status-cell .custom-select-btn {
    padding: 6px 8px;
    font-size: 12px;
}

.status-cell button {
    padding: 6px 8px;
    font-size: 12px;
    min-width: 52px;
}

td:nth-child(4) {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

td:nth-child(10) {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-cell {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.truncate-cell {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.truncate-detail {
    display: inline-block;
    max-width: 350px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
}

.status-select.open .custom-select-menu {
    position: fixed;
    width: 180px;
    z-index: 999999;
    overflow: visible !important;
}

.status-cell {
    position: relative;
    overflow: visible;
}

.status-select {
    width: 150px;
    position: relative;
}

.status-select .custom-select-menu {
    width: 150px;
    max-height: none;
    overflow: visible;
}

.status-select .custom-select-menu button {
    white-space: nowrap;
}

.status-cell {
    position: relative;
    overflow: visible;
}

.status-select {
    width: 150px;
}

.status-select .custom-select-menu {
    width: 150px;
    z-index: 99999;
}

.status-select .custom-select-menu {
    display: none;
}

.status-select .custom-select-menu button {
    display: block;
    width: 100%;
    text-align: left;
}

#toastContainer {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 999999;
}

.toast {
    background:
        linear-gradient(
            180deg,
            rgba(11,28,51,.98),
            rgba(7,20,38,.98)
        );

    color: white;

    padding: 14px 18px;
    border-radius: 14px;

    min-width: 320px;

    border: 1px solid rgba(96,165,250,.20);

    backdrop-filter: blur(14px);

    box-shadow:
        0 12px 40px rgba(0,0,0,.35);

    animation: toastSlideIn .25s ease;
}

.toast.success {
    border-left: 4px solid #22c55e;
}

.toast.error {
    border-left: 4px solid #ef4444;
}

.toast-title {
    font-weight: 700;
    margin-bottom: 4px;
}

.toast-message {
    font-size: 14px;
    opacity: .85;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(24px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#toastContainer {
    position: fixed;
    top: 24px;
    right: 24px;

    display: flex;
    flex-direction: column;
    gap: 10px;

    z-index: 999999;
}

.sidebar {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

nav {
    flex: 1;
}

.current-user {
    margin-top: auto;
    padding: 14px;
    font-size: 12px;
    color: #9bb8ff;
}

.user-label {
    opacity: 0.7;
    margin-bottom: 4px;
}

.user-email {
    color: white;
    font-weight: 600;
    word-break: break-all;
}

.user-role {
    display: inline-block;
    margin-top: 8px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(58,160,255,.15);
    color: #7fb7ff;
    font-weight: 700;
}

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.content {
    margin-left: 260px; /* gebruik hier jouw sidebar breedte */
    min-height: 100vh;
}

.current-user {
    margin-top: auto;
}

.logout-btn {
    margin-top: 12px;
    margin-bottom: 20px;
}