body {
    color: #213B5B;
    background-color: #EDF2F9;
    font-family: "Helvetica Neue", "Roboto", sans-serif;
    margin: 0;
}

header {
    background-color: #213B5B;
}

footer {
    background-color: #213B5B;
}

.container-fluid {
    background-color: #EDF2F9;
}

.table thead th {
    color: #213B5B;
}

.member-info, .member-points-benefits {
    color: #213B5B;
}

.tooltip {
    z-index: 1000;
    padding: 5px 10px;
    margin: 0;
    font-size: 14px;
    color: #ffffff;
    background-color: #213B5B;
    border-radius: 5px;
    box-shadow: 0px 3px 6px #213B5B50;
    transform: translate(-100%, 100%);
}

.custom-tooltip .tooltip-inner {
    color: #fff; /* Couleur du texte */
    border-radius: 4px; /* Bord arrondi */
    padding: 8px 12px; /* Espacement intérieur */
    font-size: 14px; /* Taille de la police */
    background-color: #213B5B;
    text-align: left;
    opacity: 1;

}


#logout {
    text-decoration: none;
    font-size: 20px;
    color: #FFFFFF;
}

.rounded-top-left {
    border-top-left-radius: 20px;
}

.rounded-top-right {
    border-top-right-radius: 20px;
}

.card-member {
    background: #ffffff 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #213B5B50;
    border-radius: 10px;
    opacity: 1;
}

.points-card {
    background: transparent linear-gradient(291deg, #FFEEE7 0%, #ffffff 100%) 0% 0% no-repeat padding-box;
}
.points-card-tc {
    background: transparent linear-gradient(90deg,  #FFFFFF 0%, #C99608 300%) 0% 0% no-repeat padding-box;
}

.btn-outline-primary {
    border-color: #213B5B;
    color: #213B5B;
    background-color: #69A4ED48;
}

.btn-outline-primary:hover {
    background-color: #213B5B;
    border-color: #213B5B;
}

.form-check-input:checked {
    background-color: #4DCC5C5C;
    border-color: #4DCC5C5C;
}

.form-check-input:checked[type=checkbox] {
    color: #0E771B;
    font-weight: bold;
}


/* noUiSlider — slimmer track, navy theme, soft shadow on the handles. */
.noUi-target {
    background: rgba(33, 59, 91, 0.08);
    border: none;
    box-shadow: none;
}
.noUi-connect {
    background: #213B5B;
}
.noUi-horizontal {
    height: 4px;
}
.noUi-horizontal .noUi-handle {
    background: #fff;
    border: 2px solid #213B5B;
    border-radius: 999px;
    width: 18px;
    height: 18px;
    top: -8px;
    right: -9px;
    box-shadow: 0 2px 6px rgba(33, 59, 91, 0.18);
    cursor: grab;
    transition: transform 120ms ease, box-shadow 120ms ease;
}
.noUi-horizontal .noUi-handle:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(33, 59, 91, 0.25);
}
.noUi-horizontal .noUi-handle.noUi-active {
    cursor: grabbing;
    transform: scale(1.15);
}
.noUi-handle:after, .noUi-handle:before {
    background: none;
}

#search_form_minPoints[type="text"], #search_form_maxPoints[type="text"] {
    appearance: none;
    -webkit-appearance: none; /* Pour certains navigateurs WebKit */
    -moz-appearance: none; /* Pour certains navigateurs Mozilla */
    border: none; /* Supprime la bordure */
    background-color: transparent; /* Fond transparent */
    font-family: inherit; /* Utilise la police de caractères par défaut du navigateur */
    font-size: inherit; /* Utilise la taille de police par défaut du navigateur */
    font-weight: bold;
    color: #213B5B
}

#search_form_maxPoints::placeholder, #search_form_minPoints::placeholder, #search_form_q::placeholder {
    color: #213B5B
}

#search_form_q {
    border: 1px solid rgba(33, 59, 91, 0.18);
    border-radius: 999px;
    opacity: 1;
    background-color: #fff;
    height: 44px;
    width: 360px;
    max-width: 100%;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px rgba(33, 59, 91, 0.06);
    transition: border-color 160ms ease, box-shadow 160ms ease, width 160ms ease;
}

