.cc-event-status-gepland {
    background: #4699cc;
    color: #ffffff;
}

.cc-event-status-startgarantie {
    background: #ecc24e;
    color: #153464;
}

.cc-event-status-geannuleerd {
    background: #d9534f;
    color: #ffffff;
}

.cc-event-status-afgerond {
    background: #8b98a8;
    color: #ffffff;
}
       

/* =====================================================
 * CURSUS COMPLEET KLEUREN
 * ===================================================== */

.cc-course-wizard {

    --cc-primary: #4699cc;
    --cc-primary-dark: #153464;
    --cc-yellow: #ecc24e;

    --cc-dark: #153464;
    --cc-text: #46566b;
    --cc-muted: #718096;

    --cc-border: #dfe6ed;
    --cc-bg: #f6f9fb;
    --cc-white: #ffffff;

}

/* =====================================================
 * ORIGINELE SELECTS VOLLEDIG VERBERGEN
 * ===================================================== */

.cc-course-wizard
select[name="course_category"],
.cc-course-wizard
select[name="course_id"],
.cc-course-wizard
select[name="course_event"] {

    display: none !important;

    visibility: hidden !important;

    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    opacity: 0 !important;

    pointer-events: none !important;

}/* =========================================================
   CURSUSDATUM PICKER
   ========================================================= */

.cc-course-picker {
    position: relative !important;
    z-index: 50 !important;
}


/* De knop */
.cc-event-select {
    position: relative !important;
    z-index: 51 !important;
}


/* =========================================================
   DROPDOWN
   ========================================================= */

.cc-event-dropdown {
    position: absolute !important;

    top: calc(100% + 8px);
    left: 15%;
    right: 0;

    z-index: 9999 !important;

    padding: 8px;

    background: #f5f8fb;

    border: 1px solid #dfe7ef;
    border-radius: 14px;

    box-shadow:
        0 12px 35px rgba(21, 52, 100, .18);

    box-sizing: border-box;
	width: 75%

    /*
     * BELANGRIJK:
     * geen display/visibility/opacity hier.
     * Je bestaande JavaScript bepaalt open/dicht.
     */
	
}


/* =========================================================
   FLUENTFORM STACKING
   ========================================================= */

/*
 * Het cursusdatumveld komt boven de velden eronder
 */
.ff-el-group:has(.cc-course-picker) {
    position: relative !important;
    z-index: 100 !important;
}


/*
 * De velden na cursusdatum komen lager te liggen.
 */
.ff-el-group:has(.cc-course-picker) ~ .ff-el-group {
    position: relative !important;
    z-index: 1 !important;
}


/*
 * De navigatie van FluentForm komt nog lager.
 */
.ff-el-group:has(.cc-course-picker) ~ .step-nav {
    position: relative !important;
    z-index: 1 !important;
}


/* =========================================================
   KAARTJES
   ========================================================= */

