/*
 Theme Name:   Bootscore Child
 Description:  Bootscore Child Theme
 Author:       Maelis Chadia Cyril
 Author URI:   https://bootscore.me
 Template:     bootscore
 Version:      6.0.0
 Requires at least: 5.0
 Tested up to: 6.6
 Requires PHP: 7.4
 License: MIT License
 License URI: https://github.com/bootscore/bootscore-child/blob/main/LICENSE
 Text Domain:  bootscore
*/

/* Personnalisation du formulaire de connexion WooCommerce */
.woocommerce-form-login {
  background-color: #fff;
  padding: 30px;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.woocommerce-form-login h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
  text-align: center;
}
.woocommerce-form-login .woocommerce-form-row label {
  font-weight: 600;
  color: #555;
}
.woocommerce-form-login .woocommerce-Input,
.woocommerce-form-login .input-text {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px;
  font-size: 16px;
  width: 100%;
}
.woocommerce-form-login .woocommerce-button {
  background-color: #ff6f00;
  border: none;
  border-radius: 4px;
  color: #fff;
  padding: 12px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}
.woocommerce-form-login .woocommerce-button:hover {
  background-color: #fa7c08;
}



/* Message personnalisé */
.custom-message {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Page avec séparateur (footer) + margin sur les coté*/
.entry-content{ 
    margin-left: 60px;
    margin-right: 60px;
    margin-top : 18px;
}
.separateur{
    width: 85%; 
    margin: auto; 
}

.svgmap{
    height: 80vh;
    width: 80vh;
    margin: auto;
    zoom: 150%;
    margin-left: 200px;
}

.land{
    fill: #190606;
    fill-opacity: 1;
    stroke:white;
    stroke-opacity: 1;
    stroke-width:0.5;
    transition: fill 0.3s ease;
}

main .entry-content .container {
    display: flex;
    justify-content: center;
    align-items: center;
}



.bandeaus{
    width: 160vh;
    margin: auto;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #e6e6e6;
    background-color: #ECC855;
    border-radius: 33px;
    text-align: center;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
}

.card {
  margin: auto;
  padding: 10px;
  border: 1px solid #d7c1c1;
  background-color: #ffffff;
  border-radius: 33px;
  text-align: center;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  margin-left: 20px;
}

.card h1 {
    font-size: 24px;
    color: #695E19;
}

.sell-button {
    display: block;
    margin: auto; 
    background-color: #4B2F22; 
    width: 200px;
    border: none;
    color: white;
    text-align: center;
    font-size: 18px;
    border-radius: 33px;
    height: 43px;
}

.sell-button:hover {
    background-color: #42291d; 
}

.container {
    display: contents;
    text-align: center;
}

.map-container {
    display: flex; 
    position: relative; 

}
.regions-list {
top: 50%; 
right: 20px; 
font-size: 24px;
}



  .regions-list li:hover {
    background-color: #ECC855; 
  }

  .svgmap:hover,
  .svgmap .highlighted {
    fill: #ECC855; 
}

/* Styles de base pour la carte */
.region-card {
    border: 1px solid rgb(163, 41, 41);
    width: 500px;
    margin: 0 auto; 
    height: fit-content;
    margin-top: 70px;
    margin-right: 70px;
  }
  
  /* Styles pour la liste des régions */
  .region-card .regions-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  /* Styles pour chaque région */
  .region-card .regions-list li {
    margin-bottom: 5px;
    padding: 5px; /* Ajoute un peu de padding */
    border-radius: 5px; /* Coins légèrement arrondis */
    cursor: pointer;
  }

  .woocommerce-account {
    background-color: #f8f9fa;
    padding: 50px 0;
}

.custom-login-logo {
    display: block;
    margin: 0 auto 20px;
    max-width: 150px;
}

.woocommerce-form-login, .woocommerce-form-register {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.woocommerce-button.button {
    background: #0073aa;
    color: white;
    border-radius: 5px;
    padding: 10px 20px;
}

.woocommerce-button.button:hover {
    background: #005a87;
}

.mon-compte-sidebar {
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    
}

.mon-compte-sidebar h2 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 22px;
    
}

.mon-compte-menu {
    list-style: none;
    padding: 0;
}

.mon-compte-menu li {
    margin-bottom: 10px;
    border: solid 1px;
    border-radius: 5px;
}

.mon-compte-menu a {
    display: block;
    background: #ffffff;
    color: rgb(0, 0, 0);
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    transition: background, 0.3s ease;
}



.mon-compte-content h1 {
    font-size: 24px;
    color: #333;
}

.mon-compte-login {
    text-align: center;
    padding: 20px;
}

.mon-compte-login h2 {
    margin-bottom: 15px;
}

.auth-buttons {
    text-align: center;
    margin-top: 20px;
}

/* Styles des Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.modal-content h2 {
    margin-bottom: 15px;
}

.modal-content input {
    width: 80%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.modal-content button {
    background: #0073aa;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.modal-content button:hover {
    background: #005a87;
}

/* Bouton de fermeture */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover, close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}