#search_form_q:hover {
    border-color: rgba(33, 59, 91, 0.35);
}

#search_form_q:focus {
    outline: none;
    border-color: #213B5B;
    box-shadow: 0 0 0 3px rgba(33, 59, 91, 0.12), 0 2px 8px rgba(33, 59, 91, 0.08);
    width: 420px;
}

.search-input {
    background-image: url("../images/search-b652443b6d2b0d9c087d5e646caff04e.svg");
    background-size: 18px;
    background-position: 16px center;
    background-repeat: no-repeat;
    padding-left: 44px;
    padding-right: 18px;
}

table tr:last-child td:first-child {
    border-bottom-left-radius: 20px; /* ou la valeur que vous préférez */

}

table tr:last-child td:last-child {
    border-bottom-right-radius: 20px; /* ou la valeur que vous préférez */

}

.rounded-lg {
    border-radius: 20px; /* ou la valeur que vous préférez */
}

.active>.page-link, .page-link.active {
    background-color: #69A4ED48;
    border-color: #213B5B;
}

.page-link {
    color: #213B5B;

}

.page-link:hover {
    background-color: #69A4ED48;
    border-color: #213B5B;
    color: #213B5B;
}

/* Home pagination strip — kept right-aligned (from the markup) and given a
   pill/card look. Vertical-centered against its row so it sits flush with
   the table's last line. Heights stay close to the default KNP strip so the
   viewport-fit JS doesn't have to over-correct. */
.js-filter-pagination {
    align-items: center;
    justify-content: flex-end !important;
    padding: 0;
}

/* Smooth ajax reloads — a barely-there fade so interactions feel responsive
   without flashing. Cursor hints that the UI is busy. */
.js-filter .js-filter-content,
.js-filter .js-filter-sorting,
.js-filter .js-filter-pagination {
    transition: opacity 90ms ease;
}

.js-filter.is-loading .js-filter-content {
    opacity: 0.85;
}

.js-filter.is-loading #mainContent {
    cursor: progress;
}
/* The filter sidebar (including the congress picker) stays fully interactive
   during a reload — the busy cursor only applies to the table area. */
.js-filter.is-loading #collapseWidthExample { cursor: default; }
.js-filter.is-loading .congress-picker,
.js-filter.is-loading .congress-picker * { cursor: auto; }
.js-filter.is-loading .congress-picker__input { cursor: text; }
.js-filter.is-loading .congress-picker__dropdown li,
.js-filter.is-loading .congress-picker__chip-x { cursor: pointer; }

/* Reserve a stable row height before SVG icons / images finish loading, so
   the table doesn't visibly grow downward as their boxes inflate post-paint.
   Sized just above the tallest row variant (TOP_COMPANION badge ~ 76px). */
.js-filter-content > tr {
    height: 76px;
}

.js-filter-content > tr > td {
    vertical-align: middle;
    overflow: hidden;
}

/* Whole-row click target — subtle hover to signal interactivity.
   Targets the <td>s directly because table-striped colors them, not the <tr>. */
.js-filter-content > tr.js-row-link {
    cursor: pointer;
}

.js-filter-content > tr.js-row-link > td {
    /* Only transition the fill — box-shadow interpolates between "none" and
       the final inset state by briefly flooding the cell with green. */
    transition: background-color 120ms ease;
}

/* Bootstrap 5 applies table-striped via `box-shadow: inset 0 0 0 9999px ...`
   on each <td>. So we have to use the SAME technique to fully cover the
   striped overlay on hover — a plain background-color override is invisible
   under that shadow. We also stack the 4px navy bar on the first cell. */
.table-striped > tbody > tr.js-row-link:hover > td,
.js-filter-content > tr.js-row-link:hover > td {
    box-shadow: inset 0 0 0 9999px #C9D8EC !important;
}

.js-filter-content > tr.js-row-link:hover > td:first-child {
    /* Bar drawn first (on top), fill behind — both insets. */
    box-shadow: inset 4px 0 0 #213B5B, inset 0 0 0 9999px #C9D8EC !important;
}