.cc-event-option {
    position: relative !important;

    display: flex;
    align-items: center;

    width: 100%;

    margin: 0 0 8px 0;
    padding: 16px 18px;

    box-sizing: border-box;

    border: 1px solid #e1e8ef;
    border-radius: 14px;

    background: #fff;

    color: #153464;

    text-align: left;
    cursor: pointer;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.cc-event-option:last-child {
    margin-bottom: 0;
}

.cc-event-option:hover {
    border-color: #4699cc;

    box-shadow:
        0 5px 18px rgba(21, 52, 100, .10);

    transform: translateY(-1px);
}

.cc-event-option.is-selected {
    border-color: #4699cc;

    box-shadow:
        0 0 0 2px rgba(70, 153, 204, .15);
}


/* =====================================================
 * CATEGORIE HEADER
 *
 * Titel links
 * Alfabet gecentreerd
 * ===================================================== */

.cc-category-header {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    margin-bottom: 16px;

    text-align: center;

}


/* =====================================================
 * LABEL CURSUSCATEGORIE
 * ===================================================== */

.cc-course-category-label {

    display: block;

    margin: 0 0 12px;

    color: #153464;

    font-size: 17px;

    line-height: 1.4;

    font-weight: 700;

}


/* =====================================================
 * ALFABET
 * ===================================================== */

.cc-category-alphabet {

    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 6px;

    width: 100%;

    margin-bottom: 18px;

}


/* =====================================================
 * ALFABET KNOP
 * ===================================================== */

.cc-category-letter {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 32px;

    height: 32px;

    padding: 0;

    border: 1px solid #d7e0e8;

    border-radius: 8px;

    background: #ffffff;

    color: #153464;

    font-size: 13px;

    line-height: 1;

    font-weight: 700;

    cursor: pointer;

    transition:
        background .18s ease,
        color .18s ease,
        border-color .18s ease,
        transform .18s ease,
        box-shadow .18s ease;

}


.cc-category-letter:hover {

    border-color: #4699cc;

    background: #f2f9fc;

    color: #4699cc;

    transform: translateY(-1px);

}


/* =====================================================
 * ACTIEVE LETTER
 * ===================================================== */

.cc-category-letter.is-active {

    border-color: #4699cc;

    background: #4699cc;

    color: #ffffff;

    box-shadow:
        0 4px 10px rgba(70, 153, 204, .22);

}


/* =====================================================
 * "ALLE"
 * ===================================================== */

.cc-category-letter[data-letter="all"] {

    width: auto;

    min-width: 44px;

    padding: 0 10px;

}


/* =====================================================
 * THEMA GRID
 * ===================================================== */

.cc-category-picker {

    display: grid;

    grid-template-columns:
        repeat(6, minmax(0, 1fr));

    gap: 14px;

}
/* =========================================================
   CURSUS COMPLEET
   STAP 4 - INCOMPANY VRAGEN
   ========================================================= */

/*
 * Algemene groepen in een actieve stap
 */
.fluentform-step.active .ff-el-group {
    margin-bottom: 20px !important;
}


/* Label */
.fluentform-step.active .ff-el-group > .ff-el-input--label label,
.fluentform-step.active .ff-el-group > label {
    display: block !important;

    margin-bottom: 8px !important;

    color: #153464 !important;

    font-size: 15px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
}


/* Input / select / textarea */
.fluentform-step.active
input:not([type="radio"]):not([type="checkbox"]),
.fluentform-step.active
select,
.fluentform-step.active
textarea {
    width: 100% !important;

    min-height: 52px !important;

    padding: 13px 15px !important;

    box-sizing: border-box !important;

    border: 1px solid #d9e2ea !important;
    border-radius: 12px !important;

    background: #ffffff !important;

    color: #153464 !important;

    font-size: 15px !important;

    box-shadow:
        0 2px 6px rgba(21, 52, 100, .03) !important;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease !important;
}


/* Focus */
.fluentform-step.active
input:not([type="radio"]):not([type="checkbox"]):focus,
.fluentform-step.active
select:focus,
.fluentform-step.active
textarea:focus {

    border-color: #4699cc !important;

    background: #ffffff !important;

    outline: none !important;

    box-shadow:
        0 0 0 3px rgba(70, 153, 204, .13) !important;
}


/* Tekstvelden groter */
.fluentform-step.active textarea {
    min-height: 120px !important;

    resize: vertical !important;
}


/* Placeholder */
.fluentform-step.active input::placeholder,
.fluentform-step.active textarea::placeholder {
    color: #9aa9b8 !important;
}


/* Helptekst */
.fluentform-step.active .ff-el-help-message {
    margin-top: 6px !important;

    color: #718096 !important;

    font-size: 12px !important;
    line-height: 1.45 !important;
}


/* ---------------------------------------------------------
   VELDGROEP ALS PROFESSIONELE KAART
   --------------------------------------------------------- */

.fluentform-step.active .cc-incompany-field {
    padding: 18px !important;

    border: 1px solid #e2e9ef !important;

    border-radius: 14px !important;

    background: #f8fafc !important;
}


/* ---------------------------------------------------------
   MOBIEL
   --------------------------------------------------------- */

@media (max-width: 700px) {

    .fluentform-step.active .ff-el-group {
        margin-bottom: 16px !important;
    }

    .fluentform-step.active
    input:not([type="radio"]):not([type="checkbox"]),
    .fluentform-step.active
    select,
    .fluentform-step.active
    textarea {

        min-height: 50px !important;

        font-size: 16px !important;
    }

}

/* =====================================================
 * CURSUS GRID
 * ===================================================== */

.cc-course-picker-grid {

    display: grid;

    grid-template-columns:
        repeat(1, minmax(0, 1fr));

    gap: 16px;

}


/* =====================================================
 * ALGEMENE KAART
 * ===================================================== */

.cc-picker-card {

    position: relative;

    display: flex;

    align-items: center;

    width: 100%;

    min-height: 84px;

    padding: 10px;

    border: 1px solid #dfe6ed;

    border-radius: 15px;

    background: #ffffff;

    cursor: pointer;

    text-align: left;

    box-sizing: border-box;

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;

}


.cc-picker-card:hover {

    transform: translateY(-2px);

    border-color: #4699cc;

    box-shadow:
        0 8px 24px rgba(21, 52, 100, .10);

}


.cc-picker-card.is-selected {

    border-color: #4699cc;

    background: #f5fbfe;

    box-shadow:
        0 0 0 2px rgba(70, 153, 204, .12);

}


/* =====================================================
 * AFBEELDING
 * ===================================================== */

.cc-picker-image {

    flex: 0 0 68px;

    width: 68px;

    height: 68px;

    margin-right: 13px;

    border-radius: 11px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #eef4f8,
            #dfeaf1
        );

}


