/* ==========================
   Algemene Stijlen
========================== */
body {
    background: #f4f7f6;
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* ==========================
   Navbar
========================== */
.navbar {
    background: linear-gradient(135deg, #6f42c1, #4b2a99);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-radius: 0 0 15px 15px;
    padding: 0.75rem 1rem;
    color: #fff;
}
.navbar .nav-link {
    color: rgba(255,255,255,0.85);
    border-radius: 10px;
    transition: all 0.2s ease;
}
.navbar .nav-link:hover { background: rgba(255,255,255,0.1); color: #fff; }
.navbar .nav-link.active { background: rgba(255,255,255,0.2); color: #fff !important; backdrop-filter: blur(6px); }
.nav-disabled { opacity: 0.35; pointer-events: none; }
.badge-soft-danger { background-color: rgba(255, 255, 255, 0.2); color: #fff; font-weight: 600; }

/* ==========================
   Buttons
========================== */
.btn-modern, .btn-primary-custom {
    border-radius: 6px;
    padding-left: 14px;
    padding-right: 14px;
    font-weight: 600;
    transition: all 0.25s ease;
}

/* Primaire paars */
.btn-primary, .btn-primary-custom {
    background: linear-gradient(135deg, #6f42c1, #4b2a99);
    color: #fff;
    border: none;
    box-shadow: 0 5px 15px rgba(111,66,193,0.3);
}
.btn-primary:hover, .btn-primary-custom:hover {
    background: linear-gradient(135deg, #7f52d1, #5933aa);
    color: #fff; /* altijd wit */
    transform: translateY(-1px);
}

/* Witte actie-buttons (eye, pencil, trash) */
.btn-light {
    background: #fff;
    color: #6f42c1;
    border: 2px solid #6f42c1;
    font-weight: 600;
}
.btn-light:hover {
    background: #6f42c1;
    color: #fff;
    border-color: #5933aa;
    transform: translateY(-1px);
}

/* Actieknoppen paars */
.btn-action-purple {
    background: linear-gradient(135deg, #6f42c1, #4b2a99);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 6px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}
.btn-action-purple:hover {
    background: linear-gradient(135deg, #7f52d1, #5933aa);
    color: #fff;
    transform: translateY(-2px);
}

/* Trash knop rood */
.btn-action-danger {
    background: #dc3545;
    color: #fff;
    border: none;
}
.btn-action-danger:hover {
    background: #c82333;
    color: #fff;
    transform: translateY(-2px);
}

/* Verstuur knop paars */
.btn-primary-custom {
    border-radius: 6px;
    padding: 6px 14px;
    font-weight: 600;
}
.btn-primary-custom:hover {
    background: linear-gradient(135deg, #7f52d1, #5933aa);
    color: #fff; /* wit blijft leesbaar */
    transform: translateY(-1px);
}

/* ==========================
   Cards
========================== */
.main-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    background: #fdfdfd; /* subtiel wit */
    margin-bottom: 2rem;
    transition: all 0.3s;
}
.main-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* Card border links voor titel/plaats */
.card-title-border {
    border-left: 4px solid #6f42c1;
    border-radius: 0 6px 6px 0;
}

/* ==========================
   Tabellen
========================== */
.table thead th {
    background-color: #f8f9fa;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: #777;
    padding: 15px;
}
.table tbody td { vertical-align: middle; padding: 15px; }

/* ==========================
   Badges
========================== */
.badge-filter {
    background-color: #e9ecef;
    color: #6f42c1;
    font-weight: 500;
    margin-right: 4px;
    border-radius: 12px;
    padding: 4px 10px;
    font-size: 0.75rem;
}

/* ==========================
   Titels
========================== */
h1,h2,h3,h4,h5,h6,.fw-bold.text-primary {
    color: #6f42c1 !important;
}

/* ==========================
   Forms
========================== */
.form-label { font-weight: 600; font-size: 0.9rem; color: #555; }
.form-control, .form-select {
    border-radius: 10px;
    padding: 10px;
    border: 1px solid #dee2e6;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(111,66,193,0.05);
}
.form-control:focus, .form-select:focus {
    border-color: #6f42c1;
    box-shadow: 0 0 0 4px rgba(111,66,193,0.2);
}

/* ==========================
   Responsive Table
========================== */
@media (max-width: 768px) {
    .responsive-table thead { display: none; }
    .responsive-table tr {
        display: block;
        border-bottom: 5px solid #f4f7f6;
        padding: 15px 0;
        background: #fff;
        margin-bottom: 10px;
    }
    .responsive-table td {
        display: block;
        text-align: left !important;
        border: none;
        padding: 5px 20px !important;
    }
    .responsive-table td::before {
        content: attr(data-label);
        font-weight: bold;
        font-size: 0.7rem;
        color: #888;
        display: block;
        text-transform: uppercase;
    }
    .btn-group-mobile {
        display: flex;
        width: 100%;
        margin-top: 10px;
    }
    .btn-group-mobile .btn { flex: 1; margin-right: 5px; }
    .btn-group-mobile .btn:last-child { margin-right: 0; }
}