body.page-planning {
    background:
        radial-gradient(1200px 600px at 20% 0%, #eef2ff 0%, transparent 60%),
        radial-gradient(900px 500px at 90% 10%, #ecfeff 0%, transparent 55%),
        linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    min-height: 100vh;
    color: var(--text);
}

body.page-planning #calendar {
    border-radius: var(--r-lg);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 14px;
}

body.page-planning .fc .fc-toolbar {
    padding: 8px 10px;
    border-radius: var(--r-md);
    background: rgba(15, 23, 42, .04);
    border: 1px solid rgba(15, 23, 42, .08);
}

body.page-planning .fc .fc-toolbar-title {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: .2px;
    color: var(--text);
}

body.page-planning .fc .fc-button {
    border-radius: 12px !important;
    border: 1px solid rgba(15, 23, 42, .12) !important;
    background: rgba(255, 255, 255, .92) !important;
    color: var(--text) !important;
    font-weight: 800 !important;
    padding: 8px 10px !important;
    box-shadow: 0 6px 16px rgba(15, 23, 42, .08);
}

body.page-planning .fc .fc-button:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .22) !important;
}

body.page-planning .fc .fc-col-header-cell {
    background: rgba(15, 23, 42, .03);
}

body.page-planning .fc .fc-col-header-cell-cushion {
    padding: 10px 6px !important;
    font-weight: 900;
    color: var(--text);
}

body.page-planning .fc .fc-timegrid-axis-cushion,
body.page-planning .fc .fc-timegrid-slot-label-cushion {
    font-variant-numeric: tabular-nums;
    font-weight: 900;
    color: rgba(15, 23, 42, .78);
    font-size: 12px;
}

#calendar .fc-view-harness {
    position: relative;
}

#calendar .fc-view-harness::before {
    content: "";
    position: absolute;
    margin-top: 80px !important;
    inset: 0;
    background: url("/img/brand/logo.PNG") center 40% no-repeat;
    background-size: 60%;
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
}

#calendar .fc-scrollgrid,
#calendar .fc-scrollgrid-section,
#calendar .fc-scroller,
#calendar .fc-timegrid-body,
#calendar .fc-daygrid-body {
    position: relative;
    z-index: 1;
    background: transparent;
}

.member-credits-banner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin: 0 0 10px;
    padding: 10px 14px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.member-credits-banner__label {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.2;
}

.member-credits-banner__value {
    font-size: 16px;
    font-weight: 800;
    color: #111827;
    line-height: 1.2;
    white-space: nowrap;
}

@media (min-width: 901px) {
    .member-credits-banner {
        margin: 0 0 16px;
        padding: 12px 16px;
        border-radius: 16px;
    }

    .member-credits-banner__label {
        font-size: 15px;
    }

    .member-credits-banner__value {
        font-size: 18px;
    }
}

/* =========================
   EVENT CONTENT / CARDS
   ========================= */

body.page-planning .fc .fc-timegrid-event,
body.page-planning .fc a.fc-event,
body.page-planning .fc .fc-v-event {
    border-left-width: 7px !important;
    border-left-style: solid !important;
    border-left-color: var(--event-accent) !important;
    background-color: #ffffff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    border-top: 0 !important;
    border-right: 0 !important;
    border-bottom: 2px solid var(--event-accent) !important;
    box-shadow:
        0 4px 0 rgba(0, 0, 0, .07),
        0 12px 26px rgba(15, 23, 42, .16),
        0 30px 60px rgba(15, 23, 42, .10);
}

body.page-planning .fc .fc-event-main {
    padding: 10px 14px 10px 14px !important;
    color: #0f172a !important;
}

body.page-planning .fc .fc-event-time {
    font-weight: 700 !important;
    font-size: 13px !important;
}

body.page-planning .fc .fc-event-title {
    font-weight: 800 !important;
    letter-spacing: .2px !important;
}

body.page-planning .fc a.fc-event {
    transition: box-shadow .2s ease;
}

body.page-planning .fc a.fc-event:hover {
    box-shadow:
        0 6px 0 rgba(0, 0, 0, .08),
        0 16px 28px rgba(15, 23, 42, .18),
        0 34px 64px rgba(15, 23, 42, .12);
}

/* =========================
   TOAST (membre)
   ========================= */

body.page-planning.role-member .toast[hidden] {
    display: none;
}