.cc-picker-image img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

}


/* =====================================================
 * FALLBACK ICON
 * ===================================================== */

.cc-picker-image-placeholder {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    height: 100%;

    color: #4699cc;

    font-size: 25px;

}


/* =====================================================
 * TEKST
 * ===================================================== */

.cc-picker-content {

    min-width: 0;

    padding-right: 25px;

}


.cc-picker-title {

    display: block;

    color: #153464;

    font-size: 16px;

    line-height: 1.3;

    font-weight: 700;

}


.cc-picker-subtitle {

    display: block;

    margin-top: 4px;

    color: #718096;

    font-size: 13px;

    line-height: 1.3;

}


/* =====================================================
 * CHECKMARK
 * ===================================================== */

.cc-picker-check {

    position: absolute;

    top: 10px;

    right: 10px;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 22px;

    height: 22px;

    border-radius: 50%;

    background: #4699cc;

    color: #ffffff;

    font-size: 12px;

    font-weight: 700;

    opacity: 0;

    transform: scale(.7);

    transition:
        opacity .2s ease,
        transform .2s ease;

}


.cc-picker-card.is-selected
.cc-picker-check {

    opacity: 1;

    transform: scale(1);

}


/* =====================================================
 * THEMAKAARTEN
 * ===================================================== */

.cc-category-picker
.cc-picker-card {

    display: block;

    padding: 0;

    min-height: 0;

    overflow: hidden;

}


/* =====================================================
 * THEMA AFBEELDING
 * ===================================================== */

.cc-category-picker
.cc-picker-image {

    width: 100%;

    height: 82px;

    margin: 0;

    border-radius: 0;

}


/* =====================================================
 * THEMA TEKST
 * ===================================================== */

.cc-category-picker
.cc-picker-content {

    padding: 10px 11px 12px;

}


.cc-category-picker
.cc-picker-title {

    font-size: 14px;

    line-height: 1.3;

}


.cc-category-picker
.cc-picker-subtitle {

    display: none;

}

/* =========================================================
   OPTIES
   ========================================================= */

.cc-event-option {
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;

    padding: 14px 16px;

    border: 0;
    background: #fff;

    text-align: left;
    cursor: pointer;
}
/* =========================================================
   CURSUSDATA KAARTJES
   ========================================================= */

.cc-event-dropdown {
    padding: 8px;
    background: #f5f8fb;
}


