/* ========================
   Archives jobs
   ======================== */



/* ========================
   Archives jobs - job card
   ======================== */
.job-card {
  background: var(--light-blue);
  border: 1px solid #e6e9f0;
  border-radius: 12px;
  padding: 20px;
  width: 32%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

agence-main .job-card {
  width: 100%;
}

/* --- Tablette (2 vignettes côte à côte) --- */
@media (max-width: 1024px) {
  .job-card {
    width: 48%;
  }
}

/* --- Mobile (1 vignette) --- */
@media (max-width: 768px) {
  .job-card {
    width: 100%;
  }
}


.job-card:hover {
	background: var(--white);
	transform: translateY(-5px);
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.job-card:hover .tag {
	background: var(--light-blue);
}

.job-card:hover .btn {
	background: var(--funky-blue);
}

.job-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.job-card .job-logo {
	background-color:var(--color-neutral-light);
  border-radius: 10px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}


.job-card .job-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.job-card .job-header-info .company-name {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  color: #1a1a1a;
}

.job-card .company-location {
  color: #a0a0a0;
  font-size: 13px;
  margin: 2px 0 0;
}

.job-card .job-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
}

.job-card .job-description {
  font-size: 12px;
  color: var(--black);
  line-height: 1.5;
  margin-bottom: 15px;
}

.job-card .job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.job-card .tag {
  background-color: var(--white);
  color: #3b5bdb;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
}

.job-card .job-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.job-card .salary {
  color: #3b5bdb;
  font-weight: 700;
  font-size: 18px;
}

.job-card .salary .per {
  font-weight: 400;
  font-size: 14px;
  color: #888;
  margin-left: 2px;
}

/* ========================
   Search engine jobs
   ======================== */

.job-search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 2rem;
    justify-content: center;
}

.job-search-form input[type="search"] {
    flex: 1;
    padding: 0.6rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.search-engine{
	position: relative; 
	width:100%;
	margin:auto;
	background-color:#fff;
	border-radius:8px;
	padding: 10px;
}





/* --- Structure principale --- */
#job-search-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* --- Groupe de champs --- */
#job-search-form .field {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 250px;
}

#job-search-form .button {
  flex: 0 0 20%;
  min-width: 150px;
}

/* --- Champ “mot-clé” --- */
#job-search-form input[name="s"] {
	padding: 14px 45px 14px 15px !important;
	background: var(--white)
		url('https://staging-drh.twini.fr/wp-content/uploads/2025/10/laboratory-1.png')
		no-repeat right 12px center;
	background-size: 18px 18px;
	transition: all 0.3s ease;
}




/* --- Groupe “ville + rayon” --- */
#job-search-form .location-group {
  position: relative;
  flex: 0 0 75%;
}

#job-search-form select#radius {
  flex: 0 0 25%;
  background-color: var(--light-blue);
  border: none;
  border-radius: 10px;
  padding: 14px;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

/* --- Champ “ville” --- */
#job-search-form input[name="location"] {
	padding: 14px 45px 14px 15px !important;
	background: var(--white)
		url('https://staging-drh.twini.fr/wp-content/uploads/2025/10/pin-demplacement.png')
		no-repeat right 12px center;
	background-size: 18px 18px;
	transition: all 0.3s ease;
}

/* --- Bouton --- */
#job-search-form button {
	width: 100%;
	height: 100%;
	border: none;
	cursor: pointer;
}


/* --- RESPONSIVE --- */

/* Tablette : 2 colonnes (mot-clé et ville+rayon côte à côte, bouton en dessous) */
@media (max-width: 1024px) {
  #job-search-form {
    flex-wrap: wrap;
    justify-content: center;
  }

  #job-search-form .field {
    flex: 1 1 45%;
  }

  #job-search-form .button {
    flex: 1 1 100%;
  }
}

/* Smartphone : 1 colonne (sauf ville+rayon qui restent côte à côte 75/25) */
@media (max-width: 768px) {
  #job-search-form {
    flex-direction: column;
    align-items: stretch;
  }

  #job-search-form .field,
  #job-search-form .button {
    flex: 1 1 100%;
    width: 100%;
  }

  /* Le duo ville + rayon reste sur une même ligne */
  #job-search-form .field:nth-child(2) {
    display: flex;
    flex-direction: row;
    gap: 10px;
  }

  #job-search-form .location-group {
    flex: 0 0 75%;
  }

  #job-search-form select#radius {
    flex: 0 0 25%;
  }
}




/* ========================
   Apply jobs
   ======================== */


/* Style des champs de saisie */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="file"] {
  width: 100%;
  padding: 10px;
  margin: 0.5rem 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"] {
  background: #f9f9f9;
}

.wpcf7 input[type="file"] {
  background: var(--red);
}


/* Style du bouton d'envoi */
.wpcf7 input[type="submit"] {
  cursor: pointer;
	width:100%;
}





















/* ========================
   Single jobs
   ======================== */



.job-header {
    background: var(--light-blue);
    border: 1px solid var(--light-black);
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}


	
.job-content, .sidebar-block {
    border: 1px solid var(--light-black);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.job-header-inner {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.job-company-logo img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 10px;
    background: white;
    padding: 10px;
    border: 1px solid #eee;
}

.job-header-info {
    flex: 1;
}



.job-meta {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 10px 0 20px 0;
    padding: 0;
    color: #6b7280;
    flex-wrap: wrap;
}

.job-meta i {
    color: #2563eb;
    margin-right: 6px;
}


/* ===== BODY ===== */

.job-body {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.job-content {
    flex: 1 1 65%;
}

.job-content ul {
    list-style: disc;
    margin-left: 20px;
}

/* ===== SIDEBAR ===== */

.job-sidebar {
    flex: 1 1 30%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}


.sidebar-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}


.job-share {
    display: flex;
    gap: 10px;
}