/* Bigger, cleaner check-in CTA at the end of each row. */
.check-in-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.7rem;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
    font-size: 0.85rem;
    transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
}
.check-in-btn i { font-size: 1rem; }

.check-in-btn i {
    font-size: 1.15rem;
    line-height: 1;
}

.check-in-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(33, 59, 91, 0.15);
}

/* Match the "Refreshed" date pill so checked-in rows feel coherent: light green
   fill with the dark-green outline/typography from .btn-companion-success. */
.check-in-btn.btn-companion-success {
    background-color: #4dcc5c5c;
    border-color: #285b2e;
    color: #285b2e;
}

.check-in-btn.btn-companion-success:hover {
    background-color: #285b2e;
    border-color: #4dcc5c5c;
    color: #fff;
}

/* Lock the visual size of the in-cell icons so a late-loading SVG can't push
   its row past the reserved height. */
.js-filter-content img {
    max-height: 40px;
    width: auto;
}

.js-filter-content .congress-check img,
.js-filter-content .btn img {
    max-height: 24px;
}

/* Initial render — hide the table until the first viewport-fit pass settles,
   so we never flash the default layout before it snaps to the right height.
   Removed by JS as soon as the first fit decision is made. */
.js-filter.is-initializing .js-filter-content,
.js-filter.is-initializing .js-filter-sorting,
.js-filter.is-initializing .js-filter-pagination {
    opacity: 0;
}

/* Ghost pagination — no pill, no shadow. Numbers float on the page background;
   the active page is the only one with a navy pill, which makes it pop without
   visual weight from the rest of the strip. */
.js-filter-pagination .pagination {
    margin: 0;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.js-filter-pagination .page-item .page-link {
    border: none;
    background: transparent;
    margin: 0 1px;
    border-radius: 999px;
    min-width: 28px;
    padding: 0.2rem 0.5rem;
    font-size: 0.85rem;
    color: #213B5B;
    text-align: center;
    transition: background-color 120ms ease, color 120ms ease;
}

.js-filter-pagination .page-item .page-link:hover {
    background-color: rgba(33, 59, 91, 0.08);
    color: #213B5B;
}

.js-filter-pagination .page-item.active .page-link {
    background-color: #213B5B;
    color: #fff;
}

.js-filter-pagination .page-item.disabled .page-link {
    opacity: 0.4;
}

.congress-check {
    background-color: #69A4ED48;
    color: #213B5B;
    font-weight: bold
}

.congress-check:hover {
    background-color: #69A4ED48;
    border-color: #213B5B;
}

.title-with-bar {
    position: relative;
}

.title-with-bar h2 {
    display: inline-block;
    position: relative;
    padding-right: 20px; /* Espace pour la barre */
}

.title-with-bar::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 2px; /* Largeur de la barre */
    height: 80%; /* Hauteur de la barre */
    background-color: black; /* Couleur de la barre */
}



.title-with-line {
    display: flex;
    align-items: center; /* Centrer verticalement le titre et la ligne */
}

.title-with-line h2 {
    margin-right: 10px; /* Marge à droite du titre */
}

.line {
    flex-grow: 1; /* Faire grandir la ligne pour remplir l'espace restant */
    border-bottom: 1px solid #213B5B; /* Une ligne noire de 1 pixel d'épaisseur */
}

.table-striped>tbody>tr:nth-of-type(odd)>* {
    background-color: #EDF2F9;
}

/* Pretty toggle pills for the two boolean filters (Top Companion / Checked-in).
   Hides the native checkbox and uses :has() to style the pill from the input
   state — falls back to color-only state without :has() for older browsers. */
.filter-toggle {
    margin: 0;
    cursor: pointer;
    flex: 1 1 0;
    min-width: 0;
}
.filter-toggle input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

/* Neutralise Symfony's Bootstrap-5 form-check wrapper around our checkbox so
   only our custom pill is visible (no native box, no extra padding/label). */
.filter-toggle .form-check {
    margin: 0;
    padding: 0;
    min-height: 0;
    display: inline;
}
.filter-toggle .form-check-label { display: none; }