/* Kaart */

.cc-event-option {
    position: relative;

    display: flex;
    align-items: center;

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

    margin: 0 0 8px 0;
    padding: 16px 18px;

    border: 1px solid #e1e8ef;
    border-radius: 14px;

    background: #ffffff;

    color: #153464;

    text-align: left;

    cursor: pointer;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.cc-event-option:last-child {
    margin-bottom: 0;
}


/* Hover */

.cc-event-option:hover {
    border-color: #4699cc;

    box-shadow:
        0 5px 18px rgba(21, 52, 100, .10);

    transform: translateY(-1px);
}


/* Geselecteerd */

.cc-event-option.is-selected {
    border-color: #4699cc;

    box-shadow:
        0 0 0 2px rgba(70, 153, 204, .15);
}


/* Linkerkant */

.cc-event-card-main {
    flex: 1;

    display: flex;
    flex-direction: column;

    gap: 5px;

    min-width: 0;
}


/* Datum */

.cc-event-card-date {
    display: flex;
    align-items: center;

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

    color: #153464;
}


/* Kalender */

.cc-event-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    min-width: 30px;

    margin-right: 8px;

    font-size: 18px;
}


/* Locatie */

.cc-event-card-location {
    display: flex;
    align-items: center;

    padding-left: 38px;

    font-size: 14px;
    font-weight: 500;

    color: #66788a;
}

.cc-event-location-icon {
    margin-right: 5px;
}


/* Rechter informatie */

.cc-event-card-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;

    gap: 6px;

    margin-left: 15px;

    white-space: nowrap;
}


/* Status */

.cc-event-status {
    display: inline-flex;
    align-items: center;

    padding: 5px 9px;

    border-radius: 20px;

    background: #4699cc;

    color: #ffffff;

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

    text-transform: uppercase;
    letter-spacing: .3px;
}


/* Startgarantie */

.cc-event-status-startgarantie {
    background: #ecc24e;
    color: #153464;
}


/* Gepland */

.cc-event-status-gepland {
    background: #4699cc;
    color: #ffffff;
}


/* Plekken */

.cc-event-spots {
    font-size: 12px;
    font-weight: 600;

    color: #153464;
}

.cc-event-spots-low {
    color: #d38a00;
}

.cc-event-spots-full {
    color: #c0392b;
}


/* Pijltje */

.cc-event-card-arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    min-width: 30px;

    margin-left: 12px;

    color: #4699cc;

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

    transition: transform .2s ease;
}

.cc-event-option:hover .cc-event-card-arrow {
    transform: translateX(3px);
}

.cc-event-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    min-width: 28px;
    margin-right: 10px;
}

.cc-event-icon img {
    width: 18px !important;
    height: 18px !important;
}
.fluentform-step.active {
    height: 800px !important;
    min-height: 0 !important;
    width: 100%;
}
/* =====================================================
 * MODAL GROTER
 * ===================================================== */

.fluentform_modal,
.ff_modal,
.fluentform-modal,
.ff-modal {

    width:
        min(960px, calc(100vw - 40px)) !important;

    max-width: 960px !important;

}


.fluentform_modal .modal-content,
.ff_modal .modal-content,
.fluentform-modal .modal-content,
.ff-modal .modal-content {

    min-height: 680px;

}


/* =====================================================
 * RESPONSIVE
 * ===================================================== */

@media (max-width: 1200px) {

    .cc-category-picker {

        grid-template-columns:
            repeat(4, minmax(0, 1fr));

    }

}


@media (max-width: 900px) {

    .cc-category-picker {

        grid-template-columns:
            repeat(3, minmax(0, 1fr));

    }

}


/* =========================================================
   CURSUS COMPLEET - MODAL FIX MOBIEL
   VOLLEDIG SCHERM / GEEN POPUP ONDERAAN
   ========================================================= */

