/* -------------
    SOMMAIRE
------------- */

/*
    @AUTHOR : IARY
    Styles des éléments du plugin frondCrud
*/

/* -----------------
    GÉNÉRAL
----------------- */

.notice {
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.notice-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.notice-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.front-crud-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.crud-header,
.crud-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #5700E7;
}
@media(max-width:991px) {
    .crud-header,
    .crud-form-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}
.crud-header h1,
.crud-form-header h1{
    flex: 3;
    font-size: 3rem;
}
.bloc-btn {
    text-align: center;
    flex: 1;
}

.crud-header h1,
.crud-form-header h1 {
    margin: 0;
}
.crud-form-content .acf-fields>.acf-tab-wrap {
    background: none;
}
.crud-form-content  .acf-field+.acf-tab-wrap.-left:before {
    display: none;
}
.crud-form-content div.acf-field-text > .acf-input input,
.crud-form-content .acf-form .acf-label {
    color: #5700E7;
}
.crud-form-content .acf-form .acf-input input[type="text"].acf-is-prepended {
    border: 0;
    background-color: var(--c-tertiary);
    text-align: center;
    font-weight: bold;
    border-radius: 0 !important;
    font-size: 2rem;
    padding: 2px;
}
.crud-form-content .acf-gallery,
.crud-form-content .acf-oembed,
.crud-form-content .acf-fields > .acf-field {
    border: none !important;
}
.crud-form-content .acf-oembed .title {
    padding: 0;
    border-bottom: none;
    margin-bottom: 10px;
}
.crud-form-content .acf-field.acf-field-text.acf-field-68a722e7717f1 {
    background-color: rgb(249 113 237);
    padding: 0;
    margin-top: 2rem;
}
.crud-form-content .acf-field-text.acf-field-68244500ec3e0 > .acf-label,
.crud-form-content .acf-field.acf-field-text.acf-field-68a722e7717f1 > label {
    display: none !important;
}
.crud-form-content .acf-field-68a722e7717f1 > div.acf-input {
   display: flex;
   align-items: center;
       justify-content: center;
    color: white;
}
.crud-form-content .acf-field-68a722e7717f1 .acf-input-wrap {
    flex: 0 0 250px;
    max-width: 150px;
}
.crud-form-content .acf-input-prepend {
    background-color: transparent;
    float: none;
    border: 0;
    border-radius: 0;
}
/* .crud-form-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
} */

/* Styles pour les formulaires ACF */
.crud-form-content .acf-form {
    margin: 0;
}

.crud-form-content .acf-form .acf-field {
    /* margin-bottom: 20px; */
    margin-bottom: 5px;
}
.crud-form-content .acf-form .acf-field.acf-field-date-picker p.description {
   display: none !important;
}

.crud-form-content .acf-form .acf-label {
    font-weight: 600;
    margin-bottom: 8px;
}
.crud-form-content .acf-form .acf-input input,
.crud-form-content .acf-form .acf-input select {
    background: none;
    border: 1px solid var(--c-primary);
    outline: none;
    padding: 11px 16px;
    color: var(--c-primary);
    border-radius: 99px;
    width: 100%;
}
.crud-form-content .acf-form .acf-input input:focus,
.crud-form-content .acf-form .acf-input select:focus {
    border-color: rgb(249 113 237);
}
.crud-form-content .acf-field-text.acf-field-68244500ec3e0 .acf-input input,
.crud-form-content .acf-field-text.acf-field-6825e65dd6435 .acf-input input,
.crud-form-content .acf-field-text.acf-field-68244555ec3e1 .acf-input input,
.crud-form-content .acf-field-text.acf-field-68233094d9228 .acf-input input,
.crud-form-content .acf-form .acf-field--post-title .acf-input input,
.crud-form-content .acf-form .acf-input textarea {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    background-color: rgb(247 244 254);
}
.crud-form-content .acf-form .acf-input input::placeholder {
    color: rgb(87 0 231 / 33%) !important;
}