body.page-planning.role-member .toast {
    position: fixed;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    background: #111;
    color: #fff;
    padding: 10px 12px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
    display: flex;
    gap: 12px;
    align-items: center;
    z-index: 10000;
    font-size: 14px;
}

body.page-planning.role-member .toast button {
    background: #fff;
    color: #111;
    border: none;
    padding: 6px 10px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
}

/* ==============================
   ADMIN RESERVATION MODE
   ============================== */

#adminReservationBanner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #0f172a;
    color: white;
    padding: 10px 14px;
    margin-bottom: 8px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}

#adminReservationBanner strong {
    font-weight: 700;
}

#adminReservationCancel {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
}

#adminReservationBanner[hidden] {
    display: none !important;
}

/* =========================================
   CONTEXT MENU (si tu l’utilises)
   ========================================= */
body.page-planning.role-member #ctxMenu[hidden] {
    display: none !important;
}

body.page-planning.role-member #ctxMenu.ctx {
    position: fixed;
    z-index: 99999;
    min-width: 220px;
    padding: 6px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #111;
}

body.page-planning.role-member #ctxMenu.ctx button {
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
}

body.page-planning.role-member #ctxMenu.ctx button:hover {
    background: rgba(0, 0, 0, .06);
}

body.page-planning.role-member #ctxMenu.ctx .ctx__sep {
    height: 1px;
    margin: 6px 4px;
    background: rgba(0, 0, 0, .08);
}

/* =========================================
   EVENT CONTENT (FCX) — planning (membre + admin)
   contrôle tout ce qui est créneau
   ========================================= */

body.page-planning .fcx--full .fcx__badge {
    background: #111;
    color: #fff;
    border: none;
}

body.page-planning .fcx--full .fcx__cta {
    margin-top: 6px;
    font-size: 12px;
    opacity: .95;
}

/* Rend les events plus denses */
body.page-planning .fc .fc-timegrid-event .fc-event-main {
    padding: 4px 6px;
}

body.page-planning .fcx {
    line-height: 1.15;
    position: relative;
}

/* créneaux courts */
body.page-planning .fc .fc-timegrid-event.fc-timegrid-event-short .fcx__badge {
    top: -5px;
}

body.page-planning .fc .fc-timegrid-event.fc-timegrid-event-short .fcx__time {
    margin-bottom: 0;
}

body.page-planning .fcx__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

body.page-planning .fcx__toprow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

