@charset "UTF-8";
/* Appliquer les styles aux checkboxes, sauf ceux dans .wp-list-table */
input[type=checkbox]:not(.wp-list-table input[type=checkbox]) {
  appearance: none;
  -webkit-appearance: none;
  width: 45px;
  height: 25px;
  background-color: #ccc;
  border: none;
  border-radius: 26px;
  position: relative;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
  box-sizing: border-box;
  margin-right: 10px;
}

/* Ajout du bouton à l'intérieur du switch */
input[type=checkbox]:not(.wp-list-table input[type=checkbox])::before {
  content: "" !important;
  position: absolute;
  top: 50%;
  left: 3px;
  transform: translate(0, -50%);
  width: 16px !important;
  height: 16px !important;
  background-color: white;
  border-radius: 50%;
  margin: 0 !important;
  transition: transform 0.2s ease-in-out;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Changement de couleur lorsque coché */
input[type=checkbox]:checked:not(.wp-list-table input[type=checkbox]) {
  background-color: #4caf50;
}

/* Déplacement du bouton interne quand activé */
input[type=checkbox]:checked:not(.wp-list-table input[type=checkbox])::before {
  transform: translate(23px, -50%);
}

#infocob_crm_forms_admin_form_config {
  overflow: hidden;
}

.ms-drop input[type=checkbox] {
  margin-top: 0.15rem;
}

.ms-choice > div {
  background: none;
}
.ms-choice > div.open {
  background: none;
}

span.text.red {
  color: red;
}
span.text.blue {
  color: blue;
}
span.text.bold {
  font-weight: bold;
}

input.infocob_crm_forms_copy {
  width: 250px;
}

.full-width {
  width: 100% !important;
}
.full-width.ms-parent {
  width: 100% !important;
}

div.ms-parent {
  width: 100% !important;
}

table.form-table select.input_type {
  cursor: default;
}
table.form-table .option-dashicon:before {
  cursor: pointer;
}
table.form-table .accordion-options .form-table {
  border-collapse: separate;
  border: 1px dashed grey;
}
table.form-table .accordion-options .form-table .row-up-option, table.form-table .accordion-options .form-table .row-down-option {
  cursor: pointer;
}
table.form-table.inputs tr th, table.form-table.destinataires tr th {
  text-align: center;
}
table.form-table.inputs tr th.sm, table.form-table.destinataires tr th.sm {
  width: 50px;
}
table.form-table.inputs tr td, table.form-table.destinataires tr td {
  text-align: center;
}
table.form-table.inputs tr td input:not([type=checkbox]), table.form-table.inputs tr td select, table.form-table.destinataires tr td input:not([type=checkbox]), table.form-table.destinataires tr td select {
  width: 100%;
}

div.up-down-dashicons {
  display: flex;
  align-items: center;
  margin-right: 10px;
}

.input-flex {
  display: flex;
  padding-bottom: 0 !important;
}

#mode_avance_console {
  width: 100%;
  height: 100px;
}

.mode-avance-console.hidden {
  display: none;
}

#inputsList {
  padding: 30px 0;
}
#inputsList .list-group-item {
  display: flex;
  flex-direction: column;
  border-radius: 5px;
}
#inputsList .list-group-item:hover {
  border-color: #e85a0c;
}
#inputsList .list-group-item:hover.nested-1:not(.nestedGroup) {
  background: #faf3f1;
}
#inputsList .list-group-item > div.rowInputField {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 5px;
  flex-wrap: nowrap;
}
#inputsList .list-group-item > div.rowInputField > div {
  align-self: center;
  justify-content: center;
  display: flex;
  flex-shrink: 2;
  flex-grow: 1;
}
#inputsList .list-group-item > div.rowInputField > div .handle {
  cursor: move;
}
#inputsList .list-group-item > div.rowInputField > div.accept-file {
  flex-grow: 10;
  max-width: 150px;
  min-width: 75px;
}
#inputsList .list-group-item > div.rowInputField > div:first-child {
  justify-content: flex-start;
}
#inputsList .list-group-item > div.rowInputField > div:last-child {
  justify-content: flex-end;
}
#inputsList .list-group-item > div.rowInputField > div .option-dashicon {
  width: 20px;
}
#inputsList .list-group-item > div.rowInputField > div select, #inputsList .list-group-item > div.rowInputField > div input:not([type=checkbox]) {
  min-width: 50px;
  width: 100%;
}
#inputsList .list-group-item.nested-1 {
  background: #f1f1f1;
  margin: 10px 0;
  display: block;
}
#inputsList .list-group-item.nestedGroup {
  background: white;
  border: 2px dashed #ccd0d4;
  padding: 20px;
  margin: 10px 0;
}
#inputsList .list-group-item.nestedGroup .rowInputGroup {
  display: flex;
}
#inputsList .list-group-item.nestedGroup .rowInputGroup div:not(.up-down-dashicons) {
  margin: 10px;
}
#inputsList .list-group-item.nestedGroup .rowInputGroup div:not(.up-down-dashicons) label {
  margin-right: 10px;
}
#inputsList .list-group-item.nestedGroup .rowInputGroup .inputsGroup {
  display: flex;
  width: 100%;
}
#inputsList .list-group-item.nestedGroup .rowInputGroup .inputsGroup select {
  min-width: 150px;
}
#inputsList .list-group-item.nestedGroup .draggableZoneSeparator {
  border-bottom: 1px dotted black;
  margin-bottom: 20px;
  width: 100%;
}

div.btnActions {
  display: flex;
  justify-content: center;
}
div.btnActions button {
  padding: 10px;
  margin: 20px;
}

