/* ---------- Thema-variabelen ---------- */
:root {
    --bg-main: #0e1117;
    --bg-sidebar: #161b22;
    --bg-hover: #21262d;
    --bg-active: #262c36;
    --bg-card: #1c2128;

    --border: #30363d;
    --text-primary: #e6edf3;
    --text-secondary: #8b949e;
    --accent: #6d4aff;

    /* Sidebar breedte */
    --sidebar-width: 260px;
}

/* ---------- Basis ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    display: flex;
    min-height: 100vh;
    background-color: var(--bg-main);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* ---------- SIDEBAR ---------- */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--bg-sidebar);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    padding: 20px;

    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1000;

    transition: transform 0.3s ease;
}

/* ---------- Navigatie (HIER WORDEN DE PUNTJES WEGGEHAALD) ---------- */
.nav-links {
    list-style: none; /* <-- Dit verwijdert de bullet points */
    padding: 0;       /* Verwijdert standaard browser-padding */
    margin: 0;        /* Verwijdert standaard browser-margin */

    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    text-decoration: none;
    color: var(--text-secondary);
    border-radius: 6px;
    font-size: 0.95rem;
    transition: background-color 0.2s, color 0.2s;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Hover effect */
.nav-item:hover {
    background-color: var(--bg-hover);
    color: var(--text-primary);
}

/* Actieve pagina */
.nav-item.active {
    background-color: var(--bg-active);
    color: var(--text-primary);
    font-weight: 600;
    border-left: 3px solid var(--accent);
}

.icon {
    margin-right: 12px;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);

    white-space: nowrap;
}

.sidebar-header-left {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-shrink: 1;
}

.sidebar-header-right {
    flex-shrink: 0;
    margin-left: 10px;
}

.sidebar-footer {
    margin-top: auto;
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding-top: 20px;
    border-top: 1px solid var(--border);
    white-space: nowrap;
}

/* ---------- Hoofdinhoud ---------- */
.main-content {
    margin-left: var(--sidebar-width);
    padding: 40px;
    width: calc(100% - var(--sidebar-width));
    min-height: 100vh;
}

h1 {
    color: var(--text-primary);
    margin-bottom: 20px;
}

p {
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.content-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.content-card h3 {
    color: var(--text-primary);
    margin-bottom: 10px;
}