body.page-planning .fcx__time {
    font-size: 12px;
    opacity: .95;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* badge normal */
body.page-planning .fcx__badge {
    font-size: 12px;
    font-weight: 600;
    padding: 0;
    background: none;
    border: none;
    backdrop-filter: none;
}

/* quand inscrit */
body.page-planning .fcx__badge--mine {
    color: #fff;
    font-size: 14px;
    font-weight: 800;

}

body.page-planning .fcx__title {
    margin-top: 2px;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

body.page-planning .fcx__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    background: #16a34a;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
}

body.page-planning .fc .fc-timegrid-event:hover .fcx__badge {
    transform: none;
}

body.page-planning .fcx__badge {
    letter-spacing: 0;
}

body.page-planning .fcx__slash {
    margin: 0 -5px;
}

/* 30 minutes : 1 ligne compacte */
body.page-planning .fcx--compact .fcx__line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

body.page-planning .fcx--mid {
    padding-top: 1px !important;
    padding-bottom: 1px !important;
}

body.page-planning .fcx--mid .fcx__toprow {
    margin-bottom: 0 !important;
}

body.page-planning .fcx__time--mid {
    font-size: 10px !important;
    line-height: 1 !important;
    opacity: 0.75 !important;
}

body.page-planning .fcx--mid .fcx__title {
    line-height: 1 !important;
}

/* =========================
   PLANNING — LOOK MAQUETTE (BASE GRID)
   ========================= */
@media (max-width: 900px) {

    /* Fond général du planning */
    .page-planning .app-main {
        background: #f4f5f7 !important;
    }

    /* ✅ KILL le contour/“carte” du planning (FullCalendar + wrappers) */
    body.page-planning #calendar,
    body.page-planning #calendar .fc,
    body.page-planning #calendar .fc-view-harness,
    body.page-planning #calendar .fc-scrollgrid,
    body.page-planning #calendar .fc-scrollgrid table {
        border: 0 !important;
        outline: 0 !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        background: transparent !important;
    }

    /* ✅ FullCalendar met aussi des borders cellule par cellule */
    body.page-planning #calendar .fc-scrollgrid td,
    body.page-planning #calendar .fc-scrollgrid th {
        border: 0 !important;
    }

    /* ✅ Enlève la bande blanche du header (zone "dimanche" + coin gauche) */
    body.page-planning #calendar .fc-scrollgrid,
    body.page-planning #calendar .fc-scrollgrid-section-header,
    body.page-planning #calendar .fc-scrollgrid-section-header td,
    body.page-planning #calendar .fc-scrollgrid-section-header th,
    body.page-planning #calendar .fc-col-header,
    body.page-planning #calendar .fc-col-header-cell,
    body.page-planning #calendar .fc-timegrid-axis {
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
    }

    /* ✅ Lignes d'heures uniquement (major) : via box-shadow (ultra fiable) */
    .fc td.fc-timegrid-slot-lane {
        box-shadow: none !important;
        /* reset */
    }

    /* minor (demi-heures) = rien */
    .fc td.fc-timegrid-slot-lane.fc-timegrid-slot-minor {
        box-shadow: none !important;
    }

    /* Colonne des heures en position relative */
    .fc td.fc-timegrid-slot-label {
        position: relative;
    }

    /* Petit point uniquement sur les heures pleines */
    .fc td.fc-timegrid-slot-label:not(.fc-timegrid-slot-minor)::after {
        content: "";
        position: absolute;
        right: -10px;
        /* distance du bord droit de la colonne heure */
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 4px;
        background: rgba(15, 23, 42, .50);
        border-radius: 50%;
    }

    /* Aligner les heures à gauche dans leur colonne */
    .fc .fc-timegrid-slot-label {
        text-align: left !important;
    }

    /* Enlever le padding interne qui les pousse */
    .fc .fc-timegrid-slot-label-cushion {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* On enlève la ligne actuelle */
    .fc td.fc-timegrid-slot-lane {
        box-shadow: none !important;
        position: relative;
    }

    /* On recrée la ligne (heures pleines uniquement) */
    .fc td.fc-timegrid-slot-lane:not(.fc-timegrid-slot-minor)::before {
        content: "";
        position: absolute;
        top: 0;
        left: 16px;
        /* 👈 espace à gauche — ajuste 8 / 12 / 16 */
        right: 0;
        height: 1px;
        background: rgba(15, 23, 42, .07);
    }

    /* 1) Centrer "dimanche" */
    .fc .fc-col-header-cell-cushion {
        display: inline-block;
        /* pour que le trait fasse la bonne largeur */
        width: 100%;
        text-align: center;
        font-weight: 900;
        font-size: 34px;
        /* ajuste si besoin */
        color: #0f172a;
        position: relative;
        padding: 18px 0 26px;
        /* espace pour le trait */
    }

    /* 2) Trait orange sous "dimanche" */
    .fc .fc-col-header-cell-cushion::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0px;
        /* descend/monte le trait */
        transform: translateX(-50%);
        width: 136px;
        /* longueur du trait */
        height: 3px;
        /* épaisseur */
        border-radius: 999px;
        background: #ea580c;
        /* orange (change si tu as ton orange brand) */
    }

    /* Centrage réel */
    .fc .fc-col-header-cell {
        text-align: center !important;
    }


    .fc .fc-col-header {
        margin-top: -10px !important;
        /* ajuste -6 / -12 */
    }

    /* Ligne horizontale heure actuelle */
    .fc .fc-timegrid-now-indicator-line {
        border-top: 2px solid #ff3b00 !important;
        left: 20px;
        right: 0;
        z-index: 5;
    }

    /* Rond à gauche */
    .fc .fc-timegrid-now-indicator-line::before {
        content: "";
        position: absolute;
        left: -8px;
        top: -4px;
        width: 6px;
        height: 6px;
        background: #ff3b00;
        border-radius: 50%;
        box-shadow: 0 0 0 4px rgba(255, 59, 0, 0.2);
    }

    /* Petite flèche */
    .fc .fc-timegrid-now-indicator-arrow {
        border-color: transparent #ff3b00 transparent transparent !important;
        border-width: 6px 8px 6px 0 !important;
        left: 46px;
    }

    .mobile-header::after,
    .mobile-header__fade {
        pointer-events: none !important;
    }

    #calPrev,
    #calNext,
    #calToday,
    #calTitle,
    #calbar button {
        pointer-events: auto !important;
        touch-action: manipulation !important;
        /* réduit les taps interprétés comme zoom/scroll */
    }

}


