body {
  background-color: ghostwhite;
  font-family: Lato, sans-serif;
}

h3 {
  color: darkslategray;
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 2rem;
}

h4 {
  color: darkslategray;
  font-weight: 300;
  margin-top: 0;
}

p {
  font-weight: 300;
}

button {
  height: 50px;
  background-color: dodgerblue;
  color: white;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 5px;
  border: none;
}

.back-btn {
  margin-bottom: 30px;
  border-radius: 50%;
  border: 2px solid ghostwhite;
  background-color: white;
  height: 40px;
  width: 40px;
}

.back-btn:hover {
  background-color: lightblue;
}

.back-btn:focus {
  outline: 0;
}

.back-btn .arrow-icon {
  width: 20px;
  margin-top: 3px;
}

label {
  font-size: 0.85rem;
  font-family: Lato, sans-serif;
  font-weight: 600;
  color: darkslategray;
}

input {
  display: block;
  height: 40px;
  border: 1px solid lightgray;
  border-radius: 0;
  margin: 10px 0 20px 0;
  padding: 0 15px;
  font-family: Lato, sans-serif;
  color: darkslategray;
  font-size: 1rem;
}

input:focus {
  outline: 0;
  border: 1.5px solid dodgerblue;
  border-radius: 0;
}

.divider {
  height: 100%;
  border-left: solid .5px whitesmoke;
}

.container {
  background-color: white;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 100px auto;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border-radius: 10px;
  height: 525px;
  max-width: 800px;
}

.description-section {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  margin: 30px;
}

.body-section {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  margin: 30px;
}

hgroup {
  line-height: 0.8rem;
  margin-bottom: 30px;
}

#event {
  font-weight: 700;
  color: darkslategray;
}

#scheduler, #duration {
  font-weight: 400;
  color: darkgray;
}

#event-time-stamp {
  margin: 0;
  margin-left: 5px;
  font-weight: 400;
  color: mediumseagreen;
  line-height: 1.3;
}

.icon-text-div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 0.5rem;
}

.icon-text-div img {
  width: 20px;
  height: 20px;
  margin-right: 5px;
}

.icon-text-div #duration {
  margin: 0;
}

/* Styles spécifiques Calendly Clone pour éviter les conflits WordPress */
#calendly-clone-front .container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 5px;
    width: 100%;
    box-sizing: border-box;
    height: auto!important;
}
#calendly-clone-front .description-section {
    max-width: 300px;
    min-width: 250px;
    padding: 24px 16px 24px 24px;
    box-sizing: border-box;
}
#calendly-clone-front .body-section {
    width: 60%;
    min-width: 300px;
    padding: 24px 24px 24px 0;
    box-sizing: border-box;
}
#calendly-clone-front .divider {
    width: 2px;
    background: #f0f0f0;
    min-height: 350px;
    margin: 0 16px;
}


#calendly-clone-front .icon-text-div {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}
#calendly-clone-front #description {
    margin-top: 18px;
    color: #222;
    font-size: 1.1em;
}
#calendly-clone-front h3 {
    font-size: 2rem;
    text-align: center;
}
#calendly-clone-front #schedule-div {
    margin-top: 18px;
    display: block;
    transition: all 0.3s;
}
#calendly-clone-front #available-times-div {
    display: none;
}
#calendly-clone-front #schedule-div.show-slots {
    display: flex;
    flex-direction: row;
    gap: 24px;
    align-items: flex-start;
}
#calendly-clone-front #schedule-div.show-slots #calendar {
    flex: 1 1 0;
    min-width: 320px;
}
#calendly-clone-front #schedule-div.show-slots #available-times-div {
    display: block;
    min-width: 220px;
    max-width: 260px;
    background: #fff;
    border-radius: 8px;
    margin-left: 0;
}
#calendly-clone-front img[alt="clock-icon"],
#calendly-clone-front img[alt="calendar-icon"] {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

/* --- Charte graphique Calendly Clone --- */
:root {
  --calendly-orange: initial;
  --calendly-blue: initial;
  --calendly-bg: initial;
  --calendly-border: initial;
  --calendly-radius: initial;
  --calendly-shadow: initial;
}

/* Pleine largeur pour le conteneur principal du shortcode */
#calendly-clone-front .container {
  width: 100%; /* Correction : ne pas dépasser la colonne admin */
  max-width: 100%;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  border: none;
  padding: 0;
}

#calendly-clone-front .description-section,
#calendly-clone-front .body-section {
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 32px 24px;
  margin: 24px 0;
}