/* Filter sidebar toggle button — funnel icon, navy theme. */
.filter-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    height: 44px;
    padding: 0 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(33, 59, 91, 0.18);
    background: #fff;
    color: #213B5B;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1;
    box-shadow: 0 1px 2px rgba(33, 59, 91, 0.06);
    /* All dimensions share the sidebar's 280ms timing so the morph and the
       slide-left of siblings (search bar, etc.) happen as one motion. */
    transition: background 280ms ease, border-color 280ms ease,
                box-shadow 280ms ease, color 280ms ease,
                width 280ms ease, padding 280ms ease, transform 120ms ease;
}
.filter-toggle-btn span {
    display: inline-block;
    max-width: 80px;
    opacity: 1;
    overflow: hidden;
    white-space: nowrap;
    transition: max-width 280ms ease, opacity 200ms ease, margin 280ms ease;
}
.filter-toggle-btn .bi { font-size: 1.15rem; }
.filter-toggle-btn:hover {
    background: #fff;
    border-color: rgba(33, 59, 91, 0.45);
    box-shadow: 0 2px 6px rgba(33, 59, 91, 0.12);
    color: #213B5B;
}
.filter-toggle-btn:focus-visible {
    outline: none;
    border-color: #213B5B;
    box-shadow: 0 0 0 3px rgba(33, 59, 91, 0.15);
}
.filter-toggle-btn:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(33, 59, 91, 0.08);
}
.filter-toggle-btn[aria-expanded="true"] {
    background: #213B5B;
    border-color: #213B5B;
    color: #fff;
    box-shadow: 0 2px 8px rgba(33, 59, 91, 0.25);
}
/* When the sidebar opens, the button contracts to just its icon and the
   neighboring search bar slides into the freed space — all on the same
   280ms timing so it reads as a single continuous motion. */
.filter-toggle-btn[aria-expanded="true"] span {
    max-width: 0;
    opacity: 0;
    margin-left: -0.4rem; /* eat the flex gap so it fully collapses */
}
.filter-toggle-btn[aria-expanded="true"] {
    padding: 0;
    width: 44px;
}

/* Subtle inline reset link in the "Filter by" header — sits to the right of
   the title line and resets all filters on click. */
.filter-reset-link {
    background: none;
    border: 0;
    padding: 0 0 0 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(33, 59, 91, 0.6);
    cursor: pointer;
    white-space: nowrap;
    transition: color 120ms ease;
}
.filter-reset-link:hover,
.filter-reset-link:focus-visible {
    color: #213B5B;
    outline: none;
}
.filter-reset-link i { font-size: 0.85rem; margin-right: 2px; }

/* Make the filter column visually match the table height. We force the
   column itself to be a flex container so its single child (the form) can
   stretch to fill it; without this, .collapse.show only re-enables display
   and the form takes its content height (visibly shorter than the table). */
#collapseWidthExample {
    display: flex;
    flex-direction: column;
}
#collapseWidthExample.collapse:not(.show) {
    display: none;
}
#collapseWidthExample > .js-filter-form,
#collapseWidthExample > form {
    /* height is set in pixels by JS to mirror the table — see Filter.js's
       bindFilterHeightSync. overflow-y:auto handles cases where the filter
       content doesn't fit (shorter viewports or expanded sections). */
    /* No card surface — sits transparently on the page background.
       Small horizontal padding so the content breathes a bit from the
       column edges without losing top alignment with the table header. */
    padding: 0 0.75rem 1.25rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Points selector — slider on top, twin chips below with an arrow between.
   Visually echoes the From/To pattern but on a single horizontal row. */
