* {
  box-sizing: border-box;
}
button.primary:disabled {
  background: #8D8D8D!important;
  pointer-events: none;
  cursor: not-allowed;
}
body {
    font-family:'Sofia Pro Light';
    background: #fff;
	padding: 36px;
  }

  .emploi-template-default p,
  .emploi-template-default li {
    font-size: 16px !important;
    line-height: 21px!important;
  }

  ul {
    list-style: unset;
  }

  @media screen and (max-width: 768px) {
    .box-wrapper {
      overflow: auto;
    }  
  }

  .wrapper {
    max-width: 1056px;
    margin: 0 auto;
  }
  
  .filter-bar {
    display: grid;
    grid-template-columns: repeat(2 , 1fr);
    align-items: center;
  }
  .filter-bar img {
    height: 20px;
  }
  
  .search-container {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    overflow: hidden;
    flex: 1;
    padding: 14px 16px;
  }
  
  .search-container input,
  .location input {
    border: none;
    flex: 1;
    outline: none;
    
  }
  .search-container input::placeholder,
  .location input::placeholder {
    font-size: 15px;
    line-height: 17px;
    color: #000;
	font-family: 'Sofia Pro Light';
  }
  .search-container input::placeholder {
    color: #000099;
  }
  .search-icon, .location-icon {
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 18px;
  }
  
  .location {
    display: flex;
    align-items: center;
    border-left: 1px solid #ddd;
    padding: 14px 16px;
    white-space: nowrap;
    border: 1px solid #ddd;
  }
  
  .filter-buttons {
    margin-top: 16px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
  }
  
  .filter-buttons button {
    padding: 11px 30px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
  }
  
  .filter-buttons button.primary {
    background: #0000cc;
    color: white;
    border: none;
    margin-left: auto;
	font-family: 'Sofia Pro Light';
  }
  
  .filter-buttons button:hover {
    opacity: 0.85;
  }
  .styled-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 11px 40px 11px 20px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff url('img/Vector.svg') no-repeat right 16px center;
    background-size: 12px;
    cursor: pointer;
    font-family: 'Sofia Pro Light';
    color: #000;
}
.styled-select:focus {
    outline: none;
}


  /* ----- Nouveaux styles pour les résultats ----- */
  
  .results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 110px 0 24px;
  }
  
  .results-header h2 {
    font-size: 24px;
    font-weight: 500;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
  }
  
  .badge {
    background: #f8e71c;
    color: #000;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    font-weight: bold;
    font-size: 15px;
    margin-left: 8px;
    border-radius: 14px;
  }
  
  .custom-select-wrapper {
    position: relative;
    display: inline-block;
  }
  
  .sort-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 12px 46px 12px 13px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 15px;
    line-height: 17px;
    background-color: white;
    cursor: pointer;
    font-weight: 300;
  }
  
  /* Flèche custom */
  .select-arrow {
    position: absolute;
    right: 14px;
    top: 58%;
    transform: translateY(-50%) rotate(3deg);
    pointer-events: none;
    font-size: 16px;
    color: #000;
  }
  
  
  .job-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #eee;
    padding: 25px 89px 44px 25px;
    margin-bottom: 20px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  }
  
  .job-title {
    font-size: 30px;
	line-height: 35px;
    font-family: "Sofia Pro SemiBold";
    margin-bottom: 10px;
    text-transform: uppercase;
    margin-top: 0;
  }
  
  .job-company {
    font-family: "Sofia Pro Regular";
    margin-top: 17px;
    margin-bottom: 13px;
    padding-left: 25px;
	font-size: 15px;
    line-height: 20px;
  }
  
  .job-location {
    color: #333;
    font-size: 15px;
    margin-bottom: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 13px;
	line-height: 15px;
  	text-transform: uppercase;
	margin-top: 0;
  }
  
  .job-button {
    background: #f97316;
    font-family:'Sofia Pro Regular';
    color: #FFF;
    padding: 10px 15px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
    font-size: 15px;
    line-height: 20px;
    margin-top: 40px;
    display: inline-block;
  }
  
  .job-button:hover {
    background: #ea580c;
  }
  
  .job-content {
    max-width: 80%;
  }
  
  @media (max-width: 768px) {
    .job-card {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .job-action {
      margin-top: 20px;
    }
  }
  

  .pagination-container {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.pagination-container button {
  background: #fff;
  border: 1px solid #ccc;
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.pagination-container button.active {
  background: #0000cc;
  color: white;
  font-weight: bold;
  border: none;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.filter-tag {
  display: flex;
  align-items: center;
  background: #e0e0ff;
  color: #000099;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

.filter-tag .remove-tag {
  margin-left: 8px;
  cursor: pointer;
  font-weight: bold;
}
.no-results {
  text-align: center;
  color: #666;
  font-size: 16px;
  margin: 40px 0;
  display: none;
}
.job-card {
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 1;
}
.job-card.hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

@media screen and (max-width: 767px) {
  .filter-bar {
    grid-template-columns: repeat(1 , 1fr);
  }
  .search-container {
    margin-bottom: 15px;
  }
  body {
    padding: 20px;
  }
}
@media screen and (max-width: 620px) {
  .results-header {
    margin-top: 60px;
  }
}
@media screen and (max-width: 568px){
	.job-content {
		max-width: 100%;
	}
	.job-card {
		padding: 25px 49px 44px 25px;
	}
}
@media screen and (max-width: 474px) {
  .styled-select,
  .primary {
    width: 100%;
  }
  .results-header {
    margin-top: 60px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 15px;
  }
  .job-card,
  .offres-alternance-list .job-card{
    padding: 25px!important;
  }
  .job-content,
  .offres-alternance-list .job-content{
    max-width: 100%!important;
  }
  .job-title,
  .offres-alternance-list .job-title{
    font-size: 18px!important;
	  line-height: 24px!important;
  }
  .job-company,
  .offres-alternance-list .job-company{
    padding-left: 0!important;
	margin-top: 10px!important;
    margin-bottom: 0px!important;
  }
}

/*--- PAGE INTERNE ---*/

.offer-container {
  display: flex;
  gap: 40px;
  margin-top: 20px;
}

.offer-wrapper {
  max-width: 65%;
  margin: 0 20px 0 0;
}
.offer-wrapper .offer-summary,
.offer-wrapper .offer-description,
.offer-wrapper .offer-skills,
.offer-wrapper .offer-more {
  margin: 60px 0;
}
.offer-wrapper .offer-more {
	margin-bottom: 0;
}
h2:not([class*="fontsize-"]) {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 20px;
}

.offer-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  object-position: top;
}
#offer-detail .offer-title {
  font-size: 40px;
  line-height: 48px;
  margin-bottom: 10px;
  margin-top: 5px;
  font-weight: 400;
}
.offer-info {
  display: flex;
  flex-direction: row;
  gap: 15px;
  align-items: center;
}
@media screen and (max-width: 568px) {
	.offer-info {
		flex-direction: column;
		align-items: flex-start;
	}
}
.offer-info p {
  margin: 0;
  font-weight: 300;
  font-size: 14px;
}
.offer-location {
  display: flex;
  align-items: center;
  gap: 5px;
}
.offer-location img {
  height: 14px;
}

.btn-retour, .main-wrapper a.btn-retour {
  display: inline-block;
  margin-left: 10px;
  border-radius: 50%;
  transition: all 0.2s ease-in-out;
  margin-top: 15px;
}

.btn-retour img {
  width: 32px;
  height: 32px;
  display: block;
}

.btn-retour:hover {
  padding-left: 20px;
}

#offer-detail .offer-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0 !important;
  margin: 0;
}

.offer-item-list {
  background-color: #000099;
  color: #FFF;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  border: 1px solid #000099;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.job-sidebar {
  position: sticky;
  top: 300px;
  padding: 24px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background-color: #fff;
  align-self: flex-start;
}

#offer-detail .job-sidebar-title {
  font-size: 20px;
  margin-bottom: 8px;
  font-weight: 400;;
}

.job-sidebar-company a {
  color: #000;
  text-decoration: underline;
  font-weight: 500;
}

.job-sidebar-tags {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0;
}

.tag {
  background-color: #f5f5f5;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 14px;
  width: max-content;
}
[data-fc-key] iframe {
    border: none!important;
    box-shadow: none!important;
}

.job-sidebar-telework-label {
  font-size: 14px;
  margin-top: 12px;
  margin-bottom: 4px;
}

.job-sidebar-telework {
  border: 1px solid #888;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 14px;
  display: inline-block;
}

.job-sidebar-meta {
  font-size: 13px;
  color: #666;
}
@media screen and (min-width: 1151px) {
  .hide_desktop {
    display: none;
  }
}
@media screen and (max-width: 1150px) {
  #offer-detail {
    position: relative;
  }
  .offer-container {
    flex-direction: column;
  }
  .offer-wrapper {
    max-width: 100%;
    width: 100%;
  }
  .job-sidebar {
    display: none;
  }
  .button_fixed {
    position: fixed;
    bottom: 30px;
    right: 30px;
  }
}
@media screen and (max-width: 959px) {
  .job-button {
    margin-top: 0px!important;
  }
	.job-button.hide_desktop {
		position: fixed;
		left: 50%;
		transform: translateX(-50%);
		bottom: 30px;
		z-index: 99999;
		width: 95%!important;
	}
}
@media screen and (max-width: 768px) {
  .job-button {
    width: 100%;
    text-align: center;
  }
  .button_fixed {
    right: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 28px;
    z-index: 1
  }
}

#fc {
  position: relative;
  z-index: 2;
  background-color: #FFF;
  padding-top: 60px;
  padding-bottom: 60px;
  margin-top: 0;
}

#fc.active {
  animation: focusAnimation 0.5s ease-in-out;
  animation-iteration-count: 2;
}

@keyframes focusAnimation {
  0% {
    box-shadow: none;
  }
  50% {
    box-shadow: #ea5a0c76 0px 0px 20px;
  }
  100% {
    box-shadow: none;
  }
}


.emploi-template-default {
	padding: 0!important;
}
#offer-detail {
	padding-left: 36px;
	padding-right: 36px;
}
@media screen and (max-width: 568px) {
	#offer-detail {
		padding-left: 20px;
		padding-right: 20px;
	}
}