#calendly-clone-front h2, #calendly-clone-front h3, #calendly-clone-front h4 {
  color: inherit;
  font-family: 'Lato', Arial, sans-serif;
}


#calendly-clone-front h3 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1em;
}
#calendly-clone-front h4 {
  font-size: 2em;
  font-weight: 500;
}

#calendly-clone-front .icon-text-div img {
  filter: brightness(0) saturate(100%) invert(16%) sepia(99%) saturate(7492%) hue-rotate(200deg) brightness(90%) contrast(110%);
}

/* Bloc type de rendez-vous modernisé */
#calendly-clone-front #type-rdv-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
#calendly-clone-front .rdv-radio-group {
  display: flex;
  flex-direction: row;
  gap: 2em;
  margin-top: 1em;
}
#calendly-clone-front .rdv-radio-item {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 1.1em;
  font-weight: 500;
  width: auto;
  min-width: 0;
}
#calendly-clone-front .rdv-radio-item label {
  width: auto;
  min-width: 0;
  display: inline-block;
  margin: 0;
  padding: 0 0.2em;
  font-weight: 500;
  color: #222;
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
}
#calendly-clone-front input[type="radio"] {
  margin: 0;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
#calendly-clone-front #type-rdv-block label[for^="type-rdv-"] {
  margin: 0;
  cursor: pointer;
  font-weight: 500;
}

/* Bouton principal modernisé */
#calendly-clone-front button:not(.btn-type),
#calendly-clone-front .fc-button {
  background: dodgerblue;
  color: #fff;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: none;
  transition: background 0.2s;
}
#calendly-clone-front button:not(.btn-type):hover,
#calendly-clone-front .fc-button:hover {
  background: #1e90ff;
}

/* Calendrier modernisé */
#calendly-clone-front #calendar {
  width: 100%; /* Correction : s'adapte à la colonne */
  max-width: 400px; /* Largeur raisonnable pour admin */
  min-width: 0;
  margin: 0 auto; /* Centre le calendrier */
  height: 420px;
  max-height: 420px;
  box-sizing: border-box;
  /* overflow: auto; */
}
#calendly-clone-front #calendar th,
#calendly-clone-front #calendar .fc-col-header-cell {
  text-decoration: none !important;
  border-bottom: none !important;
}
#calendly-clone-front #calendar .fc-scrollgrid-sync-table {
  overflow-y: hidden !important;
}
#calendly-clone-front .fc-toolbar-title {
  color: var(--calendly-blue);
  font-size: 1.3em;
  font-weight: 700;
}
#calendly-clone-front .fc-day-today {
  background: blue !important;
  /* background: ghostwhite !important; */
  border-radius: 0 !important;
  box-shadow: none !important;
}
#calendly-clone-front .fc-daygrid-day.fc-day-selected {
  /* background: var(--calendly-orange) !important; */
  background: dodgerblue !important;
  color: #fff !important;
  border-radius: 50%;
}

/* Formulaire de réservation modernisé */
#calendly-clone-front #register-section input,
#calendly-clone-front #register-section textarea {
  border: 1.5px solid var(--calendly-blue);
  border-radius: 6px;
  padding: 0.6em 1em;
  font-size: 1em;
  margin-bottom: 1em;
  background: #f8f9fb;
  color: #222;
  transition: border 0.2s;
}
#calendly-clone-front #register-section input:focus,
#calendly-clone-front #register-section textarea:focus {
  border: 1.5px solid var(--calendly-orange);
  outline: none;
}

#calendly-clone-front #register-section label {
  color: var(--calendly-blue);
  font-weight: 600;
  margin-bottom: 0.2em;
}

#calendly-clone-front #register-section form#calendly-register-form {
  margin: 0 auto;
  padding: 0;
  flex-direction: column;
  align-items: center;
}
#calendly-clone-front #register-section label {
  margin-bottom: 0.2em;
  margin-top: 0.5em;
  width: 100%;
  text-align: left;
}
#calendly-clone-front #register-section input,
#calendly-clone-front #register-section textarea {
  margin-bottom: 0.5em;
  margin-top: 0;
  height: 36px;
  min-height: 36px;
  padding: 0.3em 0.8em;
  width: 100%;
  box-sizing: border-box;
}
#calendly-clone-front #register-section textarea {
  height: 60px;
  min-height: 40px;
  resize: vertical;
}
#calendly-clone-front #register-section button {
  margin-top: 0.8em;
  width: 100%;
  align-self: center;
}