/* =========================
   FIX PAYSAGE : le gros titre + trait ORANGE
   UNIQUEMENT en vue JOUR (timeGridDay)
   ========================= */

@media (max-width: 900px) {

    /* 1) On annule par défaut (utile en timeGridWeek paysage) */
    .fc .fc-col-header-cell-cushion {
        font-size: 14px !important;
        padding: 10px 0 8px !important;
    }

    .fc .fc-col-header-cell-cushion::after {
        content: none !important;
    }

    .fc .fc-col-header {
        margin-top: 0 !important;
    }

    /* 2) On réactive TON look uniquement en timeGridDay */
    .fc-col-header-cell-cushion {
        display: inline-block !important;
        width: 100% !important;
        text-align: center !important;
        font-weight: 900 !important;
        font-size: 34px !important;
        color: #0f172a !important;
        position: relative !important;
        padding: 18px 0 26px !important;
    }

    .fc-col-header-cell-cushion::after {
        content: "" !important;
        position: absolute !important;
        left: 50% !important;
        bottom: 0px !important;
        transform: translateX(-50%) !important;
        width: 136px !important;
        height: 3px !important;
        border-radius: 999px !important;
        background: #ea580c !important;
    }

    .fc-col-header-cell {
        text-align: center !important;
    }

    .fc-col-header {
        margin-top: -10px !important;
    }

}

@media (max-width: 900px) {

    /* =========================
     MODE MOBILE — VUE JOUR (timeGridDay)
     => Gros titre centré + trait orange
  ========================= */

    body.page-planning #calendar .fc-col-header-cell {
        text-align: center !important;
    }

    body.page-planning #calendar .fc-col-header-cell-cushion {
        display: block !important;
        width: 100% !important;
        text-align: center !important;

        font-weight: 900 !important;
        font-size: 34px !important;
        color: #0f172a !important;

        position: relative !important;
        padding: 18px 0 16px !important;

        /* ton “petit hack” pour centrer par rapport à l’écran (colonne heures à gauche) */
        transform: translateX(-18px) !important;
    }

    body.page-planning #calendar .fc-col-header-cell-cushion::after {
        content: "" !important;
        position: absolute !important;
        left: 50% !important;
        bottom: 0px !important;
        transform: translateX(-50%) !important;

        width: 166px !important;
        height: 3px !important;
        border-radius: 999px !important;
        background: #ea580c !important;
    }

    /* =========================
     MODE MOBILE — VUE SEMAINE (timeGridWeek)
     => Reset pour éviter le “décalage à droite” + éviter traits partout
  ========================= */

    body.page-planning #calendar .fc-col-header-cell-cushion {
        transform: none !important;
        font-size: 14px !important;
        padding: 10px 6px !important;
    }

    body.page-planning #calendar .fc-col-header-cell-cushion::after {
        content: none !important;
    }
}

/* ✅ Barre à gauche (sur l'élément event lui-même) */
.fc .fc-timegrid-event::before,
.fc .fc-timegrid-event-harness .fc-event::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--event-accent, #ea580c);
}

/* ✅ Texte lisible (vu qu'on a mis fond blanc) */
.fc .fc-timegrid-event .fc-event-main,
.fc .fc-timegrid-event-harness .fc-event .fc-event-main {
    color: #0f172a !important;
}

/* si tu as un titre/heure dans d'autres sous-noeuds */
.fc .fc-timegrid-event .fc-event-time,
.fc .fc-timegrid-event .fc-event-title,
.fc .fc-timegrid-event-harness .fc-event .fc-event-time,
.fc .fc-timegrid-event-harness .fc-event .fc-event-title {
    color: #0f172a !important;
}

/* petit padding pour pas coller à la barre */
.fc .fc-timegrid-event .fc-event-main {
    padding: 10px 12px 10px 14px !important;
}

/* Épaissit UNIQUEMENT la barre gauche existante (FullCalendar) */
body.page-planning .fc .fc-timegrid-event,
body.page-planning .fc a.fc-event,
body.page-planning .fc .fc-v-event {
    border-left-width: 7px !important;
    /* <-- ajuste (4, 5, 6, 7...) */
    border-left-style: solid !important;
    /* au cas où */
}

body.page-planning .fc .fc-timegrid-event {
    background-color: #ffffff !important;
}