.crud-form-content .acf-form .acf-input input:focus,
.crud-form-content .acf-form .acf-input textarea:focus,
.crud-form-content .acf-form .acf-input select:focus {
    outline: none;
    border-color: rgb(249 113 237);
    box-shadow: none;
}

.crud-form-content .acf-form .acf-button {
    background-color: #5700E7;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.crud-form-content .acf-relationship .list .acf-rel-item:hover,
.crud-form-content .acf-relationship .list .acf-rel-item.relationship-hover,
.crud-form-content .acf-form .acf-button:hover {
    background-color: #5700E7;
}
.crud-form-content .acf-form .acf-image-uploader .acf-button:hover {
    color: white !important;
}

.crud-form-content .acf-form .acf-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}
.crud-form-content .acf-icon.dark {
    border: none !important;
    background: var(--c-tertiary);
    color: #5700E7;
}

/* Message de succès */
.crud-form-content .acf-form .acf-notice {
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 4px;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.bloc-btn .atom_button {
    cursor: default; /* curseur "flèche normale" */
    pointer-events: none; /* empêche tout clic dessus */
}

.etablissement-single-form-header .status-publish {
    background-color: #5700E7;
    color: white;
    border-color: transparent;
}

.etablissement-single-form-header .status-draft {
    background-color: #856404;
    color: white;
    border-color: transparent;
}

.etablissement-single-form-header .status-pending {
    background-color: #f971ed;
    color: #3d029f;
    border-color: transparent;
}

.etablissement-single-form-header .status-changement_refuse {
    background-color: #721c24;
    color: white;
    border-color: transparent;
}

/* Responsive */
@media (max-width: 768px) {
    .crud-form-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .front-crud-form-container {
        padding: 10px;
    }
}


/*
Modification Style ACF
*/
.crud-form-content .acf-fields.-sidebar {
  padding: 0 0 !important;
}
.crud-form-content .acf-fields.-sidebar::before {
    display:none !important;
}
.crud-form-content .acf-tab-wrap.-left .acf-tab-group {
  position: static !important;
  width: 100%;
  display:flex;
  margin-bottom: 20px;
  justify-content: center;
}
@media(max-width:991px) {
    .crud-form-content .acf-tab-wrap.-left .acf-tab-group {
        flex-wrap: wrap;
    }
    .crud-form-content .acf-tab-wrap.-left .acf-tab-group {
        display: block;
    }
}
.crud-form-content .acf-tab-group li:not(:first-child) {
  border-left: 2px solid transparent;
}
.crud-form-content .acf-fields > .acf-tab-wrap .acf-tab-group li {
    transition: all .3s ease;
    /* height: 56px; */
    display: flex;
}
@media(max-width:991px) {
    .crud-form-content .acf-fields > .acf-tab-wrap .acf-tab-group li {
        display: block;
        height: auto;
        width: 100%;
        margin-bottom: 3px;
        border-left: none;
    }
}
.crud-form-content .acf-fields > .acf-tab-wrap .acf-tab-group li a {
    transition: all .3s ease;
    background: #5700E7;
    border: none !important;
    color: white;
}
.crud-form-content .acf-fields > .acf-tab-wrap .acf-tab-group li:hover a,
.crud-form-content .acf-fields > .acf-tab-wrap .acf-tab-group li a:hover {
    font-weight: normal;
}
.crud-form-content .acf-fields > .acf-tab-wrap .acf-tab-group li:hover,
.crud-form-content .acf-fields > .acf-tab-wrap .acf-tab-group li.active {
    background: white;;
}

.crud-form-content .acf-fields > .acf-tab-wrap .acf-tab-group li:hover a,
.crud-form-content .acf-fields > .acf-tab-wrap .acf-tab-group li.active a {
  color: #5700E7;
  font-weight: bold;
}
@media(max-width:991px) {
    .crud-form-content .acf-fields > .acf-tab-wrap .acf-tab-group li.active a {
        background: var(--c-secondary);
        color:white;
    }
}
.crud-form-content .acf-field .acf-label {
  font-size: 1.6rem;
  display:block;
}
.crud-form-content .acf-field.acf-field-68a722e7717f1 .acf-label {
  display:none;
}
.crud-form-content input {
  width: 100%;
  padding: 10px;
  border: 1px solid #5700E7;
  border-radius: 4px;
  font-size: 14px;
}
.crud-form-content .button.insert-media {
    font-size: 1rem;
    font-weight: normal;
}
.crud-form-content .acf-link.-value a.button,
.crud-form-content .acf-link .link-wrap .link-title,
.crud-form-content .acf-link .link-wrap,
.crud-form-content .acf-relationship .selection {
  font-size: 1.4rem;
}
.crud-form-content .acf-form-submit {
    margin-top: 20px;
    text-align: center;
}
.crud-form-content .acf-button.button-primary:not(.acf-gallery-add),
.crud-form-content .acf-button.button-primary:not(.acf-repeater-add-row) {
    display: inline-block;
    width: auto;
    border-radius: 99px;
    background-color: transparent;
    border: 2px solid #5700E7;
    color:#5700E7
}
.crud-form-content .acf-link.-value a.button,
.crud-form-content .acf-button.button-primary:hover,
.crud-form-content .acf-button.button-primary:focus {
    background-color: #5700E7;
    color: white;
}
@media(min-width:992px) {
    .crud-form-content .acf-form-submit {
        text-align: right;
    }
}
.crud-form-content .acf-table .acf-row .button,
.crud-form-content .acf-table .acf-field-link .button,
.crud-form-content .acf-table .acf-repeater-add-row {
    border-color: rgb(249 113 237) !important;
    color: rgb(249 113 237) !important;
}
.crud-form-content a.acf-icon.dark:hover,
.crud-form-content .acf-table .acf-row .button:hover,
.crud-form-content .acf-table .acf-field-link .button:hover,
.crud-form-content .acf-table .acf-repeater-add-row:hover {
    background-color: rgb(249 113 237);
    border-color: rgb(249 113 237) !important;
    color: white !important;
}
.crud-form-content  .acf-row .select2-container.-acf .select2-selection--single .select2-selection__rendered {
    font-size: 1.4rem;
    padding: 1rem 1.5rem;
}
.woocommerce-page .select2-results__option {
    font-size: 1.4rem;
    padding: 5px 1.5rem;
}

.crud-form-content .acf-table,
.crud-form-content {
    background: none;
    border: 0 !important;
}
.crud-form-content .acf-table .acf-repeater .acf-table {
    border-bottom: 1px solid #5700E7 !important;
}
.crud-form-content .acf-table>tbody>tr>th,
.crud-form-content .acf-table>tbody>tr>td,
.crud-form-content .acf-table>thead>tr>th,
.crud-form-content .acf-table>thead>tr>td {
    background-color: rgb(247 244 254);
    border:0;
    padding:16px
}
.crud-form-content .acf-field-68244a624e675 .acf-table>thead>tr>th,
.crud-form-content .acf-field-68244a624e675 .acf-table>thead>tr>td {
    font-weight:bold;
}
.crud-form-content .acf-field-68244a624e675 .acf-table>thead>tr>th,
.crud-form-content .acf-field-68244a624e675 .acf-table>thead>tr>td,
.crud-form-content .acf-field-68244a624e675 .acf-table>tbody>tr>td,
.crud-form-content .acf-field-68244a624e675 .acf-table>tbody>tr>th {
    background-color: transparent;
    padding-left: 0;
    padding-bottom: 10px;
    padding-top: 0;
}
.crud-form-content .acf-field-68bfe5d5b46e5 .acf-table>tbody>tr>th,
.crud-form-content .acf-field-68bfe5d5b46e5 .acf-table>tbody>tr>td {
    background-color: transparent;
    padding:0 0 10px
}
.crud-form-content .acf-field-68bfe5d5b46e5 .acf-table>thead>tr>th,
.crud-form-content .acf-field-68bfe5d5b46e5 .acf-table>thead>tr>td {
    display: none !important;
}
@media screen and (max-width: 767px) {
    .crud-form-content .acf-field-68ba805065e31 .acf-table>thead>tr>th,
    .crud-form-content .acf-field-68ba805065e31 .acf-table>thead>tr>td {
        display: none;  /* masque l'entête du tableau */
    }
    .crud-form-content .acf-field-68ba805065e31 .acf-table>tbody>tr>th,
    .crud-form-content .acf-field-68ba805065e31 .acf-table>tbody>tr>td {
        display: block;    /* chaque td devient un bloc */
        width: 100%;       /* td prend toute la largeur */
        box-sizing: border-box; /* pour inclure padding et border */
        padding:0;
    }
}
.crud-form-content .acf-fields.-border {
    border-color: #5700E7;
    background: none;
    padding: 20px;
}
.crud-form-content .acf-field-68244a624e675 .acf-fields.-border {
    border: 0;
    padding: 0;
}
.crud-form-content .acf-field-68244a624e675 .acf-field .acf-label {
    font-size: 1.2rem;
}
@media(min-width:992px) {
    .crud-form-content .acf-field-68244a624e675 .acf-fields.-border {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-column-gap: 20px;
    }

}
.crud-form-content .acf-table>thead>tr>th {
    padding-bottom: 0;
}
.crud-form-content  .acf-table>thead>tr>th {
    color: #5700E7;
}
.crud-form-content .acf-gallery-sort,
.crud-form-content .acf-table>tbody>tr>td.acf-row-handle:not(.remove),
.crud-form-content .acf-table>thead>tr>th.acf-row-handle {
    display: none !important;
}
.crud-form-content .acf-repeater .acf-row-handle.remove {
    width: 0 !important;
    padding: 0 !important;
}
.crud-form-content .acf-repeater .acf-row-handle .acf-icon:not(.-minus) {
    opacity: 0 !important;
    visibility: hidden !important;
}
.crud-form-content .acf-repeater .acf-row-handle .acf-icon.-minus {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    background-color: #f971ed;
    color: white;
    border-color: #f971ed;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    top: 42%;
    right: -10px;
}
.crud-form-content ul.acf-checkbox-list li label {
    color: #5700E7;
}
@media(max-width:767px) {
    .crud-form-content .acf-repeater .acf-row-handle.remove {
        position: absolute !important;
        right: 0;
        height: 100%;
        top: 0;
    }
    .acf-field-68b99d8032704 tr.acf-row {
        position: relative;
    }
    .crud-form-content .acf-field-68b99d8032704 .acf-repeater .acf-row-handle .acf-icon.-minus {
        top: 33% ;
        right: -30px;
        transform: translateY(-50%);
    }
}
.crud-form-content .acf-repeater .acf-row-handle .acf-icon.-minus::before {
    content: "-";
    /* margin-top: -5px; */
    margin-top: -12px;
}
.crud-form-content .select2-container.-acf .select2-selection {
    border-color: var(--c-primary);
    background-color: transparent;
    border-radius: 99px;
    height: auto !important;
}
.crud-form-content .acf-relationship .selection .choices {
    background-color: rgb(233 225 252);
}
.crud-form-content .acf-form .acf-table .acf-input input[type="text"] {
    /* background-color: rgb(233 225 252); */
    color: #5700E7;
}
.crud-form-content .select2-container .select2-selection--single .select2-selection__rendered {
    color: #5700E7;
}
.crud-form-content .acf-relationship {
    border: #5700E7 solid 1px;
}
.crud-form-content .acf-relationship .selection .choices .list {
    border-right-color: #5700E7;
}
.crud-form-content .acf-relationship .filters {
    border-bottom-color: #5700E7;
}

.woocommerce-page .select2-container--default .select2-results__option--highlighted[aria-selected],
.woocommerce-page .select2-container--default .select2-results__option--highlighted[data-selected] {
    background-color: #5700E7;
}
.woocommerce-page .select2-container--default .select2-search--dropdown .select2-search__field {
    border: 0;
    background-color: #dbd0f4;
}
.woocommerce-page .select2-container .select2-selection--single .select2-selection__arrow b {
    -webkit-mask: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJmZWF0aGVyIGZlYXRoZXItY2hldnJvbi1kb3duIj48cG9seWxpbmUgcG9pbnRzPSI2IDkgMTIgMTUgMTggOSI+PC9wb2x5bGluZT48L3N2Zz4=') no-repeat center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;

    mask: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJmZWF0aGVyIGZlYXRoZXItY2hldnJvbi1kb3duIj48cG9seWxpbmUgcG9pbnRzPSI2IDkgMTIgMTUgMTggOSI+PC9wb2x5bGluZT48L3N2Zz4=') no-repeat center;
    mask-repeat: no-repeat;
    mask-size: contain;

    /* Couleur souhaitée */
    background: #5700E7;
    border: 0;
    position: static;
    width: 26px;
    margin: 0;
    height: 23px;
}
.woocommerce-page .select2-dropdown {
    background-color: rgb(233 225 252);
    color: #5700E7;
    border: 0;
    /* top: 4rem; */
    top:1rem
}

.crud-form-content .acf-gallery .acf-gallery-attachment .margin {
    border-color: var(--c-secondary);
}

/* Style bouton radio du Vrai ou faux */
.crud-form-content .acf-switch {
    background: none;
    border: 0;
    grid-gap: 2rem;
}
.crud-form-content .acf-link .link-wrap,
.crud-form-content .acf-switch.-on {
    background: none;
    border: 0;
}
.crud-form-content .acf-true-false label {
  display: flex;
  gap: 10px; /* espace entre "Oui" et "Non" */
  align-items: center;
  cursor: pointer;
}

/* Masquer le checkbox réel */
.crud-form-content .acf-field-text.acf-field-6825e65dd6435 > .acf-label,
.crud-form-content .acf-true-false input.acf-switch-input {
  display: none;
}

/* Style des "boutons radio" */
.crud-form-content .acf-switch-on,
.crud-form-content .acf-switch-off {
  display: inline-block;
  padding: 5px 15px;
  border: 2px solid #ccc;
  border-radius: 50px;
  font-size: 14px;
  text-align: center;
  transition: all 0.3s;
  user-select: none;
}

/* Couleur si sélectionné */
.crud-form-content .acf-switch.-on .acf-switch-on {
  background-color: #5700E7;
  color: #fff;
  border-color: #5700E7;
  text-shadow: none;
      display: flex;
    align-items: center;
}

.crud-form-content .acf-switch.-on .acf-switch-off {
  background-color: #fff;
  color: #5700E7;
  border-color: #5700E7;
  display: flex;
    align-items: center;
}

/* Cas "Non" sélectionné */
.crud-form-content .acf-switch:not(.-on) .acf-switch-off {
  background-color: #5700E7;
  color: #fff;
  border-color: #5700E7;
  display: flex;
    align-items: center;
}

.crud-form-content .acf-switch:not(.-on) .acf-switch-on {
  background-color: #fff;
  color: #5700E7;
  border-color: #5700E7;
  display: flex;
    align-items: center;
}
.crud-form-content .acf-form .acf-field.acf-field-link.acf-field-68244ba8decaa,
.crud-form-content .acf-form .acf-field.acf-field-link.acf-field-68245dcb6243b,
.crud-form-content .acf-switch-slider {
  display: none !important;
}

/* Optionnel : hover */
.crud-form-content .acf-switch-on:hover,
.crud-form-content .acf-switch-off:hover {
  border-color: #5700E7;
  color: #5700E7;
}
.crud-form-content .acf-field p.description {
    color: #5700E7;
    font-weight: normal;
}
.crud-form-content .acf-url i {
    top: 13px;
    color: #5700e7;
}

/* Modal */
.woocommerce-page #wp-link-wrap #link-selector {
    font-size: 1.4rem !important;
}
.woocommerce-page #wp-link .query-results {
    border: 1px var(--c-primary) solid;
}
.woocommerce-page .select2-container--classic .select2-selection--single .select2-selection__placeholder,
.woocommerce-page .select2-container--default .select2-selection--single .select2-selection__rendered,
.woocommerce-page .select2-container .select2-selection--single .select2-selection__placeholder,
.woocommerce-page #wp-link .item-info,
.woocommerce-page #wp-link .query-notice,
.woocommerce-page #wp-link li {
    color: #5700E7;
}
.woocommerce-page .select2-container--default .select2-results__option[aria-selected=true],
.woocommerce-page .select2-container--default .select2-results__option[data-selected=true]
.woocommerce-page #wp-link li:hover {
    background: #5700E7;
    color: white;
}