@media (max-width: 700px) {

    /* ---------------------------------------------------------
       MODAL
       --------------------------------------------------------- */

    .fluentform_modal,
    .ff_modal,
    .fluentform-modal,
    .ff-modal {
        position: fixed !important;

        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;

        inset: 0 !important;

        width: 100vw !important;
        max-width: 100vw !important;

        height: 100dvh !important;
        max-height: 100dvh !important;
        min-height: 100dvh !important;

        margin: 0 !important;
        padding: 0 !important;

        display: flex !important;

        align-items: stretch !important;
        justify-content: stretch !important;

        overflow: hidden !important;

        transform: none !important;
    }


    /* ---------------------------------------------------------
       MODAL CONTENT
       --------------------------------------------------------- */

    .fluentform_modal .modal-content,
    .ff_modal .modal-content,
    .fluentform-modal .modal-content,
    .ff-modal .modal-content {

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

        height: 100dvh !important;
        min-height: 100dvh !important;
        max-height: 100dvh !important;

        margin: 0 !important;

        border-radius: 0 !important;

        overflow: hidden !important;

        display: flex !important;
        flex-direction: column !important;

        transform: none !important;
    }


    /* ---------------------------------------------------------
       MODAL BODY
       Alleen de inhoud scrollt
       --------------------------------------------------------- */

    .fluentform_modal .modal-body,
    .ff_modal .modal-body,
    .fluentform-modal .modal-body,
    .ff-modal .modal-body {

        flex: 1 1 auto !important;

        width: 100% !important;

        min-height: 0 !important;

        max-height: none !important;

        overflow-y: auto !important;
        overflow-x: hidden !important;

        -webkit-overflow-scrolling: touch !important;

        box-sizing: border-box !important;

        padding:
            16px
            16px
            110px
            16px !important;
    }


    /* ---------------------------------------------------------
       FLUENTFORM STAPPEN
       Geen vaste hoogte meer
       --------------------------------------------------------- */

    .fluentform-step,
    .fluentform-step.active {

        width: 100% !important;

        height: 800px !important;

        min-height: 0 !important;

        max-height: none !important;

        margin: 0 !important;

        box-sizing: border-box !important;
    }


    /* ---------------------------------------------------------
       NAVIGATIE ONDERAAN
       --------------------------------------------------------- */

    .fluentform_modal .step-nav,
    .ff_modal .step-nav,
    .fluentform-modal .step-nav,
    .ff-modal .step-nav {

        flex-shrink: 0 !important;

        position: relative !important;

        bottom: auto !important;
        left: auto !important;

        width: 100% !important;

        min-height: 72px !important;

        box-sizing: border-box !important;

        padding:
            12px
            16px
            max(16px, env(safe-area-inset-bottom))
            16px !important;

        background: #ffffff !important;

        border-top: 1px solid #e5ebf0 !important;

        z-index: 200 !important;
    }


    /* ---------------------------------------------------------
       KNOPPEN VOLLEDIG BEREIKBAAR
       --------------------------------------------------------- */

    .fluentform_modal .step-nav button,
    .ff_modal .step-nav button,
    .fluentform-modal .step-nav button,
    .ff-modal .step-nav button {

        min-height: 48px !important;

        margin-top: 0 !important;
    }


    /* ---------------------------------------------------------
       FORMULIER BINNEN DE MODAL
       --------------------------------------------------------- */

    .fluentform_modal form,
    .ff_modal form,
    .fluentform-modal form,
    .ff-modal form {

        width: 100% !important;

        max-width: 100% !important;

        box-sizing: border-box !important;
    }


    /* ---------------------------------------------------------
       BREEDTE FORMULIERVELDEN
       --------------------------------------------------------- */

    .fluentform_modal .ff-el-group,
    .ff_modal .ff-el-group,
    .fluentform-modal .ff-el-group,
    .ff-modal .ff-el-group {

        max-width: 100% !important;

        box-sizing: border-box !important;
    }
}


/* =========================================================
   EXTRA KLEINE TELEFOONS
   ========================================================= */

