/* ============================= */
/* 🎨 THEME */
/* ============================= */

:root {
    --accent: #dc307c;
    --bg: #1e1e2f;
    --card: rgba(255,255,255,0.04);
    --border: rgba(255,255,255,0.08);
    --text: #ffffff;
}

/* ============================= */
/* 📄 BASE */
/* ============================= */

html {
    font-size: 15px;
}

body {
    background: radial-gradient(circle at top left, #2c2c54, #1e1e2f);
    color: var(--text);
    margin: 0;
}

/* ============================= */
/* 🧱 LAYOUT */
/* ============================= */

.app-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 240px;
    background: rgba(255,255,255,0.04);
   /* backdrop-filter: blur(10px);*/
    padding: 20px;
    border-right: 1px solid var(--border);
}

    .sidebar a {
        display: block;
        padding: 10px;
        border-radius: 10px;
        color: #ccc;
        text-decoration: none;
        transition: 0.2s;
    }

        .sidebar a:hover,
        .sidebar a.active {
            background: rgba(255,255,255,0.08);
            color: white;
        }

.main-content {
    flex: 1;
    padding: 30px;
}

/* ============================= */
/* 🧊 CARDS */
/* ============================= */

.card-glass {
    background: var(--card);
    border-radius: 14px;
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    padding: 20px;
}

.child-card {
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 10px;
    margin-left: 20px;
    border-left: 3px solid var(--border);
}

/* ============================= */
/* 📊 ACCORDION */
/* ============================= */

.accordion-item {
    background: transparent;
    border: none;
    margin-bottom: 10px;
}