.region-item {
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 5px;
}

/* Effet de survol sur la liste et synchronisation avec la carte */
.region-item.highlighted {
    background-color: #000000 !important; /* Fond noir */
    color: white !important; /* Texte blanc */
    font-weight: bold;
}




/* Effet de transition fluide */
.land, .region-item {
    transition: all 0.3s ease-in-out;
}

/* Appliquer le noir à la région survolée sur la carte */
.land.highlighted {
    fill: #a5c2b9 !important; /* Noir au survol */
    transition: fill 0.3s ease;
}

/* Appliquer le noir au texte et le fond noir à la liste */
.region-item.highlighted {
    background-color: #a5c2b9 !important; /* Fond noir */
    color: white !important; /* Texte blanc */
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}


/* Conteneur principal de la page Mon Compte */
.mon-compte-container {
    display: flex;
    justify-content: center;
    padding: 20px;
}

/* Contenu principal de la page Mon Compte */
.mon-compte-content {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* En-tête du compte */
.mon-compte-content h1 {
    text-align: center;
    font-size: 24px;
    color: #333;
}

/* Masquer la sidebar de WooCommerce */
.woocommerce-MyAccount-navigation {
    display: none;
}

/* Menu de navigation personnalisé */
.custom-account-menu {
    display: flex;
    justify-content: space-around;
    background: #ffffff;
    border: solid 1px;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.custom-account-menu a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    padding: 5px 10px;
    transition: 0.3s ease;
}

.custom-account-menu a:hover {
    background: #c0c0c0;
}

/* Message pour les utilisateurs non connectés */
.custom-message {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}


  
  /* Section : Trois bonnes raisons */
  .reasons-section {
    padding: 50px 0;
  }
  
  .reasons-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
    color: #333;
  }
  
  .reasons-wrapper {    
    display: flex;
    gap: 20px;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: wrap;
    align-content: center;
    }
  
  .reasons-wrapper .reason {
    flex: 1 1 calc(33.33% - 20px);
    background: #F0EFED;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  .reasons-wrapper .reason h3 {
    margin-bottom: 15px;
    font-size: 20px;
    color: #333;
  }
  
  .reasons-wrapper .reason p {
    font-size: 16px;
    color: #666;
  }
  
/* Grille d'annonces avec la nouvelle classe */
.ads-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  
  .annonce-card {
    background: #fff;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: calc(22% - 20px);
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  }
  
  .annonce-card img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
  }
  
  .annonce-card h3 {
    font-size: 18px;
    margin: 10px 0;
    color: #333;
  }
  
  .annonce-card p {
    font-size: 16px;
    color: #0073aa;
  }
  
  /* Responsive pour mobile */
  @media (max-width: 768px) {
    .annonce-card {
      flex: 1 1 100%;
      width: 100%;
    }
  }
  
  /* Grille d'annonces commune aux sections */