/* Responsive amélioré */
@media (max-width: 900px) {
  #calendly-clone-front .container {
    flex-direction: column;
    padding: 0;
  }
  #calendly-clone-front .description-section,
  #calendly-clone-front .body-section {
    width: 100%;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }
  #calendly-clone-front #calendar {
    min-width: unset;
    width: 100%;
  }
  #calendly-clone-front .divider {
    display: none !important;
  }
  #calendly-clone-front .time-btn,
  #calendly-clone-front .confirm-btn {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 1em;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
  }
  #calendly-clone-front .time-slot {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
  }
  #calendly-clone-front #available-times-div {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
  #calendly-clone-front #schedule-div {
    display: flex;
    flex-direction: column;
  }
  #calendly-clone-front #calendar {
    order: 1;
    margin-bottom: 1em;
  }
  #calendly-clone-front #available-times-div {
    order: 2;
    display: block !important;
    width: 100%;
    margin-left: 0;
    margin-top: 0.5em;
    padding: 0;
    box-sizing: border-box;
  }
}

@media (max-width: 1250px) {
  .container {
    display: block;
    height: 85vh;
    text-align: center;
    width: 645px;
    margin: 50px auto;
    overflow-y: scroll;
  }
  .description-section {
    padding-top: 30px;
    margin: 30px 100px;
  }
  .body-section {
    margin: 30px 50px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .icon-text-div {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .divider {
    height: auto;
    border-top: solid .5px whitesmoke;
  }
}

@media (max-width: 645px) {
  body {
    background-color: white;
  }
  .container {
    background-color: none;
    width: auto;
    margin: 50px 0;
    overflow: auto;
  }
  .description-section {
    padding: 0;
    margin: 30px 5%;
  }
  .body-section {
    padding: 0;
    margin: 30px 2%;
  }
}
/*# sourceMappingURL=styles.css.map */

#calendly-clone-front #calendar a {
  text-decoration: none !important;
}

#calendly-clone-front .time-btn {
  border: 1px solid lightblue;
  color: dodgerblue;
  background-color: white;
  width: 100%;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 1em;
  border-radius: 5px;
  padding: 0.5em 0;
  transition: border 0.2s, background 0.2s, color 0.2s;
}
#calendly-clone-front .time-btn:hover {
  border-width: 2px;
  border-color: dodgerblue;
}
#calendly-clone-front .time-btn:focus {
  background-color: gray;
  font-weight: 500;
  color: white;
  outline: none;
  border: none;
}
#calendly-clone-front .time-btn:focus:hover {
  border: none;
}

#calendly-clone-front .confirm-btn {
  width: 100%;
  margin-left: 5px;
  border-radius: 5px;
  font-size: 1em;
  font-weight: 600;
  padding: 0.5em 0;
  background: dodgerblue;
  color: #fff;
  border: none;
  transition: background 0.2s, opacity 0.2s;
  display: block;
}
#calendly-clone-front .confirm-btn:hover {
  opacity: 0.8;
}
#calendly-clone-front .confirm-btn:focus {
  outline: 0;
  opacity: 0.8;
}

#calendly-clone-front #event {
  font-size: 1.3em;
  color: #2d3a4a;
  font-weight: 500;
  margin: 0.2em 0 0.5em 0;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: left;
}

/* --- Responsive Calendly Clone : cacher le calendrier sur mobile quand une date est sélectionnée --- */
@media (max-width: 645px) {
  #calendly-clone-front #schedule-div.show-slots #calendar {
    display: none;
  }
  #calendly-clone-front #schedule-div.show-slots #available-times-div {
    display: block;
    width: 100%;
    max-width: 100vw;
    margin: 0;
  }
}

body, .wrap, .calendly-row-even, .calendly-row-odd, .calendly-creneau-item, .calendly-creneaux-list, .button {
    font-family: Arial, sans-serif !important;
    font-size: 14px !important;
}
.calendly-row-even {
    background: #e3f0ff !important;
}
.calendly-row-odd {
    background: transparent !important;
}
.calendly-row-even, .calendly-row-odd {
    border-radius: 6px;
    padding: 4px 0;
    margin-bottom: 20px;
    padding: 10px;
}
.calendly-creneau-item input.calendly-timepicker {
    font-family: Arial, sans-serif !important;
    font-size: 14px !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    padding: 0 8px;
}
.calendly-creneau-item .calendly-remove-creneau {
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    line-height: 30px !important;
    font-size: 18px !important;
    padding: 0 8px;
}
.button, .calendly-add-creneau-diff, #calendly-add-creneau-same {
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    font-size: 14px !important;
    padding: 0 16px !important;
    line-height: 30px !important;
    border-radius: 4px !important;
    box-sizing: border-box;
}

