:root {
    --primary: #1E0BB8;
}


/* Algemene stijlen */
body {
    background-color: #F7F8FF;
    height: 100vh;
    margin: 0;
}

    body.login-page {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        background: linear-gradient(135deg, #140A6E 0%, #3300FF 45%, #F7F8FF 100%);
    }

    body.logout-page {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    body.sidebar-page {
        display: block;
    }

.card-header {
    background-color: var(--primary) !important;
    color: #ffffff !important;
}

.text-primary {
    color: var(--primary) !important;
}

/* Zorg ervoor dat alle knoppen een gelijke hoogte en padding hebben */
.btn {
    padding: 12px 20px; /* Zorg voor gelijke padding aan alle knoppen */
    display: flex;
    align-items: center; /* Zorg ervoor dat de iconen in het midden staan */
    justify-content: center; /* Centraal uitlijnen van de tekst/icoon */
    min-height: 48px; /* Zorg voor een minimale hoogte */
    width: auto; /* Zorg ervoor dat de knop niet te breed wordt */
    box-sizing: border-box; /* Zorg dat padding geen invloed heeft op de breedte */
}

/* Specifieke stijl voor gelijke hoogtes in de zoekvelden */
.input-group .btn,
.input-group .form-control,
.input-group .form-select,
.input-group .input-group-text {
    height: 48px;
    display: flex;
    align-items: center;
}

.btn-group .btn-outline-primary.active,
.btn-group .btn-outline-primary:checked,
.btn-check:checked + .btn-outline-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.btn-outline-primary:hover {
    background-color: rgba(30, 11, 184, 0.10);
}

/* Aanvullende stijlen voor de consistente hoogte */
.form-select {
    height: 48px !important;
    padding: 10px !important;
}
/* Zorgen dat de selectboxen dezelfde hoogte hebben als andere formulierelementen */
select.form-select {
    box-sizing: border-box;
    line-height: 1.5;
}
/* Specifieke styling voor de annuleren knop */
.btn-outline-secondary {
    min-height: 48px; /* Zorg ervoor dat de annuleren knop dezelfde minimale hoogte heeft */
}
/* Responsief gedrag voor knoppen op kleinere schermen */
@media (max-width: 768px) {
    .btn {
        padding: 10px 15px; /* Verminder padding op kleinere schermen voor een betere weergave */
        min-height: 40px; /* Verklein de hoogte van de knoppen op kleine schermen */
    }
}
/* Zorg dat alle knoppen binnen de BTN group dezelfde hoogte hebben als de overige knoppen */
.btn-group .btn {
    min-height: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Outline knop */
.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}
    /* Focus en actieve staten */
    .btn-outline-primary:focus,
    .btn-outline-primary:active,
    .btn-outline-primary.active {
        background-color: #0E5A9C;
        border-color: #0E5A9C;
        box-shadow: 0 0 0 0.25rem rgba(10, 66, 117, 0.25);
    }
/* Sidebar */
.sidebar {
    height: 100vh;
    width: 250px;
    position: fixed;
    background: #140A6E;
    padding-top: 20px;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.15);
}

    .sidebar a {
        color: #ffffff;
        text-decoration: none;
        padding: 15px;
        display: block;
        font-size: 18px;
        transition: background 0.3s ease;
    }

        .sidebar a:hover, .submenu a:hover {
            background: rgba(255, 255, 255, 0.1);
            color: #ffffff;
        }
        /* Alleen hoofdmenu-item markeren */
        .sidebar a.active {
            border-left: 4px solid #FFC60B;
            background: rgba(255, 198, 11, 0.12);
        }
/* Submenu */
.submenu {
    display: none;
    background: #1A0E86;
    padding-left: 20px;
}

    .submenu a {
        font-size: 16px;
        padding: 10px;
    }
/* Content */
.content {
    margin-left: 260px;
    padding: 20px;
}
/* Tabel */
.table thead {
    background: #007bff;
    color: #ffffff;
}
/* Hover-effect op tabelrijen */
.table tbody tr:hover {
    background: rgba(0, 123, 255, 0.15); /* Zachte blauwe highlight */
}
/* Submenu toggle */
.toggle-btn {
    cursor: pointer;
}
/* Login container */
.login-container {
    width: 100%;
    max-width: 420px;
}
/* Login kaart */
.login-card {
    background: #ffffff;
    padding: 32px 28px 28px 28px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    border-top: 4px solid #FFC60B; /* gele lijn uit logo */
}

/* Formulier stijlen */
.form-control {
    border-radius: 6px;
    padding: 10px;
}
/* Inlogknop */
.btn-primary {
    background-color: var(--primary) !important;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
}

    .btn-primary:hover {
        background-color: #260DDB;
    }
/* Wachtwoord vergeten link */
a {
    color: #0A4275;
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }
/* Dashboard Specifieke Aanpassingen - Begin */
/* Kaarten stijlen */
.card {
    margin-bottom: 20px;
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

    .card:hover {
        transform: translateY(-5px);
    }
/* Statistiek-kaarten */
.card-body .card-title {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.card-body .card-text {
    font-weight: bold;
    color: #333;
}
/* Tabel verbeteringen */
.table .badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
}
/* Snelle Acties knoppen */
.btn-primary, .btn-outline-primary {
    margin-bottom: 10px;
}
/* Responsiveness verbetering */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

    .content {
        margin-left: 0;
    }
}
/* Dashboard Specifieke Aanpassingen - Eind */
/* Specifieke CSS voor de gebruikersrechten pagina */
.user-role-card {
    transition: border 0.3s ease;
    cursor: pointer;
}

    .user-role-card.selected {
        border: 2px solid #0A4275;
        background-color: rgba(10, 66, 117, 0.05);
    }

    .user-role-card:hover:not(.selected) {
        border: 2px solid #0E5A9C;
    }

.role-icon {
    font-size: 2.5rem;
    color: #0A4275;
    margin-bottom: 15px;
}

.role-description {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 10px;
}

.submit-btn {
    min-width: 150px;
}

.form-label {
    font-weight: 500;
}

.email-display {
    font-size: 1.2rem;
    font-weight: 500;
    color: #0A4275;
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 6px;
}
/* Specifieke CSS voor de gebruikersrechten pagina - Eind*/
/* Stappen indicator stijl */
.step-indicator {
    display: flex;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

    .step-indicator::before {
        content: '';
        position: absolute;
        top: 27px;
        left: 0;
        right: 0;
        height: 2px;
        background: #e0e0e0;
        z-index: -1;
    }

.step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-circle {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: #696969;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: bold;
    font-size: 22px;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.step.active .step-circle {
    background-color: #0A4275;
    color: white;
    border-color: #0E5A9C;
    box-shadow: 0 0 0 5px rgba(10, 66, 117, 0.2);
}

.step.completed .step-circle {
    background-color: #28a745;
    color: white;
}

.step-title {
    font-size: 14px;
    color: #696969;
    margin-top: 5px;
    font-weight: 500;
}

.step.active .step-title {
    color: #0A4275;
    font-weight: 600;
}

.step.completed .step-title {
    color: #28a745;
}
/* Aanpassingen voor de verticale middenlijn */
.step-info {
    border-left: 3px solid #0A4275;
    padding-left: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
}
/* Badge voor aantal respondenten */
.respondent-count {
    font-size: 14px;
    background-color: #0A4275;
    color: white;
    border-radius: 20px;
    padding: 3px 10px;
    margin-left: 8px;
    display: inline-block;
}
/* Badge voor nieuwe respondenten */
.badge-new {
    font-size: 11px;
    background-color: #28a745;
    color: white;
    border-radius: 3px;
    padding: 2px 6px;
    margin-left: 6px;
    display: inline-block;
}
/* Checkbox styling */
.form-check-input:checked {
    background-color: #0A4275;
    border-color: #0A4275;
}
/* Tab styling */
.nav-tabs .nav-link {
    color: #495057;
    border: 1px solid #dee2e6;
    border-bottom: none;
    margin-right: 5px;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    padding: 10px 20px;
}

    .nav-tabs .nav-link.active {
        color: #0A4275;
        background-color: #fff;
        border-color: #dee2e6 #dee2e6 #fff;
        font-weight: 600;
    }

    .nav-tabs .nav-link:hover {
        border-color: #e9ecef #e9ecef #dee2e6;
        background-color: #f8f9fa;
    }
/* Action buttons styling */
.action-buttons {
    position: sticky;
    bottom: 0;
    background-color: #f8f9fa;
    padding: 15px;
    border-top: 1px solid #dee2e6;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
}
/* Styling alleen voor de tabs binnen card-header */
.card-header .nav-tabs .nav-link {
    color: white; /* Witte tekstkleur voor alle tabs binnen card-header */
    border-color: rgba(255, 255, 255, 0.4); /* Licht zichtbare borders */
}

    .card-header .nav-tabs .nav-link.active {
        color: var(--primary) !important; /* Donkerblauw (uit je huidige kleurenschema) voor actieve tab */
        background-color: white;
        border-bottom-color: white; /* Laat onderste rand wegvallen in de tab content */
        font-weight: 600;
    }

    .card-header .nav-tabs .nav-link:hover:not(.active) {
        background-color: var(--primary) !important;
        border-color: var(--primary) !important;
    }
    /* Badge binnen tabs */
    .card-header .nav-tabs .nav-link .badge {
        background-color: white !important;
        color: #0A4275 !important;
    }

    .card-header .nav-tabs .nav-link.active .badge {
        background-color: #0A4275 !important;
        color: white !important;
    }
/* Toegevoegde CSS voor selectie functionaliteit */
.table tbody tr.selected {
    background-color: rgba(10, 66, 117, 0.15);
}

.selected-count {
    font-weight: bold;
    color: #0A4275;
}

.sticky-header {
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 10;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.respondent-selection-container {
    max-height: 500px;
    overflow-y: auto;
    margin-bottom: 20px;
}
/* Nieuwe CSS voor branding functionaliteit */
.color-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.color-preview {
    width: 48px;
    height: 48px;
    border: 2px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

    .color-preview::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--preview-color, #ffffff);
    }

.color-input {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.color-text {
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 12px;
    font-family: monospace;
    text-transform: uppercase;
    width: 100px;
}

.logo-upload-area {
    border: 2px dashed #ddd;
    border-radius: 6px;
    padding: 40px 20px;
    text-align: center;
    background: #f8f9fa;
    transition: border-color 0.3s ease;
    cursor: pointer;
}

    .logo-upload-area:hover {
        border-color: #0A4275;
        background: #f0f7ff;
    }

    .logo-upload-area.drag-over {
        border-color: #0A4275;
        background: #e3f2ff;
    }

.logo-preview {
    max-width: 200px;
    max-height: 100px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
}

.logo-info {
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
}

.branding-preview {
    background: linear-gradient(135deg, var(--primary-color, #0A4275) 0%, var(--secondary-color, #0E5A9C) 100%);
    color: white;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
    margin-top: 15px;
}

.remove-logo-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(220, 53, 69, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
}

.logo-container {
    position: relative;
    display: inline-block;
}
/* Einde branding functionaliteit */
.tenant-header {
    display: flex;
    flex-direction: column;
    align-items: center; /* horizontaal centreren */
    gap: 12px;
    color: #fff;
    padding: 18px 16px 20px 16px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}



.tenant-meta {
    text-align: center;
}

.tenant-label {
    font-size: 12px;
    opacity: 0.9;
}

.tenant-name {
    font-size: 16px;
    font-weight: 600;
}

.subscription-pill {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.tenant-logo-wrapper {
    background-color: #F7F8FF;
    border-radius: 10px;
    padding: 10px 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.18);
    display: flex;
    justify-content: center;
    align-items: center;
}

.tenant-logo {
    height: 80px; /* requested */
    width: auto;
    object-fit: contain;
    display: block;
}

.login-brand {
    margin-bottom: 12px;
}

.login-logo-img {
    height: 80px; /* zoals je vroeg */
    width: auto;
    object-fit: contain;
    display: inline-block;
}

.login-subtitle {
    font-size: 0.95rem;
    color: rgba(20, 10, 110, 0.8); /* zachte verwijzing naar je primaire kleur */
    margin-bottom: 18px;
}

