﻿/* =========================================================
   01) BEPACOM THEME VARIABLES
   ========================================================= */
:root {
    --bepacom-red: #E30613; /* Bepacom accent (logo-rood) */
    --bepacom-dark: #151515; /* bijna zwart */
    --bepacom-bg: #F6F7F9; /* licht grijs achtergrond */
    --bepacom-card: #FFFFFF;
    --bepacom-border: #E7E9EE;
    /* Badge/text helpers */
    --badge-text: #151515;
    --badge-text-muted: rgba(21,21,21,.85);
}

html, body {
    background: var(--bepacom-bg);
    color: var(--bepacom-dark);
}


/* =========================================================
   02) LAYOUT / PAGE WRAPPER
   ========================================================= */
.page-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.content {
    max-width: 1200px;
    margin: 18px auto;
    padding: 0 18px 24px 18px;
}

.panel {
    background: #fff;
    border: 1px solid var(--bepacom-border);
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.04);
}


/* =========================================================
   03) TYPO / HELPERS
   ========================================================= */
.muted {
    opacity: .75;
    font-size: .95rem;
}

.link-bepacom {
    color: var(--bepacom-red);
    text-decoration: none;
}

    .link-bepacom:hover {
        text-decoration: underline;
    }


/* =========================================================
   04) BADGES (COUNTERS / STATUS CHIPS)
   - gebruikt in: IBS inbox cards, IBS editor header, proces headers, etc.
   - FIX: expliciet color zodat tekst nooit "wit op wit" wordt
   ========================================================= */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--bepacom-border);
    background: #fff;
    font-weight: 700;
    font-size: .92rem;
    /* HARD FIX: badges mogen nooit wit erven */
    color: var(--badge-text) !important;
}

    /* Als er binnen de badge spans/icoontjes zitten: altijd dezelfde kleur */
    .badge * {
        color: inherit !important;
    }

/* Subtle badge variant (handig voor "done/total" zonder opvallende kleur) */
.badge-muted {
    background: rgba(0,0,0,.06);
    border-color: rgba(0,0,0,.10);
    color: var(--badge-text-muted) !important;
}

/* Status varianten */
.badge-danger {
    border-color: rgba(227, 6, 19, .35);
    background: rgba(227, 6, 19, .08);
    color: var(--bepacom-dark) !important;
}

.badge-ok {
    border-color: rgba(40,167,69,.25);
    background: rgba(40,167,69,.10);
    color: var(--bepacom-dark) !important;
}

.badge-warn {
    border-color: rgba(255,193,7,.35);
    background: rgba(255,193,7,.14);
    color: var(--bepacom-dark) !important;
}


/* =========================================================
   05) BUTTONS
   ========================================================= */
.btn-bepacom {
    background: var(--bepacom-red);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 600;
}

    .btn-bepacom:hover {
        filter: brightness(0.95);
    }

.btn-ghost {
    background: transparent;
    border: 1px solid var(--bepacom-border);
    border-radius: 10px;
    padding: 10px 14px;
    /* FIX: prevent inheriting white text */
    color: var(--bepacom-dark);
}

    .btn-ghost:hover {
        background: rgba(0,0,0,.03);
    }


/* =========================================================
   06) FORMS / INPUTS
   ========================================================= */
.form-label {
    font-size: .9rem;
    opacity: .8;
    margin-bottom: 6px;
}

.input-bepacom {
    width: 100%;
    border: 1px solid var(--bepacom-border);
    border-radius: 10px;
    padding: 10px 12px;
    outline: none;
}

    .input-bepacom:focus {
        border-color: rgba(227, 6, 19, .45);
        box-shadow: 0 0 0 4px rgba(227, 6, 19, .10);
    }


/* =========================================================
   07) TOPBAR / NAV
   ========================================================= */
.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--bepacom-border);
}

.topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.topnav {
    display: flex;
    gap: 12px;
    align-items: center;
}