#same_slots_div label,
#diff_slots_div label,
input[name="creneaux_type"] + label,
input[name="creneaux_type"] {
    font-family: Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600;
    color: #222;
}

.calendly-radio-group label {
    font-family: Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #222 !important;
    margin-right: 18px;
    cursor: pointer;
}
.calendly-radio-group input[type="radio"] {
    vertical-align: middle;
    margin-right: 4px;
}

/* DataTable admin rendez-vous */
.datatable-search {
  margin-bottom: 10px;
  padding: 6px 12px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 250px;
}
.datatable-pagination {
  margin-top: 10px;
  text-align: right;
}
.datatable-pagination button {
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  margin-left: 2px;
  margin-right: 2px;
  padding: 4px 10px;
  cursor: pointer;
}
.datatable-pagination button.active {
  background: #1976d2;
  color: #fff;
  font-weight: bold;
}
tr.rdv-row.selected {
  background: #e3eafc !important;
}
tr.rdv-row:hover {
  background: #e3eafc !important;
  transition: background 0.15s;
  box-shadow: 0 2px 8px 0 rgba(30,80,200,0.06);
}
.datatable-actions-th, .datatable-actions {
  text-align: center;
}
.datatable-actions-th {
  width: 70px !important;
  min-width: 70px !important;
  max-width: 70px !important;
}
.datatable-actions {
  min-width: 70px !important;
  max-width: 70px !important;
  width: 70px !important;
}
.datatable-actions {
  min-width: 120px;
  text-align: center;
  vertical-align: middle;
  background: transparent;
}
.datatable-actions-th {
  text-align: center;
}
.datatable-delete-btn, .datatable-read-btn {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 2px 4px !important;
  margin: 0 2px !important;
  color: #888;
  font-size: 18px;
  min-width: 28px;
  min-height: 28px;
  height: 28px;
  width: 28px;
  vertical-align: middle;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.datatable-delete-btn svg, .datatable-read-btn svg {
  width: 20px;
  height: 20px;
  display: block;
}
.datatable-delete-btn:hover {
  color: #d32f2f;
  background: #ffeaea;
}
.datatable-read-btn:hover {
  color: #388e3c;
  background: #eafbe7;
}

.datatable-actions .datatable-delete-btn,
.datatable-actions .datatable-read-btn {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 2px 4px !important;
  margin: 0 2px !important;
  color: #888 !important;
  font-size: 18px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  height: 28px !important;
  width: 28px !important;
  vertical-align: middle !important;
  cursor: pointer !important;
  transition: color 0.15s, background 0.15s !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

.datatable-actions .datatable-delete-btn svg,
.datatable-actions .datatable-read-btn svg {
  width: 20px !important;
  height: 20px !important;
  display: block !important;
  pointer-events: none;
}

.datatable-actions .datatable-delete-btn:hover {
  color: #d32f2f !important;
  background: #ffeaea !important;
}

.datatable-actions .datatable-read-btn:hover {
  color: #388e3c !important;
  background: #eafbe7 !important;
}

/* Barre d'action et recherche alignées */
.datatable-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.datatable-multi-delete,
.datatable-multi-read {
  margin: 5px !important;
}
.datatable-search {
  margin-bottom: 0;
  margin-left: auto;
}

/* Styles pour l'interface admin Calendly Clone */

/* Styles généraux */
.calendly-badge-menu {
    background: #d32f2f;
    color: #fff;
    border-radius: 50%;
    padding: 2px 8px;
    font-size: 0.9em;
    margin-left: 6px;
    vertical-align: middle;
}

.badge-rdv, .badge-demo {
    background: #d32f2f;
    color: #fff;
    border-radius: 50%;
    padding: 2px 8px;
    font-size: 0.9em;
    margin-left: 6px;
    vertical-align: middle;
}

/* Styles pour les onglets */
#calendly-tabs {
    display: flex;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 20px;
    gap: 0.5em;
}

.tab-btn {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    padding: 10px 30px;
    font-size: 1.1em;
    color: #555;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    outline: none;
    position: relative;
    top: 2px;
}

.tab-btn.active {
    background: #fff;
    color: #1976d2;
    font-weight: bold;
    border-bottom: 2px solid #fff;
    z-index: 2;
}

.tab-btn:not(.active):hover {
    background: #e3eafc;
    color: #1976d2;
}

.tab-content {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 0 8px 8px 8px;
    padding: 20px 10px 10px 10px;
    margin-top: -1px;
}

/* Styles pour les lignes de rendez-vous */
tr.rdv-row.nonlu {
    font-weight: bold;
    background: #fff;
}

tr.rdv-row.lu {
    font-weight: normal;
    color: #888;
    background: #f7f7f7;
}

/* Styles pour les boutons d'action */
.datatable-read-btn,
.datatable-delete-btn {
    padding: 4px 8px !important;
    margin: 2px !important;
    min-width: auto !important;
    height: auto !important;
}

.datatable-read-btn .dashicons,
.datatable-delete-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.datatable-multi-read,
.datatable-multi-delete {
    margin-right: 10px !important;
}

.multi-actions {
    background: #f9f9f9;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

/* Styles pour DataTables */
.dataTables_wrapper {
    margin-top: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Contrôles de longueur (Afficher X entrées) */
.dataTables_length {
    float: left;
    margin-bottom: 15px;
    font-size: 14px;
    color: #333;
}

.dataTables_length label {
    display: inline-flex;
    align-items: center;
    margin: 0;
    font-weight: normal;
}

.dataTables_length select {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 6px 10px;
    margin: 0 8px;
    background: white;
    font-size: 14px;
    min-width: 60px;
    height: 35px;
}

/* Contrôles de recherche */
.dataTables_filter {
    float: right;
    margin-bottom: 15px;
    text-align: right;
}

.dataTables_filter label {
    display: inline-flex;
    align-items: center;
    margin: 0;
    font-weight: normal;
    font-size: 14px;
    color: #333;
}

.dataTables_filter input {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    margin-left: 8px;
    background: white;
    font-size: 14px;
    min-width: 200px;
    height: 35px;
    box-sizing: border-box;
}

.dataTables_filter input:focus {
    outline: none;
    border-color: #1976d2;
    box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.2);
}

/* Informations sur les données */
.dataTables_info {
    float: left;
    margin-top: 15px;
    font-size: 14px;
    color: #666;
    clear: both;
}

/* Pagination */
.dataTables_paginate {
    float: right;
    margin-top: 15px;
    text-align: right;
}

.dataTables_paginate .paginate_button {
    border: 1px solid #ddd !important;
    background: #fff !important;
    color: #333 !important;
    padding: 8px 12px !important;
    margin: 0 2px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    text-decoration: none !important;
    display: inline-block !important;
    min-width: 32px !important;
    text-align: center !important;
    transition: all 0.2s ease !important;
}

.dataTables_paginate .paginate_button:hover {
    background: #f5f5f5 !important;
    border-color: #1976d2 !important;
    color: #1976d2 !important;
}

.dataTables_paginate .paginate_button.current {
    background: #1976d2 !important;
    color: #fff !important;
    border-color: #1976d2 !important;
    font-weight: bold !important;
}

.dataTables_paginate .paginate_button.disabled {
    color: #ccc !important;
    cursor: not-allowed !important;
    background: #f9f9f9 !important;
    border-color: #eee !important;
}

.dataTables_paginate .paginate_button.previous,
.dataTables_paginate .paginate_button.next {
    font-weight: bold !important;
}

/* Styles pour les colonnes */
.datatable th {
    background: #f5f5f5;
    font-weight: bold;
    padding: 12px 8px;
    border-bottom: 2px solid #ddd;
}

.datatable td {
    padding: 10px 8px;
    vertical-align: middle;
}

.datatable tbody tr:hover {
    background-color: #f8f9fa;
}

/* Styles pour les checkboxes */
.datatable input[type="checkbox"] {
    margin: 0;
    vertical-align: middle;
}

/* Nettoyage et alignement */
.dataTables_wrapper::after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive pour les petits écrans */
@media (max-width: 768px) {
    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter {
        float: none;
        text-align: left;
        margin-bottom: 10px;
        width: 100%;
    }
    
    .dataTables_wrapper .dataTables_info,
    .dataTables_wrapper .dataTables_paginate {
        float: none;
        text-align: center;
        margin-top: 10px;
        width: 100%;
    }
    
    .dataTables_filter input {
        min-width: 150px;
        width: 100%;
        max-width: 300px;
    }
    
    .dataTables_length select {
        min-width: 50px;
    }
    
    .tab-btn {
        padding: 8px 15px;
        font-size: 1em;
    }
    
    .multi-actions {
        text-align: center;
    }
    
    .datatable-multi-read,
    .datatable-multi-delete {
        display: block;
        width: 100%;
        margin: 5px 0 !important;
    }
}

/* Animation pour les changements d'état */
.rdv-row {
    transition: background-color 0.3s ease;
}

/* Styles pour les messages d'état */
.datatable-actions span {
    font-size: 12px;
    font-weight: bold;
}

/* Amélioration de l'accessibilité */
.datatable th:focus,
.datatable td:focus {
    outline: 2px solid #1976d2;
    outline-offset: -2px;
}

/* Styles pour les tooltips */
.datatable td[title] {
    cursor: help;
}

/* Styles pour les colonnes de date et heure */
.datatable td:nth-child(8),
.datatable td:nth-child(9) {
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

/* ===== STYLES POUR LES DATES PASSÉES ===== */

/* Styles pour les dates passées dans le calendrier */
.fc-day-past {
    /* background-color: #f5f5f5 !important; */
    color: #999 !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

.fc-day-past .fc-daygrid-day-number {
    color: #999 !important;
    cursor: not-allowed !important;
}

.fc-day-past:hover .fc-daygrid-day-number {
    background-color: transparent !important;
    color: #999 !important;
}

/* ===== NOUVELLE INTERFACE MODALE ===== */

/* Section principale avec layout en 2 colonnes */
.main-section {
    display: flex;
    gap: 40px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 0;
    box-shadow: none;
}

/* Colonne gauche - Informations pratiques */
.info-column {
    flex: 1;
    max-width: 400px;
    padding: 0;
}

.info-column h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 40px;
    margin-top: 0;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
    margin-top:50px!important;
}

.info-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    margin-top: 5px;
}

.info-icon svg {
    width: 100%;
    height: 100%;
}

.info-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 10px 0;
}

.phone-number {
    font-size: 1.4rem;
    font-weight: 800;
    color: #4A90E2;
    margin: 0;
}

.phone-number a {
    color: #4A90E2;
    text-decoration: none;
    font-weight: 800;
}

.phone-number a:hover {
    color: #3a7bd5;
    text-decoration: underline;
}

/* Image promotionnelle de la caisse enregistreuse */
.info-image {
    margin-top: 30px;
    text-align: center;
}

.caisse-image {
    max-width: 100%;
    height: auto;
    /* border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease; */
}

/* Masquer l'image sur mobile */
@media (max-width: 768px) {
    .info-image {
        display: none;
    }
}


/* Colonne droite - Formulaire de contact */
.form-column {
    flex: 1;
    padding: 0;
}

.form-column h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    margin-top: 0;
}

