#content_search {
    max-height: 320px;
    overflow-y: auto;
}

.btn-discret {
    background: transparent;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    color: #6c757d;
    font-size: .78rem;
    padding: 4px 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.4;
    font-family: inherit;
    transition: background .15s, color .15s;
}
.btn-discret:hover {
    background: #f1f3f5;
    color: #343a40;
}
.btn-discret .btn-discret-ico {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: #eaecee;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .65rem;
    flex-shrink: 0;
    transition: background .15s;
}
.btn-discret:hover .btn-discret-ico {
    background: #dee2e6;
}

/* ── Mode saisie libre (carte cadeau) ── */
.gift-mode-pill {
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 12px;
    border: 1.5px solid #dee2e6;
    border-radius: 8px;
    background: #f8f9fa;
    transition: border-color .15s, background .15s;
    user-select: none;
}
.gift-mode-pill input[type="radio"] { display: none; }
.gift-mode-dot {
    width: 14px; height: 14px;
    border-radius: 50%;
    border: 2px solid #ced4da;
    flex-shrink: 0;
    margin-top: 3px;
    transition: all .15s;
}
.gift-mode-pill.active-n { border-color: #0d6efd; background: #eef3ff; }
.gift-mode-pill.active-n .gift-mode-dot { border-color: #0d6efd; background: #0d6efd; box-shadow: inset 0 0 0 3px #eef3ff; }
.gift-mode-pill.active-l { border-color: #fd7e14; background: #fff4e6; }
.gift-mode-pill.active-l .gift-mode-dot { border-color: #fd7e14; background: #fd7e14; box-shadow: inset 0 0 0 3px #fff4e6; }
.gift-pill-name { font-size: .82rem; font-weight: 600; color: #343a40; }
.gift-pill-sub  { font-size: .7rem;  color: #6c757d; margin-top: 2px; }
.gift-mode-pill.active-n .gift-pill-name { color: #0d6efd; }
.gift-mode-pill.active-l .gift-pill-name { color: #fd7e14; }

.table-hover tbody tr:hover,
.table-hover tbody tr:hover > td,
.table-hover tbody tr:hover > th {
    background-color: #dbeafe !important;
    color: #1e3a5f !important;
}

.form-switch .form-check-input {
    margin-right: 1em;
    height: 1.3em;
    width: 2.3em;
    margin-top: 0.1em;
}

.form-check-label{
    margin-left: 0.5em;
}

.div-datepicker .ui-datepicker {
    width: 90%;
  }
  .div-datepicker .ui-datepicker td span,
  .div-datepicker .ui-datepicker td a {
    padding:1em;
    color:black!important;
    text-align:center;
    font-size:1.2em;
  }

  .datepicker table tr td.today, .datepicker table tr td.today.disabled, .datepicker table tr td.today.disabled:hover, .datepicker table tr td.today:hover {
    background-color: #0d6efd;
    background-image:linear-gradient(to bottom,#0d6efd,#0d6efd);  
}

.offcanvas-start {
  width: 300px;
}

.container-bloc{
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.cube {
  margin-bottom: 20px;
  background-color: #fff;
  border: 1px solid transparent;
  border-radius: 4px;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
          box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}
.cube-body {
  padding: 15px;
}
.cube-heading {
  padding: 10px 15px;
  border-bottom: 1px solid transparent;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
.cube-heading > .dropdown .dropdown-toggle {
  color: inherit;
}
.cube-title {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 16px;
  color: inherit;
}
.cube-title > a,
.cube-title > small,
.cube-title > .small,
.cube-title > small > a,
.cube-title > .small > a {
  color: inherit;
}
.cube-info {
  border-color: #bce8f1;
}
.cube-info > .cube-heading {
  color: #31708f;
  background-color: #d9edf7;
  border-color: #bce8f1;
}
.cube-info > .cube-heading + .cube-collapse > .cube-body {
  border-top-color: #bce8f1;
}
.cube-info > .cube-heading .badge {
  color: #d9edf7;
  background-color: #31708f;
}
.cube-info > .cube-footer + .cube-collapse > .cube-body {
  border-bottom-color: #bce8f1;
}

.bi {
  vertical-align: -.125em;
  pointer-events: none;
  fill: currentColor;
}

#employe-list {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
}

.mb-5px {
  margin-bottom: 5px;
}

/* ── Multi-sélection gift ──────────────────────────── */
.gift-multi-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #0d6efd;
    color: #fff;
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 500;
}
.gift-chip-x {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255,255,255,.3);
    font-size: 10px;
    cursor: pointer;
    flex-shrink: 0;
    line-height: 1;
}
.gift-chip-x:hover { background: rgba(255,255,255,.55); }

.gift-check { cursor: pointer; width: 15px; height: 15px; }
.gift-check:disabled { cursor: not-allowed; opacity: .35; }

/* ── Pills type massage (Solo/Duo | Formule/Mixte/Autre) ── */
.pill-type-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
}
.pill-type-wrap {
    position: relative;
    display: inline-block;
}
.pill-type-wrap input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.pill-type-wrap label {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    border: 1.5px solid #dee2e6;
    background: #ffffff;
    color: #6c757d;
    font-size: .78rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .12s, background .12s, color .12s;
    user-select: none;
    margin-bottom: 0;
    white-space: nowrap;
}
.pill-type-wrap label:hover {
    border-color: #0d6efd;
    color: #0d6efd;
}
.pill-type-wrap input[type="radio"]:checked + label {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #ffffff;
}
.pill-type-wrap input[type="radio"]:checked + label:hover {
    background: #0b5ed7;
    border-color: #0b5ed7;
}

