@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%);
}

.wrap {
  margin: 20px 0;
}
.wrap h1 {
  color: #0073aa;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
}

#import_form,
#export_form,
#export_form_zip {
  width: 95%;
  margin-bottom: 30px;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
#import_form .form-table,
#export_form .form-table,
#export_form_zip .form-table {
  table-layout: fixed;
  width: 100%;
}
#import_form .form-table th,
#export_form .form-table th,
#export_form_zip .form-table th {
  width: 120px;
  font-weight: 600;
  color: #444;
  vertical-align: middle;
}
#import_form .form-table td,
#export_form .form-table td,
#export_form_zip .form-table td {
  padding: 15px 10px;
  vertical-align: middle;
}
#import_form .form-table td #form_export_id,
#import_form .form-table td #import_json_file,
#import_form .form-table td #logs_export_id,
#export_form .form-table td #form_export_id,
#export_form .form-table td #import_json_file,
#export_form .form-table td #logs_export_id,
#export_form_zip .form-table td #form_export_id,
#export_form_zip .form-table td #import_json_file,
#export_form_zip .form-table td #logs_export_id {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
}
#import_form .form-table td p,
#export_form .form-table td p,
#export_form_zip .form-table td p {
  margin: 0 10px 0 0;
  line-height: 2;
}
#import_form .form-table input[type=submit],
#export_form .form-table input[type=submit],
#export_form_zip .form-table input[type=submit] {
  background-color: #0073aa;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}
#import_form .form-table input[type=submit]:hover,
#export_form .form-table input[type=submit]:hover,
#export_form_zip .form-table input[type=submit]:hover {
  background-color: rgb(0, 80.5, 119);
}
#import_form .form-table #start_date_logs_export,
#import_form .form-table #end_date_logs_export,
#export_form .form-table #start_date_logs_export,
#export_form .form-table #end_date_logs_export,
#export_form_zip .form-table #start_date_logs_export,
#export_form_zip .form-table #end_date_logs_export {
  padding: 7px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

#export_form_zip tr[style="display: flex; flex-direction: row"] {
  align-items: center;
}
#export_form_zip tr[style="display: flex; flex-direction: row"] td[style="display: flex"] {
  align-items: center;
}

.notice-error {
  border-left: 4px solid #dc3232;
  background-color: #fef7f7;
  padding: 8px 12px;
  margin: 10px 0;
}

#export_config_crm.styled-checkbox + label {
  position: relative;
  cursor: pointer;
  padding: 0;
}
#export_config_crm.styled-checkbox:checked {
  background-color: #46b450;
}

#download_export_json,
#download_export_zip {
  display: none;
}

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