.topnav-link {
    color: var(--bepacom-dark);
    text-decoration: none;
    font-weight: 700;
    opacity: .85;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid transparent;
}

    .topnav-link:hover {
        opacity: 1;
        background: rgba(0,0,0,.03);
    }

    .topnav-link.active {
        color: var(--bepacom-red);
        border-color: rgba(227, 6, 19, .25);
        background: rgba(227, 6, 19, .06);
        opacity: 1;
    }


/* =========================================================
   08) BRAND / HEADER LABELS
   ========================================================= */
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: .3px;
}

    .brand small {
        display: block;
        font-weight: 400;
        opacity: .75;
        margin-top: 2px;
    }


/* =========================================================
   09) GENERIC CARD (LOGIN, ETC.)
   ========================================================= */
.card-bepacom {
    width: 100%;
    max-width: 440px;
    background: var(--bepacom-card);
    border: 1px solid var(--bepacom-border);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    padding: 22px;
}

    .card-bepacom h3 {
        margin: 0 0 14px 0;
    }


/* =========================================================
   10) IBS INBOX CARD STYLES
   ========================================================= */
.ibs-card {
    background: #fff;
    border: 1px solid var(--bepacom-border);
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.04);
}

.ibs-card-main {
    min-width: 0;
}

.ibs-title {
    font-weight: 800;
    font-size: 1.02rem;
}

.ibs-sub {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
    opacity: .85;
    font-size: .95rem;
}

.ibs-loc {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ibs-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.ibs-card-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.ibs-card-editor {
    margin-top: 12px;
    border-top: 1px solid var(--bepacom-border);
    padding-top: 12px;
}


/* =========================================================
   11) IBS EDITOR LAYOUT
   ========================================================= */
.ibs-editor {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ibs-editor-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.ibs-editor-title {
    font-weight: 800;
}

.ibs-editor-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* (Nieuw) headerbar/toolbar classes uit de Razor */
.ibs-editor-headerbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.ibs-editor-toolbar {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.ibs-editor-scroll {
    max-height: 70vh;
    overflow: auto;
    margin-top: 10px;
}

/* Optioneel: filters container (als je die class gebruikt) */
.ibs-editor-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.ibs-editor-filterbtns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}


/* =========================================================
   12) IBS ADD FORM
   ========================================================= */
.ibs-add-form {
    border: 1px solid var(--bepacom-border);
    border-radius: 14px;
    background: #fff;
    padding: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.03);
}

.ibs-add-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr;
}

@media (min-width: 900px) {
    .ibs-add-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.ibs-add-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}


/* =========================================================
   13) IBS DATAPOINT CARDS
   ========================================================= */
.ibs-dp-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ibs-dp-card {
    border: 1px solid var(--bepacom-border);
    border-radius: 14px;
    background: #fff;
    padding: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.03);
}

.ibs-dp-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start;
}

.ibs-dp-main {
    min-width: 0;
}

.ibs-dp-title {
    font-weight: 800;
}

.ibs-dp-sub {
    margin-top: 3px;
}

.ibs-dp-actions {
    display: flex;
    gap: 8px;
}

/* Buttons inside datapoints (check buttons) */
.ibs-check-btn {
    min-width: 44px;
    padding: 8px 10px;
    border-radius: 10px;
    font-weight: 800;
}

.ibs-check3 {
    display: flex;
    gap: 8px;
}

    /* ✅ Consistent: icon buttons always round + fixed */
    .ibs-check3 button {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        border-radius: 999px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

        /* ✅ SVG icons sizing */
        .ibs-check3 button svg {
            width: 22px;
            height: 22px;
            display: block;
        }

.ibs-dp-body {
    margin-top: 10px;
}

.ibs-dp-textarea {
    min-height: 54px;
}

.ibs-dp-footer {
    margin-top: 6px;
}


/* =========================================================
   14) CALENDAR LEGEND
   ========================================================= */
.legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    align-items: center;
    margin: 4px 4px 12px 4px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--bepacom-border);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .95rem;
    opacity: .9;
}

.legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 6px;
    display: inline-block;
    border: 1px solid rgba(0,0,0,.12);
}

    /* Legend dot variants (zelfde kleuren als events) */
    .legend-dot.ev-standaard {
        background: rgba(227, 6, 19, 0.28);
        border-color: rgba(227, 6, 19, 0.55);
    }

    .legend-dot.ev-verlof {
        background: rgba(0, 0, 0, 0.18);
        border-color: rgba(0, 0, 0, 0.35);
    }

    .legend-dot.ev-optioneel {
        background: rgba(255,193,7,0.35);
        border-color: rgba(255,193,7,0.60);
    }

    .legend-dot.ev-bevestigd {
        background: rgba(40,167,69,0.35);
        border-color: rgba(40,167,69,0.60);
    }

    .legend-dot.ev-info {
        background: rgba(0,123,255,0.30);
        border-color: rgba(0,123,255,0.55);
    }


/* =========================================================
   15) DETAIL CARD (CALENDAR DETAIL PANEL)
   ========================================================= */
.detail-card {
    background: #fff;
    border: 1px solid var(--bepacom-border);
    border-radius: 14px;
    padding: 14px 14px 12px 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
    margin: 10px 4px 14px 4px;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.detail-title {
    font-weight: 800;
    font-size: 1.05rem;
}

.detail-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    font-size: .98rem;
    opacity: .92;
}

@media (min-width: 900px) {
    .detail-meta {
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================================================
   15B) DETAIL CARD ENHANCEMENTS (Calendar)
   - gebruikt door de "aantrekkelijker" detail-card markup
   - aanvulling op bestaande .detail-card/.detail-header/.detail-title/.detail-meta
   ========================================================= */

/* Rechterkant header: pill + sluiten knop */
.detail-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Section wrapper binnen card */
.detail-section {
    margin-top: 10px;
}

/* Compacte grid voor datum/tijd/locatie */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px 14px;
}

@media (min-width: 900px) {
    .detail-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.kv .k {
    font-size: .78rem;
    opacity: .65;
    margin-bottom: 2px;
}

.kv .v {
    font-weight: 600;
}

.kv-span {
    grid-column: 1 / -1;
}

/* Divider + "Project" sectietitel */
.detail-divider {
    height: 1px;
    background: rgba(0,0,0,.08);
    margin: 12px 0 6px;
}

.detail-section-title {
    font-size: .8rem;
    letter-spacing: .02em;
    opacity: .7;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.detail-title,
.kv .v {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.detail-header {
    align-items: flex-start; /* je hebt nu center; dit oogt rustiger bij wraps */
}

.detail-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* =========================================================
   Pills (Type chip)
   ========================================================= */
.pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 800;
    border: 1px solid rgba(0,0,0,.08);
    background: rgba(0,0,0,.04);
    white-space: nowrap;
    color: var(--bepacom-dark);
}

/* Subtiele kleurvarianten (match je event types) */
.pill-standaard {
    background: rgba(227, 6, 19, .10);
    border-color: rgba(227, 6, 19, .25);
}

.pill-verlof {
    background: rgba(0, 0, 0, .08);
    border-color: rgba(0, 0, 0, .18);
}

.pill-optioneel {
    background: rgba(255, 193, 7, .16);
    border-color: rgba(255, 193, 7, .28);
}

.pill-bevestigd {
    background: rgba(40, 167, 69, .14);
    border-color: rgba(40, 167, 69, .26);
}

.pill-info {
    background: rgba(0, 123, 255, .14);
    border-color: rgba(0, 123, 255, .26);
}

/* =========================================================
   Projectleider chip
   ========================================================= */
.person-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0,0,0,.04);
    border: 1px solid rgba(0,0,0,.06);
    font-weight: 700;
}

.person-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(0,0,0,.35);
}

/* =========================================================
   Mobile: detail-card iets compacter en actions netjes
   ========================================================= */
@media (max-width: 600px) {
    .detail-actions {
        gap: 8px;
    }

    .pill {
        padding: 5px 8px;
        font-size: .76rem;
    }

    .person-chip {
        padding: 5px 8px;
    }
}

@media (max-width: 600px) {
    .detail-title {
        font-size: 1.0rem;
    }
}


/* =========================================================
   16) FULLCALENDAR TWEAKS
   ========================================================= */