/* Styles du formulaire */
.ifb-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-field {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-field.full-width {
    flex: 1 1 100%;
}

.form-field label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    background: white;
    color: #2c3e50;
    transition: border-color 0.3s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #4A90E2;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.1);
}

.form-field textarea {
    resize: vertical;
    min-height: 100px;
}

/* Styles pour le select */
.form-field select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
    appearance: none;
}

/* Section politique de confidentialité */
.privacy-section {
    margin-top: 20px;
}

.privacy-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.privacy-checkbox input[type="checkbox"] {
    margin: 0;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.privacy-checkbox label {
    font-size: 0.9rem;
    color: #2c3e50;
    line-height: 1.4;
    margin: 0;
}

.privacy-link {
    color: #FF6B35;
    text-decoration: underline;
    font-weight: 600;
}

.privacy-link:hover {
    color: #e55a2b;
}

.privacy-info {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
    margin-top: 10px;
}

/* Boutons orange identiques */
.btn-appointment, .btn-submit {
    padding: 15px 30px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600!important;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 50px;
    background-color: #FF6B35 !important;
    color: white !important;
    width: 100%;
    max-width: 250px;
}

/* Container pour les boutons côte à côte */
.buttons-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    font-weight: 700!important;
}

#btn-send-message-direct, #btn-take-appointment-direct{
  font-weight: 700!important;
  max-width: 300px;
}