/*
    Logo email config
 */
.logo_email {
  display: flex;
  flex-direction: row;
  text-align: center;
}
.logo_email .logo_actions {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  margin-left: 20px;
}
.logo_email .logo_actions button {
  color: red;
}

/*
    Attachments email config
 */
.attachments_email .add button {
  width: 100%;
}
.attachments_email .inputs {
  display: flex;
  flex-wrap: wrap;
}
.attachments_email .inputs .input {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  width: 80%;
}
.attachments_email .inputs .input figure {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.attachments_email .inputs .input figure figcaption {
  overflow: hidden;
  max-height: 50px;
}

.color-fields-row {
  display: flex;
  gap: 20px;
}
.color-fields-row .color-field-container {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.color-fields-row .color-field-container label {
  display: block;
  margin-bottom: 5px;
}
.color-fields-row .color-field {
  width: 100%;
  padding: 5px;
}
.color-fields-row .wp-picker-open + .wp-picker-input-wrap {
  display: flex;
}

.accordion-section {
  margin-bottom: 5px;
  border-bottom: 0;
}
.accordion-section .accordion-toggle {
  display: flex;
  justify-content: space-between;
  background-color: white;
  color: #0073aa;
  padding: 15px 30px;
  border: 1px solid #ddd;
  cursor: pointer;
  text-align: left;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 4px;
  position: relative;
}
.accordion-section .accordion-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  right: 10px;
  width: 16px;
  height: 16px;
  mask-image: url("../chevron.svg");
  mask-size: contain;
  mask-position: center center;
  mask-repeat: no-repeat;
  background-color: #0073aa;
  -webkit-mask-image: url("../chevron.svg");
  -webkit-mask-size: contain;
  -webkit-mask-position: center center;
  -webkit-mask-repeat: no-repeat;
  transition: transform 0.3s ease;
}
.accordion-section .accordion-toggle.active::after {
  transform: translateY(-50%) rotate(180deg);
}
.accordion-section .accordion-toggle .actions {
  display: flex;
}
.accordion-section .accordion-content {
  display: none;
  padding: 20px 20px;
  background-color: #f1f1f1;
  border: 1px solid #ddd;
  border-top: none;
  margin-bottom: 15px;
}
.accordion-section .accordion-content > :last-child {
  margin-bottom: 0;
}

/* Style de base pour les onglets */
.onglet {
  display: flex;
  border-bottom: 2px solid #ccc;
}

.tablink {
  padding: 10px 20px;
  cursor: pointer;
  background-color: #f1f1f1;
  border: 1px solid #ccc;
  border-radius: 4px 4px 0 0;
  border-bottom: 0px;
}

.tablink:hover {
  background-color: #ddd;
}

.tablink.active {
  background-color: #ffffff;
  border-bottom: none;
  font-weight: bold;
  color: #0073aa;
}

/* Style de contenu des onglets */
.tabcontent {
  display: none;
  padding: 20px;
}

.tabcontent.active { /* Pas d'espace ici */
  display: flex !important;
  flex-wrap: wrap;
}

/* Alignement et styles spécifiques pour chaque section */
.input-flex {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  min-width: 50%;
  margin-bottom: 15px;
}
.input-flex .ms-choice {
  width: 80%;
  margin-right: 10px;
  margin-bottom: 10px;
  padding: 20px;
}
.input-flex .ms-choice > div.icon-caret {
  right: 21%;
  top: unset;
  margin-right: 5px;
}
.input-flex .ms-drop {
  position: relative;
  width: 80%;
}
.input-flex .ms-drop .ms-search input {
  width: 100% !important;
}
.input-flex .ms-drop {
  min-width: 80%;
}
.input-flex label {
  font-weight: bold;
  margin-bottom: 5px;
}
.input-flex select, .input-flex input:not([type=checkbox]) {
  margin-right: 10px;
  margin-bottom: 10px;
  width: 80%;
  padding: 5px;
}
.input-flex:has(input[type=checkbox]) {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.input-flex:has(input[type=checkbox]) input[type=checkbox] {
  margin-left: 15px;
}

.input-search,
.input-multiple {
  margin-top: 10px;
}

/* Styles pour les boutons et éléments supplémentaires */
.delInputRow {
  background-color: #f44336;
  color: white;
  border: none;
  padding: 5px;
  cursor: pointer;
  margin-right: 15px;
}

.delInputRow:hover {
  background-color: #d32f2f;
}

.duplicateRow {
  background-color: #0073aa;
  color: white;
  border: none;
  padding: 5px;
  cursor: pointer;
  margin-right: 15px;
}
.duplicateRow:hover {
  background-color: #005b91;
}

.accordion-header-table,
.accordion-body-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.accordion-body-table td {
  width: 33.33%;
  text-align: left;
}

.header-list {
  padding: 15px 30px;
  background-color: #f9fafb;
}
.header-list .accordion-header-table {
  position: sticky;
  top: 0;
  z-index: 10;
  text-align: left;
}
.header-list .accordion-header-table th:not(.empty) {
  font-size: 1rem;
  width: calc(33.33% - 48px);
}
.header-list .accordion-header-table .empty {
  width: 90px;
}

.duplicate-toggle {
  background-color: #f0f0f0; /* Choisir une couleur de fond claire ou personnalisée */
  font-weight: bold; /* Optionnel : pour un effet de distinction */
  border: 1px solid #ccc; /* Optionnel : pour ajouter une bordure */
}

.tox-edit-area iframe {
  background: white !important;
  color: black !important;
}

/*# sourceMappingURL=admin_form_edit.css.map */