.fc .fc-button-primary {
    background: var(--bepacom-red);
    border-color: var(--bepacom-red);
}

    .fc .fc-button-primary:hover {
        filter: brightness(0.95);
    }

.fc .fc-toolbar-title {
    font-size: 1.15rem;
    font-weight: 700;
}

/* Vandaag highlight */
.fc .fc-day-today {
    background: rgba(227, 6, 19, 0.08) !important;
}

/* Ook de header van vandaag subtiel mee */
.fc .fc-col-header-cell.fc-day-today,
.fc .fc-timegrid-col.fc-day-today {
    background: rgba(227, 6, 19, 0.06) !important;
}

.fc .fc-event {
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,.08);
    padding: 2px 6px;
}

.fc .ev-standaard {
    background: rgba(227, 6, 19, 0.40) !important;
    border-color: rgba(227, 6, 19, 0.55) !important;
    color: #111 !important;
}

.fc .ev-verlof {
    background: rgba(0,0,0,0.40) !important;
    border-color: rgba(0,0,0,0.55) !important;
    color: #111 !important;
}

.fc .ev-optioneel {
    background: rgba(255,193,7,0.40) !important;
    border-color: rgba(255,193,7,0.55) !important;
    color: #111 !important;
}

.fc .ev-bevestigd {
    background: rgba(40,167,69,0.40) !important;
    border-color: rgba(40,167,69,0.55) !important;
    color: #111 !important;
}

.fc .ev-info {
    background: rgba(0,123,255,0.40) !important;
    border-color: rgba(0,123,255,0.55) !important;
    color: #111 !important;
}

/* Selected event highlight */
.fc .ev-selected {
    outline: 3px solid rgba(227, 6, 19, 0.55);
    outline-offset: 2px;
    box-shadow: 0 8px 18px rgba(0,0,0,.18);
}

/* Weekend toggle — fixed rechtsonder (basis) */
.fc-weekend-toggle {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0,0,0,.12) !important;
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(0,0,0,.14);
    transition: filter 180ms ease, transform 120ms ease, background-color 180ms ease, color 180ms ease;
}

/* Default = werkweek (weekend verborgen) -> grijs */
.fc-weekend-toggle {
    background: rgba(0,0,0,.08) !important;
    color: rgba(0,0,0,.85) !important;
}

    .fc-weekend-toggle.is-on {
        background: var(--bepacom-red) !important;
        color: #fff !important;
        border-color: rgba(0,0,0,.10) !important;
    }

    .fc-weekend-toggle:hover {
        filter: brightness(0.97);
    }

    .fc-weekend-toggle:active {
        transform: translateY(1px);
    }




/* =========================================================
   17) TODAY FAB BUTTON (Calendar)
   - ✅ robuust rood + lager dan IBS fab
   ========================================================= */
.fc-today-fab {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9000; /* ✅ lager dan IBS speed dial (9999) */
    background-color: var(--bepacom-red) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(0,0,0,.18);
    cursor: pointer;
    /* slide-in */
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 220ms ease;
    /* 👇 zet Vandaag boven Weekend (pas evt. 58px aan) */
    margin-bottom: 58px;
}

    .fc-today-fab.show {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .fc-today-fab:hover {
        filter: brightness(0.95);
    }

#calendar.wk-anim .fc-view-harness {
    animation: wkFadeSlide 200ms ease-out;
}