.filter-points {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.filter-points__slider {
    margin: 4px 8px;
}
.filter-points__inputs {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 8px;
}
.filter-points__chip {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0.25rem 0.55rem;
    border: 1px solid rgba(33, 59, 91, 0.2);
    border-radius: 8px;
    background: #fff;
    transition: border-color 120ms ease, box-shadow 120ms ease;
}
.filter-points__chip:focus-within {
    border-color: #213B5B;
    box-shadow: 0 0 0 3px rgba(33, 59, 91, 0.12);
}
.filter-points__chip-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(33, 59, 91, 0.55);
}
.filter-points__input {
    flex: 1;
    min-width: 0;
    width: 100%;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    font-size: 0.85rem;
    font-weight: 600;
    color: #213B5B !important;
    text-align: right;
    outline: none;
    appearance: textfield;
    -moz-appearance: textfield;
}
.filter-points__input::-webkit-outer-spin-button,
.filter-points__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.filter-points__divider {
    color: rgba(33, 59, 91, 0.4);
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* From / To labels — kept on the side of the input (original col-3/col-8
   layout), only the typography and the leading icon are new. */
/* Date range rows — full-width stacked pills (matches Top Companion /
   Checked-in pills width). Label sits inline on the left, input fills the rest. */
.filter-daterange {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.filter-daterange__row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0 0.75rem;
    height: 38px;
    border: 1px solid rgba(33, 59, 91, 0.18);
    border-radius: 8px;
    background: #fff;
    transition: border-color 120ms ease, box-shadow 120ms ease;
    margin: 0;
}
.filter-daterange__row:focus-within {
    border-color: #213B5B;
    box-shadow: 0 0 0 3px rgba(33, 59, 91, 0.10);
}
.filter-daterange__row .filter-date-input,
.filter-daterange__row input[type="date"] {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    height: 100%;
    padding: 0;
    box-shadow: none;
    outline: none;
}
.filter-daterange__label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(33, 59, 91, 0.55);
}
.filter-daterange__label i { font-size: 0.85rem; }

.filter-date-input,
.filter-daterange__field input[type="date"] {
    width: 100%;
    height: 38px;
    border: 1px solid rgba(33, 59, 91, 0.2);
    border-radius: 8px;
    padding: 0 0.75rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: #213B5B;
    background: #fff;
    transition: border-color 120ms ease, box-shadow 120ms ease;
}
.filter-daterange__field input[type="date"]:hover {
    border-color: rgba(33, 59, 91, 0.45);
}
.filter-daterange__field input[type="date"]:focus {
    outline: none;
    border-color: #213B5B;
    box-shadow: 0 0 0 3px rgba(33, 59, 91, 0.12);
}
.filter-daterange__field input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.55;
    transition: opacity 120ms ease;
}
.filter-daterange__field input[type="date"]:hover::-webkit-calendar-picker-indicator,
.filter-daterange__field input[type="date"]:focus::-webkit-calendar-picker-indicator {
    opacity: 1;
}
.filter-toggle__pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    height: 38px;
    padding: 0 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(33, 59, 91, 0.2);
    background: #fff;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(33, 59, 91, 0.7);
    transition: background 120ms ease, color 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
    user-select: none;
    white-space: nowrap;
}
.filter-toggle__pill i { font-size: 0.95rem; line-height: 1; }
.filter-toggle__pill:hover { border-color: rgba(33, 59, 91, 0.45); color: #213B5B; }
.filter-toggle:has(input[type="checkbox"]:checked) .filter-toggle__pill {
    background: #213B5B;
    border-color: #213B5B;
    color: #fff;
    box-shadow: 0 2px 6px rgba(33, 59, 91, 0.18);
}
.filter-toggle:has(input[type="checkbox"]:focus-visible) .filter-toggle__pill {
    outline: 3px solid rgba(33, 59, 91, 0.18);
    outline-offset: 1px;
}

/* === Compact collapsible congress picker ================================
   Default = a single pill button showing "Check-In · N". Click expands the
   body inline (chips + search + list). Click again to collapse. No popup,
   stays in the sidebar flow. */
.cp { margin-top: 6px; }

.cp__toggle {
    display: flex; align-items: center; gap: 8px;
    width: 100%; height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(33, 59, 91, 0.2);
    border-radius: 8px;
    background: #fff;
    color: rgba(33, 59, 91, 0.85);
    font-size: 0.82rem; font-weight: 500;
    cursor: pointer;
    transition: background 120ms ease, border-color 120ms ease;
}
.cp__toggle:hover { border-color: rgba(33, 59, 91, 0.45); }
.cp__toggle .bi-calendar-check { font-size: 0.95rem; }
.cp__toggle-label { flex: 0 0 auto; }
.cp__count {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 20px; height: 20px;
    padding: 0 6px;
    background: #213B5B; color: #fff;
    border-radius: 999px;
    font-size: 0.7rem; font-weight: 700;
    margin-left: auto;
}
.cp__chevron {
    font-size: 0.8rem;
    color: rgba(33, 59, 91, 0.5);
    transition: transform 200ms ease;
    margin-left: 6px;
}
.cp:not([data-collapsed]) .cp__chevron { transform: rotate(180deg); }
.cp:not([data-collapsed]) .cp__toggle {
    border-color: #213B5B;
    background: rgba(33, 59, 91, 0.04);
}
/* When some are selected, push chevron after the count chip instead of margin-auto */
.cp__toggle:has(.cp__count:not([hidden])) .cp__chevron { margin-left: 6px; }
.cp__toggle:not(:has(.cp__count:not([hidden]))) .cp__chevron { margin-left: auto; }

.cp__body {
    /* Overlay (fixed) so opening doesn't push the rest of the sidebar down —
       single-page layout is preserved. Coords set by JS from toggle.getBoundingClientRect(). */
    position: fixed;
    z-index: 1050;
    padding: 8px;
    border: 1px solid rgba(33, 59, 91, 0.15);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(20, 30, 60, 0.12);
}

.cp__chips {
    display: flex; flex-wrap: wrap; gap: 4px;
    margin-bottom: 6px;
}
.cp__chips:empty { display: none; }
.cp__chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 3px 6px 3px 10px;
    background: #213B5B; color: #fff;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.15;
    max-width: 100%;
}
.cp__chip-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 160px; }
.cp__chip-x {
    background: rgba(255,255,255,0.18); border: 0; color: #fff;
    width: 16px; height: 16px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 11px; cursor: pointer;
    transition: background 120ms ease;
}
.cp__chip-x:hover { background: rgba(255,255,255,0.35); }

