/* Formulaire de tarifs */

/* Fond des titres d'accordéon */
.e-n-accordion-item-title {
    background-color: black;   /* couleur de fond standard */
    color: white;              /* couleur du texte */
    padding: 12px 20px;
    border-radius: 5px;
    transition: background 0.3s;
}

/* Fond du titre quand l'accordéon est ouvert */
.e-n-accordion-item-title[aria-expanded="true"] {
    background-color: black; /* couleur du fond actif */
    color: white;               /* couleur du texte actif */
}

/* Optionnel : fond au survol */
.e-n-accordion-item-title:hover {
    color: black;
}


.libelles_options{
    margin-top:160px;
}

.libelle_option{
    font-family:"Poppins", Sans-Serif;
    font-size:20px;
    height:36px;
    margin-bottom:40px;
    text-align:right;
}

/* Woocommerce panier annonces */

/* Disposition du panier en deux colonnes */
#ast-cart-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 3rem;
}

/* Colonne gauche (panier + cross-sells) */
.ast-cart-non-sticky {
    flex: 1;
    min-width: 0;
}

/* Colonne droite (totaux) */
.cart-collaterals {
    width: 350px; /* Ajustable, ex: 320 / 380 / 420 */
    flex-shrink: 0;
}

/* Cross-sells : petit espace sous panier */
.cross-sells,
.cart-cross-sells {
    margin-top: 2rem;
}

/* Responsive (mobile) */
@media (max-width: 768px) {
    #ast-cart-wrapper {
        flex-direction: column;
    }
    .cart-collaterals {
        width: 100%;
    }

    .ast-cart-non-sticky {
        width:100%;
    }
}

h1 span.product-title{
    color:var(--ast-global-color-0);
    font-style: italic;
}

.woocommerce-js .blockUI.blockOverlay::before {
    height: 1em;
    width: 1em;
    display: block;
    position: fixed; /* Changé de absolute à fixed */
    top: 50%;
    left: 50%;
    margin-left: -.5em;
    margin-top: -.5em;
    content: '';
    animation: spin 1s ease-in-out infinite;
    background: url("/wp-content/plugins/woocommerce/assets/images/icons/loader.svg") center center;
    background-size: cover;
    background-color: var(--ast-global-color-secondary, --ast-global-color-5);
    line-height: 1;
    text-align: center;
    font-size: 2em;
    color: rgba(0, 0, 0, .75);
}

/****************************/
/* Formulaire de recherche */
/****************************/

form.job_filters{
    background-color:transparent;
}

.job_listing.ast-width-md-4 {
    width: 100% !important;
    max-width: 100% !important;
}

.job_filters .search_jobs {
    padding:0;
}

.job_filters .search_select {
    margin-bottom: 20px; /* augmente l’espace entre chaque select */
}

.job_filters .search_actions {
    display:flex; flex-direction: row; gap:20px;
}

.job_filters .search_actions .search_submit{
    border:3px solid var(--ast-global-color-0);
    padding-top:0 !important;
}

.job_filters .create_alert_button a{
    border:3px solid var(--ast-global-color-0);
    background-color:transparent;
    color: var(--ast-global-color-0);
}

.job-results-summary, .annonces-une-header {
    grid-column: 1 / -1; 
}

.job-results-summary{
    font-weight:bold;
    border:0;
    text-align:center;
}

ul.job_listings {
    border-top:0;
}

.no_job_listings_found, .filter_by_tag {
    display:none;
}


/***************************************/
/***** Champs méta et leurs pictos *****/
/***************************************/

ul.job_listings li.job_listing span.libelle-champ-annonce, .single_job_listing span.libelle-champ-annonce {
  font-weight: bold;
}

/* 11/01/2026 TODO code dupliqué, prévoir de le factoriser */
/* 11/01/2026 TODO passage à Font Awesome */


/* Pictos devant les champs avec SVG */
/* Picto calendrier pour la date */
ul.job_listings li.job_listing .date-depot .libelle-date-annonce::before,
.single_job_listing .date-depot .libelle-date-annonce::before, body .single-resume-content .resume-aside p.disponibilite::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}

/* Picto pin/map pour le lieu */
ul.job_listings li.job_listing .lieu .libelle-champ-annonce::before, .single_job_listing .lieu .libelle-champ-annonce::before, body .single-resume-content .resume-aside p.location::before  {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'%3E%3C/path%3E%3Ccircle cx='12' cy='10' r='3'%3E%3C/circle%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}

/* Picto user pour le poste */
ul.job_listings li.job_listing .poste .libelle-champ-annonce::before, .single_job_listing .poste .libelle-champ-annonce::before , body .single-resume-content .resume-aside p.job-title::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='12' cy='7' r='4'%3E%3C/circle%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}

/* Picto user pour le type d'équipement */
ul.job_listings li.job_listing .type_equipement .libelle-champ-annonce::before, .single_job_listing .type_equipement .libelle-champ-annonce::before , body .single-resume-content .resume-aside p.type_equipement::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='12' cy='7' r='4'%3E%3C/circle%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}

/* Picto documents pour le contrat */
ul.job_listings li.job_listing .contrat .libelle-champ-annonce::before, .single_job_listing .contrat .libelle-champ-annonce::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'%3E%3C/path%3E%3Cpolyline points='14 2 14 8 20 8'%3E%3C/polyline%3E%3Cline x1='16' y1='13' x2='8' y2='13'%3E%3C/line%3E%3Cline x1='16' y1='17' x2='8' y2='17'%3E%3C/line%3E%3Cpolyline points='10 9 9 9 8 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}

/* Picto euro pour le prix */
ul.job_listings li.job_listing .prix .libelle-champ-annonce::before, .single_job_listing .prix .libelle-champ-annonce::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 5c-1.5-2.5-4-3-6-3-5.5 0-8.5 4-8.5 9s3 9 8.5 9c2 0 4.5-.5 6-3'%3E%3C/path%3E%3Cpath d='M3 12h13'%3E%3C/path%3E%3Cpath d='M3 8h10'%3E%3C/path%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}

/* Picto pour le prix équipement */
ul.job_listings li.job_listing .prix_equipement .libelle-champ-annonce::before, .single_job_listing .prix_equipement .libelle-champ-annonce::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 5c-1.5-2.5-4-3-6-3-5.5 0-8.5 4-8.5 9s3 9 8.5 9c2 0 4.5-.5 6-3'%3E%3C/path%3E%3Cpath d='M3 12h13'%3E%3C/path%3E%3Cpath d='M3 8h10'%3E%3C/path%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}

/* Pictos en blanc pour les cartes glossy */
ul.job_listings li.job_listing.glossy-highlight .position .libelle-date-annonce::before,
ul.job_listings li.job_listing.glossy-highlight .lieu .libelle-champ-annonce::before,
ul.job_listings li.job_listing.glossy-highlight .poste .libelle-champ-annonce::before,
ul.job_listings li.job_listing.glossy-highlight .contrat .libelle-champ-annonce::before,
ul.job_listings li.job_listing.glossy-highlight .prix .libelle-champ-annonce::before
 {
  filter: brightness(0) invert(1);
}