@keyframes wkFadeSlide {
    from {
        opacity: .70;
        transform: translateY(2px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   18) PULSE HIGHLIGHT OP VANDAAG
   ========================================================= */
@keyframes bepacomPulse {
    0% {
        box-shadow: inset 0 0 0 0 rgba(227,6,19,.0);
    }

    35% {
        box-shadow: inset 0 0 0 999px rgba(227,6,19,.12);
    }

    100% {
        box-shadow: inset 0 0 0 0 rgba(227,6,19,.0);
    }
}

.fc .fc-daygrid-day.fc-day-today.pulse-today,
.fc .fc-timegrid-col.fc-day-today.pulse-today {
    animation: bepacomPulse 650ms ease-out 1;
}


/* =========================================================
   19) RESPONSIVE (MOBILE)
   - alles voor <= 600px bij elkaar
   ========================================================= */
@media (max-width: 600px) {

    /* content padding compacter */
    .content {
        padding: 0 12px 18px 12px;
    }

    /* panel padding compacter */
    .panel {
        padding: 12px;
    }

    /* buttons compacter */
    .btn-ghost,
    .btn-bepacom {
        padding: 9px 10px;
        border-radius: 10px;
    }

    /* badges compacter */
    .badge {
        padding: 5px 8px;
        font-size: .88rem;
    }

    /* toolbar swipe-row i.p.v. wolk */
    .ibs-editor-toolbar {
        flex-wrap: nowrap !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
        padding-bottom: 6px;
    }

        .ibs-editor-toolbar::-webkit-scrollbar {
            display: none;
        }

        .ibs-editor-toolbar > * {
            flex: 0 0 auto;
            white-space: nowrap;
        }

    /* header stack */
    .ibs-editor-headerbar {
        flex-direction: column;
        align-items: stretch;
    }

    /* filters iets netter */
    .ibs-editor-filters {
        gap: 6px;
    }

    /* scrollhost iets hoger */
    .ibs-editor-scroll {
        max-height: 78vh;
    }

    /* proces header compacter */
    .ibs-proc-sticky {
        padding-bottom: 4px !important;
    }

    .ibs-proc-title {
        font-size: 0.98rem;
    }

    .ibs-proc-meta {
        font-size: 0.9rem;
    }

    /* dp layout: titel boven knoppen */
    .ibs-dp-top {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .ibs-dp-actions {
        justify-content: flex-end;
    }

    .ibs-dp-card.saved {
        outline: 2px solid rgba(0, 160, 0, 0.35);
    }

    .ibs-dp-card.saveerror {
        outline: 2px solid rgba(220, 0, 0, 0.35);
    }

    .ibs-dp-card.saving {
        opacity: 0.6;
        pointer-events: none;
    }

    /* iOS zoom fix */
    textarea.input-bepacom {
        font-size: 16px;
    }

    /* Today FAB compacter + tappable */
    .fc-today-fab {
        right: 12px;
        bottom: 12px;
        padding: 12px 14px;
        font-size: 16px;
    }
}


/* =========================================================
   20) IBS SPEED DIAL FAB
   ========================================================= */
/* ===== Speed Dial FAB ===== */
.ibs-fab-stack {
    position: fixed;
    left: 14px;
    bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
    align-items: flex-start;
}

/* Basis knop */
.ibs-fab {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.10);
    box-shadow: 0 10px 26px rgba(0,0,0,.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    user-select: none;
}

/* Hoofdknop in Bepacom rood */
.ibs-fab-main {
    background: var(--bepacom-red, #d61f26);
    color: #fff;
    border-color: rgba(0,0,0,.10);
}

/* Mini knoppen (neutraal) */
.ibs-fab-mini {
    background: var(--panel-bg, #fff);
    color: rgba(0,0,0,.85);
}

/* Hover/active */
.ibs-fab:hover {
    transform: translateY(-1px);
}

.ibs-fab:active {
    transform: translateY(0px);
}

/* Disabled */
.ibs-fab:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
}

/* Subtle pop-in animatie voor minis */
.ibs-fab-mini {
    animation: ibsFabIn 120ms ease-out both;
    transform-origin: bottom left;
}

@keyframes ibsFabIn {
    from {
        opacity: 0;
        transform: translateY(6px) scale(.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* =========================================================
   21) Mobile layout refinements (<= 600px preferred)
   ========================================================= */
@media (max-width: 600px) {
    .ibs-check3 {
        justify-content: flex-end;
        gap: 10px;
        padding-top: 6px;
    }
}


/* =========================================================
   22) iOS/Safari button appearance hard-fix (FABs)
   ========================================================= */
.ibs-fab,
.fc-today-fab,
.fc-weekend-toggle {
    -webkit-appearance: none;
    appearance: none;
}