.accordion-button {
    background: rgba(255,255,255,0.05);
    color: white;
    border-radius: 10px !important;
    transition: 0.2s;
}

    .accordion-button:hover {
        transform: scale(1.01);
    }

    .accordion-button:not(.collapsed) {
        background: linear-gradient(90deg, var(--accent), #5e62b0);
    }

.accordion-body {
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    padding: 15px;
}

/* ============================= */
/* 🔘 BUTTONS */
/* ============================= */

.btn {
    border-radius: 10px;
    padding: 8px 14px;
    transition: 0.2s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #ff4fa3);
    border: none;
}

.btn-soft {
    background: rgba(255,255,255,0.08);
    color: white;
    border: none;
}

    .btn-soft:hover {
        background: rgba(255,255,255,0.15);
    }

/* ============================= */
/* 📝 FORMS */
/* ============================= */

.form-control,
.form-select {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    color: white;
}

    .form-control:focus,
    .form-select:focus {
        border-color: var(--accent);
        box-shadow: 0 0 0 2px rgba(220,48,124,0.25);
    }

.form-select {
    color: transparent;
}

/* dropdown fix */
.status-dropdown {
    background: #fff !important;
    color: #000 !important;
}

/* ============================= */
/* 📊 PROGRESS */
/* ============================= */

.progress-row {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.progress-bar {
    transition: width 0.4s ease;
    border-radius: 6px;
}

/* ============================= */
/* 📊 STATUS */
/* ============================= */

.status-1 {
    border-left: 4px solid #22c55e;
}

.status-2 {
    border-left: 4px solid #ef4444;
}

.status-3 {
    border-left: 4px solid #facc15;
}

.status-4 {
    border-left: 4px solid #9ca3af;
}

/* ============================= */
/* 🧾 TEXT */
/* ============================= */

.text-block {
    background: rgba(255,255,255,0.04);
    padding: 12px;
    border-radius: 10px;
    line-height: 1.5;
}

/* ============================= */
/* 📋 TABLE */
/* ============================= */

.table {
    background: rgba(255,255,255,0.05);
    color: white;
}

.table-hover tbody tr:hover {
    background: rgba(255,255,255,0.08);
}

/* ============================= */
/* 🎯 UTIL */
/* ============================= */

.clickable-row {
    cursor: pointer;
}

    .clickable-row:hover {
        background: rgba(255,255,255,0.08);
    }

.hero {
   /* position: center;*/
    width: 100%;
    height: 70vh;
    /*min-height: 900px;*/
    object-fit: cover;
    object-position: center;
    background: url('/images/designer.png') center / cover no-repeat;
    /*background-size: cover;*/
    background-position: center top;
    border-radius: 12px;
    margin-bottom: 30px;
}
.hero {
    overflow: hidden; /* 🔥 voorkomt rand artifacts */
}
.hero {
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

footer {
    background: transparent;
}

footer {
    border-top: none;
    background: transparent;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    max-width: 700px;
    padding: 0 20px;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    text-align: center;
    width: 100%;
    max-width: 700px;
    padding: 0 20px;
}

.hero {
    position: relative;
}

.status-dropdown[value="1"] {
    border-left: 4px solid #22c55e;
}

.status-dropdown[value="2"] {
    border-left: 4px solid #ef4444;
}

.status-dropdown[value="3"] {
    border-left: 4px solid #facc15;
}

.status-dropdown[value="4"] {
    border-left: 4px solid #9ca3af;
}

.accordion-button,
.accordion-button * {
    color: #ffffff !important;
}

.accordion-button.collapsed {
    color: rgba(255,255,255,0.9) !important;
}

    .accordion-button,
    .accordion-button * {
        color: #ffffff !important;
    }
    .accordion-button:not(.collapsed),
    .accordion-button:not(.collapsed) * {
        color: #ffffff !important;
    }

.btn-sm {
    padding: 4px 10px;
    font-size: 0.8rem;
}
.btn-icon {
    opacity: 0.7;
}

    .btn-icon:hover {
        opacity: 1;
    }

.accordion-body > div {
    background: rgba(255,255,255,0.06);
    padding: 14px 18px;
    border-radius: 10px;
    color: rgba(255,255,255,0.92);
}

.form-label {
    font-weight: 600;
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 4px;
}

.form-control,
.form-select {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
}
.label {
    font-size: 0.75rem;
    opacity: 0.6;
    margin-bottom: 4px;
}

.value {
    background: rgba(255,255,255,0.04);
    padding: 8px 10px;
    border-radius: 8px;
}
.btn-danger {
    background: linear-gradient(135deg, #dc3545, #ff6b6b);
    box-shadow: 0 5px 15px rgba(220,53,69,0.3);
}

.table {
    background: transparent;
    color: white;
}

    .table tbody tr {
        transition: 0.2s;
    }

        .table tbody tr:hover {
            background: rgba(255,255,255,0.05);
        }


.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.progress {
    background: rgba(255,255,255,0.06);
}
.card-glass {
    padding: 18px;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .card-glass:hover {
        transform: translateY(-3px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    }



    .card-glass .text-uppercase {
        color: rgba(255,255,255,0.85);
        letter-spacing: 0.5px;
    }
.card-glass .text-muted {
    color: rgba(255,255,255,0.75) !important;
}
.hero-content h1,
.hero-content p {
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.hero-overlay {
    background: rgba(0,0,0,0.55); /* was 0.5 */
}

.hero-content {
    background: rgba(0,0,0,0.45); /* was ~0.35 */
    padding: 20px 30px;
    border-radius: 12px;
    backdrop-filter: blur(4px); /* was 6px+ */
    display: inline-block;
}

    .hero-content h1 {
        font-size: 2.2rem;
        font-weight: 700;
        letter-spacing: 0.5px;
    }

.hero-content {
    max-width: 600px;
    margin: 0 auto;
}

    .hero-content .btn {
        box-shadow: 0 8px 20px rgba(220,48,124,0.4);
    }

    .hero-content .btn-primary {
        padding: 12px 28px;
        font-size: 1.1rem;
    }
.hero-content {
    max-width: 520px;
    padding: 18px 24px;
}
    .hero-content p {
        opacity: 0.9;
    }

    .hero-content .btn-primary {
        padding: 12px 30px;
        font-size: 1.1rem;
        box-shadow: 0 10px 25px rgba(220,48,124,0.4);
    }

.card-glass {
    transition: 0.2s ease;
}

    .card-glass:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    }

.table tbody tr:nth-child(even) {
    background-color: rgba(255,255,255,0.03);
}
body {
    color: #fff;
}

.form-select {
    background-color: #1e1e1e;
    color: #fff;
    border: 1px solid #444;
}
.article-text {
    color: #d1d5db; /* zachte wit/grijs */
    font-size: 0.9rem;
    line-height: 1.4;
}

.opmerking-text {
    color: #cbd5f5;
    font-size: 0.85rem;
    margin-top: 4px;
}

.hero-gradient {
    background: linear-gradient(135deg, #1e293b, #0f172a);
}

.card-glass {
    background: rgba(30, 41, 59, 0.6);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.2s ease;
}

    .card-glass:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }

.btn-soft {
    background: rgba(255,255,255,0.05);
    color: white;
    border: 1px solid rgba(255,255,255,0.1);
}

    .btn-soft:hover {
        background: rgba(255,255,255,0.1);
    }

.input-dark {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
}

    .input-dark:focus {
        background: rgba(255,255,255,0.08);
        border-color: #6366f1;
        box-shadow: 0 0 0 2px rgba(99,102,241,0.2);
        color: white;
    }

    .input-dark::placeholder {
        color: #aaa;
    }

.fade-in {
    animation: fadeIn 0.6s ease forwards;
    opacity: 0;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }

    from {
        opacity: 0;
        transform: translateY(20px);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }


.badge-admin {
    background: linear-gradient(...);
}

.sidebar {
    height: 100vh;
    overflow-y: auto;
}


.sidebar {
    width: 260px;
    min-height: 100vh;
    background: linear-gradient(180deg,#1d2340,#2d2355);
    border-right: 1px solid rgba(255,255,255,.05);
}

    .sidebar .nav-link {
        color: #cfd3ff;
        border-radius: 12px;
        margin-bottom: 6px;
    }

        .sidebar .nav-link:hover {
            background: rgba(255,255,255,.08);
            color: white;
        }

        .sidebar .nav-link.active {
            background: linear-gradient(90deg,#ff4fa3,#7b61ff);
            color: white;
            font-weight: 600;
        }

main {
    padding: 40px;
}
.card-glass {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 20px;
    backdrop-filter: blur(14px);
}

.card-glass {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    transition: .2s ease;
}

    .card-glass:hover {
        transform: translateY(-2px);
        border-color: rgba(255,255,255,.12);
    }

.stats-number {
    font-size: 2.2rem;
    font-weight: 700;
}

.stats-number {
    font-size: 2.2rem;
    font-weight: 700;
}

.table {
    color: white;
}

    .table thead th {
        border-color: rgba(255,255,255,.08);
        color: rgba(255,255,255,.6);
        font-size: .85rem;
    }

    .table td {
        border-color: rgba(255,255,255,.05);
    }

.table-dark {
    --bs-table-bg: transparent;
    --bs-table-striped-bg: transparent;
    --bs-table-hover-bg: rgba(255,255,255,.03);
    color: white;
}

    .table-dark td,
    .table-dark th {
        border-color: rgba(255,255,255,.05);
    }

.table-dark {
    --bs-table-bg: transparent;
    --bs-table-striped-bg: transparent;
    --bs-table-hover-bg: rgba(255,255,255,.03);
    color: white;
}

    .table-dark th {
        color: rgba(255,255,255,.6);
        font-size: .85rem;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .table-dark td {
        border-bottom: 1px solid rgba(255,255,255,.05);
    }
    .table-dark tbody tr:hover {
        background: rgba(255,255,255,.03);
    }

.sidebar .nav-link.active {
    background: linear-gradient(90deg,#ff4fa3,#7b61ff);
    color: white;
}

.card-glass:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,.12);
}

.sidebar .nav-link {
    color: #cfd3ff;
    border-radius: 12px;
    padding: 10px 14px;
    transition: .2s ease;
}

    .sidebar .nav-link:hover {
        background: rgba(255,255,255,.05);
        color: white;
    }

    .sidebar .nav-link.active {
        background: linear-gradient(90deg,#ff4fa3,#7b61ff);
        color: white;
        font-weight: 600;
        box-shadow: 0 0 20px rgba(255,79,163,.25);
    }

.table tbody tr {
    transition: .2s ease;
}

    .table tbody tr:hover {
        background: rgba(255,255,255,.03);
    }

.badge {
    min-width: 70px;
}
.chapter-header {
    padding: 15px 20px;
    margin: 15px 0;
    border-radius: 18px;
}

.ai-result {
    white-space: pre-wrap;
    word-break: break-word;
}

.custom-tooltip {
    --bs-tooltip-bg: var(--bd-violet-bg);
    --bs-tooltip-color: var(--bs-white);
}

#aiAdvice {
    white-space: pre-wrap;
}