@media (max-width: 480px) {

    .fluentform_modal,
    .ff_modal,
    .fluentform-modal,
    .ff-modal {

        width: 100vw !important;
        max-width: 100vw !important;

        height: 100dvh !important;
        min-height: 100dvh !important;
        max-height: 100dvh !important;

        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;

        margin: 0 !important;
    }


    .fluentform_modal .modal-content,
    .ff_modal .modal-content,
    .fluentform-modal .modal-content,
    .ff-modal .modal-content {

        width: 100vw !important;

        height: 100dvh !important;
        min-height: 100dvh !important;

        border-radius: 0 !important;
    }


    .fluentform_modal .modal-body,
    .ff_modal .modal-body,
    .fluentform-modal .modal-body,
    .ff-modal .modal-body {

        padding-left: 14px !important;
        padding-right: 14px !important;

        padding-bottom: 110px !important;
    }
}
/* =========================================================
   CURSUS COMPLEET
   LEERVORM KAARTEN
   3 KOLOMMEN
   ========================================================= */

.cc-course-type-option {
    position: relative !important;

    display: flex !important;
    align-items: stretch !important;

    width: 100% !important;
    min-width: 0 !important;
    min-height: 130px !important;

    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box !important;

    border: 2px solid #dfe6ed !important;
    border-radius: 16px !important;

    background: #ffffff !important;

    overflow: hidden !important;

    cursor: pointer !important;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease,
        background .2s ease;
}


/* =========================================================
   HOVER
   ========================================================= */

.cc-course-type-option:hover {
    border-color: #4699cc !important;

    box-shadow:
        0 8px 24px rgba(21, 52, 100, .11) !important;

    transform: translateY(-2px);
}


/* =========================================================
   GESELECTEERD
   ========================================================= */

.cc-course-type-option:has(input:checked) {
    border-color: #4699cc !important;

    background: #f5fbfe !important;

    box-shadow:
        0 0 0 2px rgba(70, 153, 204, .14),
        0 8px 24px rgba(21, 52, 100, .08) !important;
}


/* =========================================================
   RADIO VERBERGEN
   ========================================================= */

.cc-course-type-option input[type="radio"] {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    margin: 0 !important;

    opacity: 0 !important;

    pointer-events: none !important;
}


/* =========================================================
   LABEL
   ========================================================= */

.cc-course-type-option label {
    position: relative !important;

    display: flex !important;

    flex-direction: column !important;

    align-items: flex-start !important;

    justify-content: center !important;

    width: 100% !important;
    min-height: 130px !important;

    margin: 0 !important;

    padding:
        20px
        20px
        20px
        76px !important;

    box-sizing: border-box !important;

    color: #153464 !important;

    font-size: 17px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;

    cursor: pointer !important;
}


/* =========================================================
   ICOON LINKS
   ========================================================= */

.cc-course-type-option label::before {
    content: "✓";

    position: absolute;

    left: 20px;
    top: 50%;

    transform: translateY(-50%);

    display: flex;

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

    width: 42px;
    height: 42px;

    border-radius: 12px;

    background: #eef7fb;

    color: #4699cc;

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

    transition:
        background .2s ease,
        color .2s ease;
}


/* =========================================================
   GESELECTEERD ICOON
   ========================================================= */

.cc-course-type-option:has(input:checked) label::before {
    background: #4699cc;

    color: #ffffff;
}


/* =========================================================
   CHECKMARK RECHTSBOVEN
   ========================================================= */

.cc-course-type-option label::after {
    content: "✓";

    position: absolute;

    top: 10px;
    right: 10px;

    display: flex;

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

    width: 22px;
    height: 22px;

    border-radius: 50%;

    background: #4699cc;

    color: #ffffff;

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

    opacity: 0;

    transform: scale(.7);

    transition:
        opacity .2s ease,
        transform .2s ease;
}


.cc-course-type-option:has(input:checked) label::after {
    opacity: 1;

    transform: scale(1);
}

/* =========================================================
   LEERVORM TOOLTIP
   ========================================================= */

.cc-course-type-tooltip {
    position: absolute !important;

    top: 12px;
    left: 50%;

    display: inline-flex !important;
    align-items: center;

    transform: translateX(-50%);

    z-index: 20;

    white-space: nowrap;

    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1 !important;

    color: #153464 !important;
}