.btn-appointment:hover,
.btn-submit:hover {
    background-color: #e55a2b !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* S'assurer que tous les boutons du formulaire sont orange */
#ifb-contact-form-direct button,
.btn-rdv,
.btn-submit {
    background-color: #FF6B35 !important;
    color: white !important;
    border: none !important;
    height: 50px!important;
}

#ifb-contact-form-direct button:hover,
.btn-rdv:hover,
.btn-submit:hover {
    background-color: #e55a2b !important;
}

/* Message de succès */
.success-message {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 20px;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.success-message h3 {
    color: #28a745;
    margin-bottom: 10px;
}

.success-message p {
    color: #666;
    margin: 0;
}

/* Section initiale avec boutons (pour compatibilité) */
.initial-content {
    text-align: center;
    padding: 40px 20px;
}

.initial-content h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: darkslategray;
}

.initial-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

.initial-buttons {
    display: flex;
    /* flex-direction: column; */
    gap: 20px;
    /* max-width: 600px; */
    margin: 0 auto;
}

.btn-type {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 60px;
}

.btn-primary {
    background-color: dodgerblue;
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 144, 255, 0.3);
}

.btn-secondary {
    background-color: #f8f9fa;
    color: darkslategray;
    border: 2px solid #e9ecef;
}

.btn-secondary:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-icon {
    font-size: 1.5rem;
}