.cp__inputwrap { position: relative; margin-bottom: 4px; }
.cp__icon {
    position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
    color: rgba(33, 59, 91, 0.5); font-size: 0.9rem; pointer-events: none;
}
.cp__input {
    width: 100%; height: 32px;
    padding: 0 10px 0 30px;
    border: 1px solid rgba(33, 59, 91, 0.2);
    border-radius: 8px; background: #fff;
    font-size: 0.8rem; color: #213B5B;
    transition: border-color 120ms ease, box-shadow 120ms ease;
}
.cp__input:focus {
    outline: none;
    border-color: rgba(33, 59, 91, 0.5);
    box-shadow: 0 0 0 3px rgba(33, 59, 91, 0.1);
}

.cp__list {
    list-style: none;
    margin: 0;
    padding: 2px;
    max-height: 168px;
    overflow-y: auto;
    border: 1px solid rgba(33, 59, 91, 0.12);
    border-radius: 8px;
    background: #fff;
}
.cp__list::-webkit-scrollbar { width: 6px; }
.cp__list::-webkit-scrollbar-thumb { background: rgba(33, 59, 91, 0.2); border-radius: 3px; }
.cp__list li {
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.78rem;
    color: #213B5B;
    cursor: pointer;
    display: flex; align-items: center; gap: 8px;
    transition: background 80ms ease;
}
.cp__list li:hover { background: rgba(33, 59, 91, 0.08); }
.cp__list li.cp__empty {
    color: rgba(33, 59, 91, 0.5);
    font-style: italic;
    cursor: default; padding: 8px 10px;
}
.cp__list li.cp__empty:hover { background: transparent; }

/* Smoother filter-sidebar collapse:
   - 280ms ease feels deliberate without dragging
   - overflow:hidden on the sidebar avoids form widgets visibly squashing /
     wrapping during the width animation
   - opacity fade on the inner content masks the last bits of layout shift
   - the mainContent column gets the same timing so its width re-flows in sync
     with the sidebar (no jerky "table-snaps-then-sidebar-slides" effect) */
