/*
Theme Name: Astra Child
Template: astra
Version: 1.0.0
*/

body {
	background: #e6f4ff !important;
}


.postuler-button {
    background-color: #0073aa;
    color: #fff;
    padding: 10px 20px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
}

.postuler-button:hover {
    background-color: #005a87;
}


/* Correction finale de l'alignement du titre */
.form-title-candidate {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 2.5rem;
  padding-left: 32px; /* aligné avec le formulaire UM */
  margin-bottom: 0.3em;
}

/* Texte sous le titre */
.form-subtext {
  padding-left: 32px;
  margin-bottom: 1.2em;
  font-size: 1rem;
  color: #444;
}



html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

#page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#content.site-content {
    flex: 1 0 auto;
}

.site-footer {
    flex-shrink: 0;
}


.wp-block-group {
    text-align: center;
}

p:contains("Vous êtes déjà inscrit") {
    text-align: center;
    font-size: 1.1em;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #444;
}



.custom-logo {
    max-height: 80px;
    height: auto;
    width: auto;
}


/* Style du tableau de bord employeur */
.actions {
  background-color: #ffffff;
  border: 2px solid #e0e0e0;
  border-radius: 15px;
  padding: 30px;
  max-width: 800px;
  margin: 30px auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.actions a {
  display: inline-block;
  background-color: #f7f9fc;
  color: #0073aa;
  padding: 12px 20px;
  border: 1px solid #ccddee;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
}

.actions a:hover {
  background-color: #e6f0ff;
  color: #005b99;
  transform: translateY(-2px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.actions a.buy {
  background-color: #fff0f0;
  color: #cc0000;
  border-color: #ffc0c0;
}

.actions a.buy:hover {
  background-color: #ffe5e5;
  color: #a00000;
}

/* Ceci est un commentaire CSS valide */
@media screen and (max-width: 768px) {
  .wp-block-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }

/* Ceci est un commentaire CSS valide */
  .wp-block-image {
    width: 100% !important;
    overflow: hidden;
  }
}


@media screen and (max-width: 767px) {
  .wp-block-buttons .wp-block-button {
    width: 100% !important;
    margin-bottom: 10px;
  }

  .wp-block-buttons {
    flex-direction: column !important;
    align-items: stretch !important;
  }
}

@media screen and (max-width: 767px) {
  .wp-block-buttons {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .wp-block-buttons .wp-block-button {
    width: 100% !important;
    margin-bottom: 12px !important;
  }

  .wp-block-buttons .wp-block-button a {
    display: block;
    text-align: center;
  }
}


@media screen and (max-width: 768px) {
  .wp-block-paragraph {
    padding-left: 16px;
    padding-right: 16px;
    font-size: 16px;
    line-height: 1.6;
  }
}

.entry-content h2 {
  font-size: 1.6rem;
}

.entry-content h3 {
  font-size: 1.3rem;
}

.single-post .post-author {
  display: none !important;
}

/* 1. Titre de sous-catégorie (H1) */
body.archive .ast-archive-title {
  font-size: 1.8rem !important;
  line-height: 1.3;
  margin-bottom: 1rem;
  font-weight: 600;
  text-align: left;
}

/* 2. Paragraphe de description dans les sous-catégories */
body.archive .ast-archive-description p {
  font-size: 1rem !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
  margin-bottom: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}


/* Rétablir un bon retrait sur les listes dans le contenu des articles */
.entry-content ul,
.entry-content ol {
  padding-left: 2rem !important;
  margin-left: 0 !important;
  list-style-position: outside !important;
}

/* Espacement vertical entre les éléments de liste */
.entry-content ul li,
.entry-content ol li {
  margin-bottom: 0.5rem;
}

html body.single-post .entry-content ul {
  padding-left: 2rem !important;
}


.category-page-wrapper {
    margin-top: 2rem;
}

.category-sidebar {
    background-color: #f8f8f8;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.category-language-menu {
    list-style: none;
    padding: 0;
}

.category-language-menu li {
    margin-bottom: 0.5rem;
}

.category-language-menu a {
    color: #0073aa;
    text-decoration: none;
}

.category-language-menu a:hover {
    text-decoration: underline;
}




article .post-featured-image {
    margin-bottom: 2.5rem !important;
    text-align: center;
}

article .post-featured-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}



/* Appliquer à toutes les pages de soumission d'offre */
body.page-id-2897 main,
body.page-id-3825 main,
body.page-id-3841 main {
	background: #fff;
	padding: 40px;
	margin: 40px auto;
	max-width: 960px; /* élargi légèrement */
	border: 1px solid #ccc;
	border-radius: 10px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

/* Padding horizontal du formulaire */
.job-manager-form {
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Titre centré et stylé */
.form-title-swz {
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

/* Champs à 100% */
.job-manager-form input[type="text"],
.job-manager-form input[type="email"],
.job-manager-form input[type="url"],
.job-manager-form textarea,
.job-manager-form select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Espacement au-dessus des boutons */
.job-manager-form .form-field:last-of-type {
    margin-bottom: 1.5rem;
}

/* Boutons */
.job-manager-form input[type="submit"],
.job-manager-form input[type="button"] {
    margin-top: 1rem;
}


/* Centrage horizontal des boutons Preview et Save Draft */
.job-manager-form input[type="submit"],
.job-manager-form input[type="button"] {
    display: inline-block;
    margin: 10px 10px;
    text-align: center;
}

/* Conteneur du formulaire : centrage des éléments enfants */
form.job-manager-form {
    text-align: center;
}


/* Espace supplémentaire au-dessus des boutons du formulaire */
.job-manager-form input[type="submit"],
.job-manager-form input[type="button"] {
    margin-top: 30px; /* Augmente l'espace */
}


.single-job_listing .entry-header .entry-meta {
    display: none !important;
}


/* Élargir correctement le contenu dans la page de soumission */
main.swizjob-page {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 !important; /* Pour écraser le style inline */
}

main.swizjob-page > form {
    max-width: 1000px;
    width: 100%;
    padding: 3rem 2rem;
    background-color: #fff;
    box-sizing: border-box;
}


/* Centrer le titre du formulaire */
.form-title-swz {
    text-align: center;
    font-size: 2em;
    margin-bottom: 30px;
    margin-top: 10px;
}


.form-title-wrapper {
    text-align: center;
}


.job-manager-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.form-title-swz {
    text-align: center;
    font-size: 28px;
    margin-bottom: 2rem;
}


.job-manager-form-wrapper {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.form-title-swz {
  text-align: center;
  font-size: 28px;
  margin-bottom: 2rem;
}



/* Centrage du contenu */
.swizjob-page {
    display: flex;
    justify-content: center; /* Centrage horizontal */
    align-items: center; /* Centrage vertical */
    height: calc(100vh - 100px); /* Ajuster la hauteur pour ne pas toucher au menu */
    padding: 20px;
}

/* Conteneur principal de la page */
.postulation-container {
    width: 100%;
    max-width: 900px; /* Largeur max de la page */
    background-color: #fff; /* Fond blanc */
    padding: 30px;
    border-radius: 10px; /* Bordures arrondies */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Ombre légère pour l'effet d'encadrement */
    margin-top: 20px;
}

/* Mise en forme du titre */
.postulation-container h1 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

/* Contenu des informations */
.profile-info {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Espacement entre les éléments */
    font-size: 1rem;
}

/* Style des éléments de profil */
.profile-item {
    font-weight: 500;
    color: #555;
}

.profile-item a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.profile-item a:hover {
    text-decoration: underline;
}

/* Espacement du bas pour ne pas être trop collé */
.postulation-container {
    margin-bottom: 20px;
}


/* Container principal de la page Mes Candidatures */
.page-mes-candidatures {
    max-width: 960px; /* Largeur maximale */
    margin: 0 auto; /* Centrer horizontalement */
    background-color: #fff; /* Fond blanc */
    padding: 30px; /* Espacement intérieur */
    border-radius: 10px; /* Coins arrondis */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Ombre légère */
    display: flex; /* Utilisation du Flexbox */
    flex-direction: column; /* Direction des éléments en colonne */
    justify-content: center; /* Centrage vertical */
    min-height: 80vh; /* Hauteur minimale pour le centrage vertical */
}

/* Ajouter une marge en haut de la page */
.page-mes-candidatures h1 {
    margin-bottom: 20px;
    text-align: center; /* Centrer le titre */
    font-size: 2rem;
    font-weight: bold;
    color: #333; /* Couleur du texte */
}

/* Appliquer un style aux éléments de la liste de candidatures */
.page-mes-candidatures ul {
    list-style: none;
    padding-left: 0;
}

.page-mes-candidatures li {
    margin-bottom: 15px; /* Espacement entre chaque candidature */
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #ddd; /* Bord léger */
    border-radius: 8px;
    font-size: 1rem;
    color: #333;
}

.page-mes-candidatures a {
    color: #0073e6;
    text-decoration: none; /* Enlever le soulignement */
}

.page-mes-candidatures a:hover {
    text-decoration: underline; /* Souligner au survol */
}

/* Ajouter un espacement entre la liste et le bas de la page */
.page-mes-candidatures .candidatures-employeur {
    margin-top: 40px;
}