/* Personnalisation du scrollbar pour Chrome, Edge et Safari */
.woocommerce-page .select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar {
  width: 10px;
}

.woocommerce-page .select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar-track {
  background: rgb(233 225 252);
  border-radius: 5px;
}

.woocommerce-page .select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar-thumb {
  background-color: #5700e7;
  border-radius: 5px;
  border: 2px solid rgb(233 225 252);
}

.woocommerce-page .select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar-thumb:hover {
  background-color: rgb(249 113 237);
}

/* Pour Firefox */
.woocommerce-page .select2-container--default .select2-results>.select2-results__options {
  scrollbar-width: thin;
  scrollbar-color: #5700e7 rgb(233 225 252);
}

.crud-header .bloc-btn a.button {
    min-width: 250px
}
.woocommerce .bloc-btn a.button:not(.acf-button) {
    font-size: 1.4rem;
}

/* -----------------
    PORTE OUVERTE
----------------- */

.crud-list table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.crud-list th,
.crud-list td {
    padding: 12px;
    text-align: left;
}

.crud-list th {
    background-color: #f9f9f9;
    font-weight: 600;
}

.post-status {
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
}

.status-publish {
    background-color: rgb(222 209 243);
    color: #5700e7;
}

.status-draft {
    background-color: #e6eef9;
    color: rgb(151 94 246);
}