body.page-planning .fc .fc-timegrid-event {
    border-left-color: var(--event-accent) !important;
}

body.page-planning .fc .fc-timegrid-event[style] {
    background-color: #ffffff !important;
}

/* 0) On neutralise TOUS les backgrounds que FC peut poser */
body.page-planning .fc a.fc-event,
body.page-planning .fc .fc-v-event,
body.page-planning .fc .fc-timegrid-event,
body.page-planning .fc .fc-timegrid-event .fc-event-main,
body.page-planning .fc .fc-timegrid-event .fc-event-main-frame {
    background: #fff !important;
    background-color: #fff !important;
}

/* 4) Évite les bordures/artefacts FullCalendar */
body.page-planning .fc .fc-event-main-frame {
    background: transparent !important;
}

/* 0) Important : laisser dépasser le glow */
body.page-planning .fc .fc-timegrid-event-harness,
body.page-planning .fc .fc-timegrid-col-frame {
    overflow: visible !important;
}

body.page-planning .fc a.fc-event,
body.page-planning .fc .fc-v-event,
body.page-planning .fc .fc-timegrid-event {
    overflow: hidden !important;
    border-bottom: 2px solid var(--event-accent) !important;
}

.fc-event-focus-soft {
    box-shadow:
        0 0 0 2px rgba(37, 99, 235, 0.35),
        0 0 0 6px rgba(37, 99, 235, 0.10) !important;
    transition: box-shadow 0.25s ease;
}

/* =========================================
   BARRE CRÉDITS — vraie cible
   ========================================= */

/* conteneur au-dessus du calendrier */
#memberCreditsBanner,
#memberCreditsBannerValue,
.page-planning .member-credits-banner,
.page-planning #memberCreditsBanner {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}

/* la vraie barre */
#memberCreditsBanner,
.page-planning #memberCreditsBanner {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: auto !important;

    padding: 8px 14px !important;
    border-radius: 12px !important;

    background: rgba(15, 23, 42, .04) !important;
    color: rgba(15, 23, 42, .68) !important;

    font-size: 13px !important;
    font-weight: 500 !important;

    margin: 0 0 10px 0 !important;
}

/* valeur en gras */
#memberCreditsBannerValue,
.page-planning #memberCreditsBannerValue {
    font-weight: 700 !important;
    color: rgba(15, 23, 42, .88) !important;
}

/* =========================================
   TITRE PÉRIODE — vraie cible FC
   ========================================= */

body.page-planning .fc .fc-toolbar-title {
    font-size: 22px !important;
    font-weight: 700 !important;
    letter-spacing: -.02em !important;
    color: rgba(15, 23, 42, .82) !important;
}

/* toolbar encore plus légère */
body.page-planning .fc .fc-toolbar {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 0 10px !important;
    margin-bottom: 6px !important;
}

/* Boutons (Aujourd’hui + flèches) */
.fc .fc-button {
    background: rgba(15, 23, 42, 0.04) !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    padding: 6px 10px !important;
    color: rgba(15, 23, 42, 0.6) !important;
}

/* 1) Bouger tout le contenu du créneau */
.fcx {
    transform: translateY(-3px);
}

/* 2) Bouger uniquement le check vert */
.fcx {
    position: relative;
}

.fcx__check {
    position: absolute;
    right: 4px;
    top: 0px;
    transform: none;
}

.fc-event.is-planning-closed {
    opacity: 0.55;
    filter: grayscale(0.15);
}

.fc-event.is-planning-closed .fcx--closed {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100%;
    font-weight: 700;
}

.fc-event.is-planning-closed .fcx__title {
    width: 100%;
    text-align: center;
}

.fcx__badge--member-clean {
    min-width: auto;
    height: 24px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: transparent;
    box-shadow: none;
}

.fcx__badge--member-clean .fcx__wait,
.fcx__badge--member-clean .fcx__check {
    position: static;
    transform: none;
    margin: 0;
}

.fcx__dot {
    width: 13px;
    height: 13px;
    border-radius: 999px;
    display: inline-block;
}

.fcx__dot--available {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #34d399, #16a34a);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* Modifier creneau heure et texte */
.fc-timegrid-event .fc-event-main {
    display: flex;
    align-items: center;
    margin-left: -8px;
}

.fcx {
    width: 100%;
    transform: translateY(-2px);
}

.fcx--compact {
    transform: translateY(-1px);
}

.fc-event.is-30 .fcx {
    transform: translateY(0px);
}