.btn-text {
    font-size: 1.1rem;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modal Container */
.modal-container {
    background: white;
    border-radius: 15px;
    width: 900px !important;
    max-height: 95vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Modal Header */
.modal-header {
    background: #ff6b35;
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
}

.modal-close:hover {
    color: #f0f0f0;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Steps Indicator */
.steps-indicator {
    display: flex;
    gap: 20px;
    flex: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    width: calc(100%);
    height: 2px;
    background-color: #e9ecef;
    z-index: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e9ecef;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

/* Animation d'onde pour l'étape en cours */
.step-number.active {
    animation: pulse-wave 2s infinite;
}

@keyframes pulse-wave {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.step-label {
    font-size: 0.8rem;
    color: white;
    text-align: center;
    font-weight: 500;
    margin-bottom: 4px;
}

/* États des étapes - Les styles sont maintenant gérés par JavaScript */
.step .step-number {
    transition: all 0.3s ease;
}

/* Modal Body */
.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* Modal Steps */
.modal-step {
    display: none;
}

.modal-step.active {
    display: block;
}

/* Form Actions - Supprimé car plus de bouton continuer */



/* Message flash de confirmation */
.flash-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #ff6b35;
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    font-weight: 500;
    max-width: 300px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.flash-message.show {
    transform: translateX(0);
}

.flash-message.success {
    background-color: #ff6b35;
}

.flash-message.error {
    background-color: #dc3545;
}

.flash-message::before {
    content: "✅ ";
    margin-right: 8px;
}

.flash-message.error::before {
    content: "❌ ";
    margin-right: 8px;
}

/* Styles pour le calendrier dans la modal */
#calendar-step #calendar {
    font-family: Lato, sans-serif;
    font-weight: 300;
    margin-bottom: 20px;
}

/* Application de la police Lato à tous les éléments du calendrier FullCalendar */
/* Exclusion des icônes pour préserver la police d'icônes de FullCalendar */
.fc,
.fc-theme-standard,
.fc-toolbar,
.fc-toolbar-title,
.fc-col-header-cell,
.fc-daygrid-day,
.fc-daygrid-day-number,
.fc-button-primary,
.fc-daygrid-day-top,
.fc-daygrid-day-frame,
.fc-scrollgrid {
    font-family: Lato, sans-serif !important;
}

/* Les boutons du calendrier utilisent Lato SAUF pour les icônes à l'intérieur */
.fc-button:not(.fc-icon):not(.fc-icon-chevron-left):not(.fc-icon-chevron-right) {
    font-family: Lato, sans-serif !important;
}

/* Préserver la police d'icônes 'fcicons' pour les icônes FullCalendar */
.fc-icon,
.fc-icon::before,
.fc-icon-chevron-left,
.fc-icon-chevron-left::before,
.fc-icon-chevron-right,
.fc-icon-chevron-right::before {
    font-family: 'fcicons' !important;
}

#calendar-step .fc-theme-standard td, 
#calendar-step .fc-theme-standard th {
    border: none;
}

#calendar-step .fc-toolbar-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    text-align: center;
}

#calendar-step .fc-today-button {
    display: none;
}

#calendar-step .fc-prev-button, 
#calendar-step .fc-next-button {
    color: #333;
    background-color: white;
    border: 1px solid #e9ecef;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    outline: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 0 5px;
}

#calendar-step .fc-prev-button:hover, 
#calendar-step .fc-next-button:hover {
    background-color: #f8f9fa;
    border-color: #007bff;
    color: #007bff;
}

#calendar-step .fc .fc-button-primary:focus {
    box-shadow: none;
    outline: none;
}

#calendar-step .fc-col-header-cell {
  font-weight: 500;
  font-size: 0.9rem;
  color: #333;
  text-align: center;
  padding: 10px 0;
}