.status-pending {
    background-color: rgb(255 230 0 / 34%);
    color: #d1bd00;

}

.status-changement_valide {
    background-color: rgb(222 209 243);
    color: #5700e7;
}
.status-changement_refuse {
    background-color: rgb(243 211 240);
    color: #f971ed;
}

.row-actions {
    font-size: 13px;
}

.row-actions a {
    font-weight: bold;
    text-decoration: underline;
}

.row-actions a:hover {
    color: #f971ed;
}

.crud-empty {
    text-align: center;
    padding: 60px 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.crud-empty p {
    margin-bottom: 20px;
    color: #666;
    font-size: 16px;
}

.notice {
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.notice-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.notice-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Styles pour la pagination */
.pagination {
    margin: 30px 0;
    text-align: center;
}

.pagination-links {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.pagination-links a,
.pagination-links span {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #0073aa;
    background-color: #fff;
    transition: all 0.2s;
}

.pagination-links a:hover {
    background-color: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.pagination-links .current {
    background-color: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.pagination-links .dots {
    color: #666;
    background-color: transparent;
    border-color: transparent;
}

.pagination-links .prev,
.pagination-links .next {
    font-weight: 600;
}

@media(min-width:768px) and (max-width:1199px) {
    #form-porte_ouverte .acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="3/12"] {
        width: calc(50% - 15px)
    }
    #form-porte_ouverte .acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="3/12"]:nth-child(2),
    #form-porte_ouverte .acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="3/12"]:nth-child(4) {
        margin-left: 15px;
    }
}
@media(min-width:1200px) {
    #form-porte_ouverte .acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="3/12"]:not(:first-child) {
        width: calc(25% - 15px);
        margin-left: 15px;
    }
}


.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 26px;
    position: absolute;
    top: 12px;
    right: .5em;
    width: 20px;
    z-index: 33;
}

.ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_second { display: none !important;}
