.order-status.status-payed {
    background: #ccffcc;
    color: #008000;
}
.order-status.status-over-payed {
    background: #cce6ff;
    color: #004080;
}
.order-status.status-partial-payed {
    background: #fff2cc;
    color: #94660c;
}
.order-status.status-not-payed {
    background: #ffcccc;
    color: #cc0000;
}
.order-status.status-reimbursement {
    background: #e1bee7;
    color: #6a1b9a;
}
/* Commande créée à 0 € : sans paiement (SP) — 2026-10-16 */
.order-status.status-no-payment {
    background: #e5e5e5;
    color: #50575e;
}

#shipping-first_name,
#shipping-last_name,
.readonly-field {
    background-color: #e9ecef !important;
    color: #6c757d;
    cursor: not-allowed;
}

.woocommerce-table thead th {
    background-color: #d7d7d7; /* Gris léger */
    color: #333; /* Couleur du texte, optionnel */
    padding: 10px; /* Ajout d'un peu de marge intérieure, optionnel */
    border-bottom: 2px solid #d7d7d7; /* Bordure inférieure pour séparer l'en-tête du corps du tableau */

}

.woocommerce-table--order-details{
    width:95%;
    border:solid 1px #d7d7d7 ! important;
    border-radius: 5px;
    margin :auto;

}
.woocommerce-table--order-details td {
    border-top: 1px solid #d7d7d7;
}
.woocommerce-table tfoot th {
    text-align: right; /* Aligner les intitulés à droite */
}
.um-woo-order-body table span.amount {
    font-size: 14px !important;
    font-weight: 500
}

.woocommerce-table thead th,
.woocommerce-table tfoot td {
    text-align: left; /* Garder les chiffres alignés à gauche */
}


.product-name{
    width:66%;
}
.product-total{
    width:33%;
}

/* Change the icon for the 'Comptabilité' tab */
li.ac_comptabilite_tab_tab a:before {
    content: "\f183" !important; /* Unicode for dashicons-money-alt */
    font-family: 'Dashicons';
}

table.wp-list-table .column-account_number{
    width:10% !important;
}

.um_request_name {
    display: none !important;
}

.wp-person a:focus .gravatar, a:focus, a:focus .media-icon img, a:focus .plugin-icon {
  box-shadow: 0 0 0 0px #fff !important;
}



.wp-core-ui .button .dashicons,
.wp-core-ui .button-primary .dashicons,
.wp-core-ui .button-secondary .dashicons {
  line-height:1 !important;
  vertical-align:top
}

/*CACHER GESTION COMMENTAIRE DANS MODIFICATION RAPIDE DE PAGE*/

div.inline-edit-group:has(input[name="comment_status"]){
  display:none;
}


/*changer texte menu formulaire importer/exporter*/

a[href="admin.php?page=gf_export"]{
font-size:0px !important; position:relative;
}

a[href="admin.php?page=gf_export"]:after{
content:"Exporter";position:relative;font-size:13px;
}

a[href="/wp-admin/admin.php?page=gf_export&subview=export_form"],
a[href="/wp-admin/admin.php?page=gf_export&subview=import_form"]{
    display:none !important;
}



/*CACHER ELEMENT WP BOOKING SYSTEM */
div.wpbs-form-field:has(a[href$="/wp-admin/admin.php?page=wpbs-settings&tab=email"]){
    display:none;
}
/* CACHER bouton supprimer le menu page édition de menu*/


.nav-menus-php a[href*="/wp-admin/nav-menus.php?action=delete&menu"]{
    display:none;
}

/*CACHER option de l'écran*/

#screen-meta-links{
  display:none
}


/*CACHER ELEMENTS ICAL CALENDRIER WPBS*/

.wp-booking-system_page_wpbs-calendars .wpbs-tabs-menu  li:nth-child(4),
.wp-booking-system_page_wpbs-calendars .wpbs-edit-calendar-wrapper div.wpbs-box:nth-child(4){
  display:none !important;
}

/*CACHER TEXTE EN ANGLAIS SUR "gérer la réservation"  dans WPBS */
.wpbs-booking-details-main h2 small{
  display:none !important;
}

/*CACHER SELECTEUR MOYEN DE PAIEMENT DANS CREATION LOCATION WPBS COTE ADMIN */

.wp-booking-system_page_wpbs-calendars .wpbs-form-field-payment_method{
    display:none;
}

/*CACHER ELEMENT X X SUR CREA RESA WPBS COTE ADMIN*/

.wp-booking-system_page_wpbs-calendars .wpbs-abbr,
.wp-booking-system_page_wpbs-calendars .wpbs-pricing-table  thead,
.wp-booking-system_page_wpbs-calendars .wpbs-pricing-table  tbody{
    display:none;
}


/* CHANGER COULEUR BUTON SUBMIT WBPS*/
.wpbs-main-wrapper .wpbs-form-container .wpbs-form-field.wpbs-form-submit-button button[type="submit"] {
  background-color: rgb(26, 115, 232) !important;
}

/*cacher dynamics tags dans options fofm/form de confirmation WPBS*/
.wpbs-tab-form-confirmation .wpbs-dynamic-tags{
    display:none;
}