.collapse-horizontal,
.collapse-horizontal.collapsing {
    transition: width 280ms ease, opacity 220ms ease;
    overflow: hidden;
}

#collapseWidthExample > * {
    transition: opacity 200ms ease;
}

#collapseWidthExample.collapsing > * {
    opacity: 0;
}

#mainContent {
    transition: max-width 280ms ease, flex-basis 280ms ease, width 280ms ease;
}

.modal-header {
    background-color: #213B5B;
    color: white;

}

.modal-footer>.btn{
   font-weight: bold;
}

.btn-companion {
    background-color: #69A4ED48;
    border-color: #213B5B;
    color: #213B5B;
    font-weight: bold;
}

.btn-companion:hover {
    background-color: #213B5B;
    border-color: #213B5B;
    color: #fff;
}

.btn-companion:active {
    background-color: #69A4ED48;
    border-color: #69A4ED48;
    color: #213B5B;
}

/* Shared date-pill geometry — keeps Joined / Refreshed visually consistent
   AND matches the table-cell font-size so the row reads as one uniform line. */
.date-pill,
.btn-companion-success,
.btn-companion-danger {
    display: inline-block;
    padding: 0.35rem 0.6rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid transparent;
    white-space: nowrap;
    line-height: 1.2;
    cursor: default;
}

/* Unify the table-row typography (lastname, firstname, email, points, …) to
   the same scale as the pills so the row feels cohesive at a glance. */
.js-filter-content > tr > td { font-size: 0.9rem; }
.date-pill--neutral {
    background-color: #f1f3f7;
    border-color: rgba(33, 59, 91, 0.12);
    color: #213B5B;
}

.btn-companion-danger {
    background-color: #FFD1D5;
    border-color: #ed696c;
    color: #E94553;
    font-weight: bold;
    cursor: default;
}
.btn-companion-danger:hover,
.btn-companion-danger:focus,
.btn-companion-danger:active {
    background-color: #FFD1D5;
    border-color: #ed696c;
    color: #E94553;
    box-shadow: none;
}

.btn-companion-success {
    background-color: #4dcc5c5c;
    border-color: #285b2e;
    color: #285b2e;
    font-weight: bold;
    cursor: default;
}
.btn-companion-success:hover,
.btn-companion-success:focus,
.btn-companion-success:active {
    background-color: #4dcc5c5c;
    border-color: #285b2e;
    color: #285b2e;
    box-shadow: none;
}

.circle {
    display: inline-block;
    width: 22px; /* Définir la taille du cercle */
    height: 22px; /* Définir la taille du cercle */
    border-radius: 50%; /* Créer un cercle */
    background-color: red; /* Changer la couleur du cercle */
    color: white; /* Changer la couleur du texte */
    text-align: center; /* Centrer le texte dans le cercle */
    line-height: 22px; /* Centrer le texte verticalement */
    font-size: 12px; /* Changer la taille du texte */
}

.card-member>.table>tbody>tr>td, .card-member>.card-body>.table>tbody>tr>td {
    color:#707070;
}

.input-group-text {


    border-top-right-radius: 10px !important;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    border-top : 1px solid #707070;
    border-right : 1px solid #707070;
    border-left: 1px solid #707070;
    color: #213B5B;
}

.text-area {
    border-bottom-left-radius: 10px !important;
    border-bottom-right-radius: 10px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border : 1px solid #707070;

}

.btn-companion {
    background-color: #213B5B;
    border-color: #213B5B;
    color: #fff;
    font-weight: bold;
}

.btn-companion-reverse {
    background-color: #69A4ED48;
    border-color: #213B5B;
    color: #213B5B;
    font-weight: bold;
}

.btn-companion-reverse:hover {
    background-color: #213B5B;
    border-color: #213B5B;
    color: #fff;
    font-weight: bold;
}

#login-checkbox:checked {
    background-color: #213B5B;
    border-color: #213B5B;
}

.popover-hover:hover {
    cursor: pointer;
}

.sign-up:hover {
    cursor: pointer;
    color: #213b5bc2;
}