/* Icoon */

.cc-course-type-tooltip-icon {
    display: flex !important;

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

    width: 18px;
    height: 18px;

    border-radius: 50%;

    background: #eef7fb;
    color: #4699cc;

    font-size: 11px !important;
    font-weight: 800 !important;

    cursor: help;

    transition:
        background .2s ease,
        color .2s ease;
}


/* Tooltip */

.cc-course-type-tooltip-text {
    position: absolute;

    left: 50%;
    bottom: calc(100% + 8px);

    transform:
        translateX(-50%)
        translateY(4px);

    width: max-content;
    max-width: 360px;

    padding: 8px 11px;

    border-radius: 8px;

    background: #153464;
    color: #ffffff;

    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;

    white-space: nowrap;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transition:
        opacity .18s ease,
        transform .18s ease,
        visibility .18s ease;

    box-shadow:
        0 6px 18px rgba(21,52,100,.18);
}


/* Klein pijltje */

.cc-course-type-tooltip-text::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: -5px;

    transform: translateX(-50%);

    width: 10px;
    height: 10px;

    background: #153464;

    rotate: 45deg;
}


/* Hover */

.cc-course-type-tooltip:hover .cc-course-type-tooltip-text,
.cc-course-type-tooltip:focus-within .cc-course-type-tooltip-text {
    opacity: 1;
    visibility: visible;

    transform:
        translateX(-50%)
        translateY(0);
}


/* Icoon hover */

.cc-course-type-tooltip:hover .cc-course-type-tooltip-icon {
    background: #4699cc;
    color: #ffffff;
}


/* =========================================================
   MOBIEL
   ========================================================= */

@media (max-width: 600px) {

    .cc-course-type-tooltip {
        top: 10px;
        right: 10px;
        left: auto;

        transform: none;
    }

    .cc-course-type-tooltip-text {
        right: 0;
        left: auto;

        transform: translateY(4px);

        max-width: calc(100vw - 60px);

        white-space: normal;
        text-align: left;
    }

    .cc-course-type-tooltip:hover .cc-course-type-tooltip-text,
    .cc-course-type-tooltip:focus-within .cc-course-type-tooltip-text {
        transform: translateY(0);
    }

}
/* =========================================================
   LEERVORM GRID
   ========================================================= */

.cc-course-wizard .ff-el-form-checks {

    display: grid !important;

        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;

    gap: 16px !important;

    width: 30% !important;

    margin: 0 !important;

    padding: 0 !important;

    box-sizing: border-box !important;
}


/* Zorg dat FluentForm-items de grid niet verstoren */

.cc-course-wizard .ff-el-form-checks > * {
    width: 100% !important;

    min-width: 0 !important;

    max-width: none !important;

    margin: 0 !important;

    padding: 0 !important;

    box-sizing: border-box !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 800px) {

    .cc-course-wizard .ff-el-form-checks {
        grid-template-columns:
            repeat(3, minmax(0, 1fr)) !important;

        gap: 10px !important;
    }

    .cc-course-type-option {
        min-height: 115px !important;
    }

    .cc-course-type-option label {
        min-height: 115px !important;

        padding:
            18px
            12px
            18px
            58px !important;

        font-size: 15px !important;
    }

    .cc-course-type-option label::before {
        left: 12px;

        width: 36px;
        height: 36px;

        border-radius: 10px;
    }
}


/* =========================================================
   MOBIEL
   ========================================================= */

@media (max-width: 600px) {

    .cc-course-wizard .ff-el-form-checks {
        grid-template-columns: 1fr !important;

        gap: 12px !important;
    }

    .cc-course-type-option {
        min-height: 100px !important;
    }

    .cc-course-type-option label {
        min-height: 100px !important;

        padding:
            18px
            18px
            18px
            72px !important;

        font-size: 16px !important;
    }

    .cc-course-type-option label::before {
        left: 18px;

        width: 40px;
        height: 40px;
    }
}