#calendar-step .fc-daygrid-day {
  font-weight: 400;
  color: #333;
  text-align: center;
}

#calendar-step .fc-daygrid-day-number {
  margin: auto;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  color: #333;
  padding: 8px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

#calendar-step .fc-day-today {
    background-color: none !important;
}

#calendar-step .fc-day-today .fc-daygrid-day-number {
    background-color: dodgerblue !important;
    color: white !important;
    width: 25px;
    height: 25px;
    margin-top: 13px;
}

.fc-day-selected .fc-daygrid-day-number{
  color: white!important;
}

#calendar-step .fc-day-disabled {
    background-color: white;
    color: #ccc;
}

#calendar-step .fc-day-disabled .fc-daygrid-day-number {
    color: #ccc;
}

/* Styles pour la sélection de dates dans la modal */
#calendar-step .fc-daygrid-day.fc-day-selected {
    background-color: transparent;
}

#calendar-step .fc-daygrid-day.fc-day-selected .fc-daygrid-day-number {
    background-color: #007bff;
    color: white;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.3);
}

/* Hover effect pour les dates dans la modal */
#calendar-step .fc-daygrid-day:hover .fc-daygrid-day-number {
    /* background-color: #e3f2fd;
    color: #007bff; */
    /* border: 1px solid dodgerblue; */
}

/* Styles pour les créneaux horaires */
#available-times-div {
    /* margin-top: 20px; */
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 0;
}

#available-times-div h4 {
    color: darkslategray;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.time-slot-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 20px;
    margin-bottom: 10px;
    background-color: white;
    border: 2px solid #e9ecef;
    color: darkslategray;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
    min-height: 48px;
}

.time-slot-btn:hover {
    border-color: dodgerblue;
    background-color: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(30, 144, 255, 0.1);
}

.time-slot-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(30, 144, 255, 0.2);
}

/* Confirmation Step */
.confirmation-content {
    text-align: center;
    padding: 40px 20px;
}

.confirmation-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.confirmation-content h3 {
    font-size: 2rem;
    color: #28a745;
    margin-bottom: 15px;
}

.confirmation-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

#confirmation-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 0;
    margin-bottom: 30px;
    text-align: left;
}

.btn-finish {
    background-color: #28a745;
    color: white;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.btn-finish:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Layout principal responsive */
    .main-section {
        flex-direction: column;
        gap: 30px;
        padding: 20px 15px;
    }
    
    .info-column,
    .form-column {
        max-width: 100%;
    }
    
    .info-column h3,
    .form-column h3 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .buttons-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-appointment,
    .btn-submit {
        width: 100%;
        max-width: 100%;
    }
    
    /* Modal responsive */
    .modal-container {
        width: 95% !important;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 15px;
    }
    
    .steps-indicator {
        gap: 10px;
    }
    
    .step-label {
        font-size: 0.7rem;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .initial-buttons {
        max-width: 100%;
        flex-direction: column;
    }
    
    .btn-type {
        padding: 35px;
        font-size: 1rem;
    }
    
    .btn-icon {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .steps-indicator {
        flex-direction: row;
        gap: 8px;
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    
    .step {
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        min-width: 60px;
        flex-shrink: 0;
    }
    
    .step:not(:last-child)::after {
        display: block;
        width: calc(100%);
        left: 50%;
        top: 15px;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
        margin-bottom: 4px;
    }
    
    .step-label {
        display: none;
    }
    
    .modal-header {
        flex-direction: row;
        gap: 10px;
        align-items: center;
        overflow: visible;
    }
    
    .modal-close {
        align-self: center;
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
    
    /* Permettre à l'animation d'onde de déborder */
    .step-number.active {
        overflow: visible;
    }
    
    .steps-indicator {
        overflow: visible;
    }
    
    .step {
        overflow: visible;
    }
    
    .modal-container {
        overflow: visible;
    }
}

/* manomboka ento css [ifb_demo] */
.initial-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 0 auto;
  max-width: 400px;
}

.btn-type {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 25px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 50px;
  width: 200px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background-color: dodgerblue;
  color: white;
}

.btn-primary:hover {
  background-color: #0056b3;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30, 144, 255, 0.2);
}

/* Styles responsive pour mobile */
@media (max-width: 768px) {
  .initial-buttons {
      max-width: 100%;
      flex-direction: column;
      padding: 0 20px;
  }
  
  .btn-type {
      padding: 12px 20px;
      font-size: 0.9rem;
      width: 180px;
      min-height: 45px;
  }
}

#table-demo{
  width: 100%!important;
}