.ads-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;

}
  
  /* Styles pour les cartes d'annonces en promotion */
  .promo-card {
    background: #fff;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: calc(22% - 20px);
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  }
  
  .promo-card img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
  }
  
  .promo-card h3 {
    font-size: 18px;
    margin: 10px 0;
    color: #333;
  }
  
  .promo-card p {
    font-size: 16px;
    color: #0073aa;
  }
  
  /* Adaptation pour mobile */
  @media (max-width: 768px) {
    .promo-card {
      flex: 1 1 100%;
      width: 100%;
    }
  }
    /* Conteneur principal */
  .form-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
  }

  /* Emballage principal */
  .form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 800px;
  }

  /* Titre de la page */
  .page-title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 15px;
    color: #333;
  }

  /* Carte form */
  .form-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.05);
    overflow: hidden;
  }

  /* Header de la carte */
  .form-card-header {
    background: #ff6f00; /* Orange style Le Bon Coin */
    padding: 15px;
    color: #fff;
  }
  .form-card-header h2 {
    margin: 0;
    font-size: 20px;
    text-align: center;
  }

  /* Corps du formulaire */
  .form-card-body {
    padding: 20px;
  }
  .form-group {
    margin-bottom: 15px;
  }
  .form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
  }
  .form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
  }
  .form-control:focus {
    outline: none;
    border-color: #ff6f00;
  }

  /* Champ requis */
  .required {
    color: red;
    font-weight: bold;
  }

  /* Footer de la carte */
  .form-card-footer {
    background: #f8f9fa;
    padding: 15px 20px;
    border-top: 1px solid #ddd;
  }
  .info-text {
    margin: 0;
    font-size: 14px;
    color: #666;
    text-align: center;
  }

  /* Bouton */
  .submit-button {
    display: inline-block;
    width: 100%;
    background-color: #ff6f00;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  .submit-button:hover {
    background-color: #fa7c08;
  }

  
  .card-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-top: 30px;
    justify-items: center;
    justify-content: center;
  }
  
  .card-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  }
  
  .card-item:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  
  .card-link {
    color: inherit;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  
  .card-img img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .card-content {
    padding: 15px;
    flex: 1;
  }
  
  .card-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
  }
  
  .card-price {
    font-size: 16px;
    font-weight: bold;
    color: #ff6f00; 
  }
  
  .complete-registration-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  }
  
  .complete-registration-form .form-group {
    margin-bottom: 15px;
  }
  
  .complete-registration-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
  }
  
  .complete-registration-form .form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
  }
  
  .complete-registration-form .form-control:focus {
    outline: none;
    border-color: #ff6f00;
  }
  
  .complete-registration-form .required {
    color: red;
    font-weight: bold;
  }
  
  .complete-registration-form button {
    background-color: #ff6f00;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
  }
  
  .complete-registration-form button:hover {
    background-color: #fa7c08;
  }
  
  .card-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-top: 30px;
  }
  
  .card-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  }
  
  .card-item:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  
  .card-link {
    color: inherit;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  
  .card-img img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .card-content {
    padding: 15px;
    flex: 1;
  }
  
  .card-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
  }
  
  .card-price {
    font-size: 16px;
    font-weight: bold;
    color: #ff6f00; 
  }
  
  .woocommerce div.product div.images img{
    display: block;
    width: 100%;
    height: auto;
    box-shadow: none;
    border-radius: 33px;
    margin-left: 20px;
  }

.product-category .card img, .product.card img{
    border-radius: 33px;
}

#nav-main li a{
  margin: auto; 
  background-color: #4B2F22; 
  width: 200px;
  border: none;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  border-radius: 33px;
}


/*PAGE FAQ */

  /* Conteneur principal des catégories et des questions */
  .ewd-ufaq-faq-category {
    display: flex;
    align-items: flex-start;
}

/* catégorie a gauche */
.ewd-ufaq-faq-category-title {
    min-width: 200px;
    margin-right: 20px; /* Espace entre les catégories et les questions */
}

/* Question a droite */
.ewd-ufaq-faq-category-inner {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* largeur des questions */
.ewd-ufaq-faq-div {
    width: 100%;
}

/* Couleur */
.ewd-ufaq-faq-body{
    color: white;
    background-color: #304992;
    border-bottom-left-radius: 20px; 
    border-bottom-right-radius:20px; 
}

.ewd-ufaq-post-margin {
    background-color: #304992;
    display: block;
    color: white;
    border-top-left-radius: 20px; 
    border-top-right-radius: 20px; 
}

/* PAGE PARAMETRE */

/* Style pour le switch */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
} 

/* Cacher le carré */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/*  le bouton qui glisse */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

/* Le bouton qui glisse a l'interieur */
.slider:before {
  position: absolute;
  content: "";
  height: 16px; /* bouton rond */
  width: 16px;  /* bouton rond */
  border-radius: 50%;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
}

/* Couleur quand c'est ok*/
input:checked + .slider {
  background-color: #304992;
}

/* Quand le bouton est glissé vers la droite */
input:checked + .slider:before {
  transform: translateX(26px);
}


.Parametre{
  display: flex;
  align-items:left;
  justify-content: space-between;
}