/* Fonts */
@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

:root {
  --primary-color: #005bb5;
  --dark-blue-color: #1e3a8a;
  --pink-color: #eb4671;
  --green-color: #03ad23;
  --dark-grey-color: #424656;
  --background-color: #f5f7fa;
  --white-color: #ffffff;
  --black-color: #000000;
  --grey: #efefef;

  /** Valeur Téléphone **/
  --title-size: 1.5rem;
  --subtitle-size: 1.25rem;
  --text-size: 1rem;
  --small-text-size: 0.875rem;
  --very-small-text-size: 0.75rem;

  --bold: bold;
  --semi_bold: 600;
  --normal: normal;

  --raleway: "Raleway", sans-serif;
  --noto: "Noto Sans", sans-serif;

  --page-padding: 1.563rem;
}

body {
  font-family: var(--noto);
  background-color: var(--background-color);
  overflow-x: hidden;
}

h1 {
  font-family: var(--raleway);
  font-size: var(--title-size);
  font-weight: var(--bold);
}

h2 {
  font-family: var(--raleway);
  font-size: var(--title-size);
  font-weight: var(--bold);
}

h3 {
  font-family: var(--raleway);
  font-size: var(--subtitle-size);
  font-weight: var(--semi_bold);
}

p {
  font-family: var(--noto);
  font-size: var(--text-size);
  font-weight: var(--normal);
}

.semi-bold {
  font-family: var(--noto);
  font-size: var(--text-size);
  font-weight: var(--semi_bold);
}

.italic {
  font-family: var(--noto);
  font-size: var(--small-text-size);
  font-weight: var(--normal);
  font-style: italic;
}

.very-small-text {
  font-size: var(--very-small-text-size);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.flex-row {
  display: flex;
  flex-direction: row !important;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.align-start {
  align-items: flex-start;
}

.align-center {
  align-items: center;
}

.gap-sm {
  gap: 0.625rem;
}

.gap-md {
  gap: 0.938rem;
}

.gap-lg {
  gap: 1.563rem;
}

.flex-1 {
  flex: 1 1 0%;
}

.margin-left-auto {
  margin-left: auto;
}

.full-width {
  width: 100%;
}

.full-height {
  height: 100%;
}

.no-pad-top {
  padding-top: 0 !important;
}

.no-pad-side {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.margin-left-md {
  margin-left: 15px;
}

.fit-content {
  width: fit-content;
}

.content {
  padding: 1.25rem;
}

.tags {
  flex-wrap: wrap;
  align-items: center;
}

.rightPart {
  width: 100%;
}

.tag {
  justify-content: center;
  padding: 0px 0.5rem;
  background: #005bb5;
  border-radius: 0.313rem;
  color: #ffffff;
}

.chevronLeft {
  width: 2.5rem;
  height: auto;
}

.sectionOffreDetaille {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  height: 100%;
}

.align {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.313rem;
}

.gap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.625rem;
  margin-top: 0.8rem;
}

.rightPart h1 {
  padding-bottom: 7px;
}

li {
  margin-left: 1.25rem;
}

a {
  text-decoration: none;
  color: inherit;
}

.hideTab {
  display: none;
}

.description {
  margin: 0 -1.25rem 0.625rem -1.25rem;
  width: calc(100% + 2.5rem);
  padding: 0.938rem 1.25rem;
  isolation: isolate;
  background-color: #e5eff6;
}

/** header Format téléphone **/
header .hidden,
header .logBtn,
header .postOffer {
  display: none;
}

header .top_header {
  display: flex;
  justify-content: space-between;
  padding: 0.625rem 1.25rem;
  background-color: var(--primary-color);
  align-items: center;
}

header .menu {
  display: flex;
  flex-direction: column;
  width: fit-content;
  gap: 1.875rem;
}

header .sidenav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--dark-blue-color);
  padding: 1.25rem;
  gap: 1.563rem;
  box-sizing: border-box;
  z-index: 100;
}

header .logo {
  width: 9.625rem;
  height: 2.313rem;
}

header ul {
  list-style: none;
}

header .sidenav a {
  display: flex;
  gap: 0.4rem;
  text-decoration: none;
  color: inherit;
  width: 100%;
}

header hr {
  height: 3px;
  background-color: var(--white-color);
  border: none;
  width: 100%;
}

header nav {
  display: flex;
  flex-direction: column;
  position: fixed;
  bottom: 0;
  gap: 1.563rem;
  padding-bottom: 1.25rem;
}

header h1,
header h2,
header h3 {
  color: var(--white-color);
}

header .action:active {
  transform: scale(0.97);
  box-shadow: inset 0 0 0.625rem rgba(0, 0, 0, 0.2);
}

header .nav-hover:hover {
  text-decoration: underline var(--white-color);
}

header .imgLog,
header .imgLogOut {
  display: none;
}

header .checkBtn {
  width: 1.938rem;
}

footer {
  padding: 1.25rem;
  background-color: var(--dark-grey-color);
  color: var(--white-color);
}

footer div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.938rem;
}

footer div nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
}

footer div nav img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

footer div nav p {
  margin-top: 0;
  color: var(--white-color);
}

footer div nav :any-link {
  color: var(--white-color);
}

/* Other */
.flex-row-nowrap {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.313rem;
}

/* Search bar */
.offer-controls {
  display: flex;
  width: 100%;
  flex-direction: column;
  flex-wrap: nowrap;
  position: relative;
  overflow: visible;
  gap: 0.625rem;
}

.offer-search {
  display: flex;
  flex-direction: row;
  align-items: self-start;
  justify-items: center;
  align-items: center;
  width: 100%;
  gap: 0.625rem;
  flex-wrap: nowrap;
}

.offer-search-bar {
  flex-grow: 1;
}

.offer-search-filters {
  flex-shrink: 1;
}

.offer-sort-mobile {
  position: relative;
  display: flex;
  flex-direction: row;
  gap: 0.325rem;
  overflow: visible;
  width: fit-content;
}

#offer-sort-mobile-options,
#offer-sort-desktop-options,
#desktop-price-range-options,
#desktop-status-options {
  z-index: 5;
  top: 2.5rem;
  position: absolute;
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-items: center;
  align-items: center;
  gap: 0.325rem;
  background-color: var(--white-color);
  border: #000 solid 1px;
  border-radius: 10px;
}

#desktop-price-range-options {
  width: max-content;
}

#offer-sort-mobile-options p,
#offer-sort-desktop-options p,
#desktop-price-range-options p,
#desktop-status-options p {
  width: 100%;
  padding: 0.625rem;
  text-align: center;
  font-size: var(--text-size);
  color: var(--black-color);
  cursor: pointer;
}

#offer-sort-mobile-options p:hover,
#offer-sort-desktop-options p:hover,
#desktop-price-range-options p:hover,
#desktop-status-options p:hover {
  cursor: pointer;
  background-color: var(--background-color);
}

#offer-sort-mobile-button {
  background-color: var(--white-color);
  color: var(--black-color);
  height: 2.75rem;
  border-radius: 10px;
  padding: 0 2.5rem 0 1rem;
  background-image: url("/assets/icons/unfold_more_primary.svg");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 1.75rem;
  font-size: var(--text-size);
  cursor: pointer;
  pointer-events: all;
  border: #000 solid 1px;
}

#offer-search-input {
  width: 100%;
  height: 2.75rem;
  padding: 0 1.5rem 0 2.5rem;
  border-radius: 100px;
  background-image: url("/assets/icons/search_primary.svg");
  background-repeat: no-repeat;
  background-position: 0.5rem center;
  background-size: 1.75rem;
  font-size: var(--text-size);
  border: #000 solid 1px;
}

#offer-search-filter-button {
  background-color: var(--primary-color);
  color: var(--white-color);
  width: 100%;
  height: 2.75rem;
  border-radius: 100px;
  padding: 0 1.5rem;
  border-color: none;
  font-size: var(--text-size);
  cursor: pointer;
  pointer-events: all;
  border: #000 solid 1px;
}

#offer-search-filter-button:active {
  background-color: var(--dark-blue-color);
}

.offer-sort-desktop {
  display: none;
}

.offer-search-filters select {
  display: none;
}

/* Carte affichage des offres */
.offer-section {
  display: flex;
  flex-direction: column;
  align-items: self-start;
  padding: var(--page-padding);
  width: 100%;
  height: fit-content;
  gap: 1.25rem;
}

.offer-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.5rem;
  width: 100%;
  align-items: center;
}

.offer-card {
  max-width: 27rem;
  width: 100%;
  padding: 0.938rem;
  display: flex;
  flex-direction: column;
  gap: 0.938rem;
  background-color: var(--white-color);
  border-radius: 0.938rem;
  word-wrap: break-word;
  -webkit-box-shadow: 0 4px 8px 3px rgba(0, 0, 0, 0.15),
    0 1px 3px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 4px 8px 3px rgba(0, 0, 0, 0.15),
    0 1px 3px rgba(0, 0, 0, 0.3);
  box-shadow: 0 4px 8px 3px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.3);
}

.offer-card-info-layout {
  display: flex;
  height: 100%;
  flex-direction: column;
  gap: 0.938rem;
  justify-content: space-between;
}

.offer-card-gap {
  display: flex;
  flex-direction: column;
  gap: 0.938rem;
}

.offer-card .offer-card-img-main {
  width: 100%;
  border-radius: 0.938rem;
  aspect-ratio: 6 / 4;
  object-fit: cover;
}

.offer-card-img,
.highlighted-card-img {
  position: relative;
  overflow-x: visible;
}

.offer-card-img-badges {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.625rem;
  position: absolute;
  margin: 0.938rem;
  top: 0;
  left: 0;
  align-items: top;
  justify-content: baseline;
  width: fit-content;
  height: fit-content;
}

.offer-card-img-badge-pink,
.offer-card-img-badge-green {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  text-wrap: nowrap;
  gap: 0.313rem;
  border-radius: 100px;
  width: fit-content;
  padding: 0.313rem 0.625rem;
  color: var(--white-color);
  align-items: center;
  justify-content: center;
}

.offer-card-img-badge-pink img,
.offer-card-img-badge-green img {
  width: auto;
  height: 15px;
}

.offer-card-img-badge-pink {
  background-color: var(--pink-color);
}

.offer-card-img-badge-green {
  background-color: var(--green-color);
}

.offer-card-img-category-icon,
.highlighted-card-img-category-icon {
  margin: 0.938rem;
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: var(--background-color);
  border-radius: 100%;
  border: 1px solid var(--black-color);
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlighted-card-img-category-icon-img,
.offer-card-img-category-icon-img {
  width: 1.5rem !important;
  height: 1.5rem !important;
}

.offer-card-price-note,
.offer-card-city-author {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.highlighted-card-city,
.offer-card-city,
.offer-card-note,
.offer-card-price {
  flex-direction: row;
  display: flex;
  align-items: center;
  justify-items: center;
  gap: 0.313rem;
}

.offer-card-note-stars,
.offer-card-price-euros {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.undoBtn {
  position: absolute;
  left: 30px;
  top: 30px;
}

.connection .logMember {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1.25rem;
}

.connection .logMember .form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
}

.connection .logMember .logLines {
  gap: 0.625rem;
}

.connection {
  display: flex;
  flex-direction: column;
  gap: 1.875rem;
  align-items: center;
  padding: 6.25rem;
}

.connection p {
  width: max-content;
}

.connection hr {
  width: 100%;
  border: 0.063rem solid #424656;
}

.connection a {
  text-decoration: underline;
}

.connection .logPro {
  display: none;
}

.connection input {
  border: 0.063rem solid #637381;
  padding: 0 0.625rem 0 2.25rem;
  margin: 0.313rem 0 0.313rem 0;
  border-radius: 0.375rem;
  height: 2.813rem;
}

.connection button {
  border: 0.125rem solid #000;
  width: fit-content;
  height: 3.375rem;
  border-radius: 1.875rem;
  background-color: var(--white-color);
  padding: 0.438rem 0.938rem 0.438rem 0.938rem;
  color: #000;
}

.connection .logLines {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0 0.625rem 0 0.625rem;
}

.connection a {
  color: #000;
}

.connection .formBtnEmail {
  background: url("/assets/icons/login_black.svg") no-repeat 0.5rem center;
  background-size: 1.25rem;
  font-size: var(--text-size);
}

.connection .formBtnPassword {
  background: url("/assets/icons/shield_black.svg") no-repeat 0.5rem center;
  background-size: 1.25rem;
}

.connection-page header,
.right-img,
.title-connexion {
  display: none;
}

.connection input:focus {
  outline-color: var(--primary-color);
}

.connection button:active {
  background-color: #444444;
  color: #000;
}

.connection .error {
  color: var(--pink-color);
}

.logMenu {
  position: absolute;
  top: 4.4rem;
  right: 0.625rem;
  background: white;
  border: 0.063rem solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 0.625rem;
}

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

.logMenu ul li {
  margin: 0.5rem 0;
}

.logMenu ul li a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

.inscription header {
  display: none;
}

input, label, ul {
  font-family: var(--noto)
}

input {
  border: 0.063rem solid #ccc;
  border-radius: 0.25rem;
  box-sizing: border-box;
  padding: 0.625rem 0.3125rem;
}

#photo {
  height: 6rem;
}

#signup_button {
  border-radius: 1.875rem;
  border-color: black;
  border-width: 0.125rem;
  background-color: white;
  height: 3.375rem;
  width: 10rem;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: flex-end;
}

#signup_button:hover {
  border-color: white;
  background-color: black;
  color: white;
}


h4 {
  font-family: var(--noto);
  font-size: var(--text-size);
}

li {
  font-family: var(--noto);
  font-size: var(--small-text-size);
}

.error-msg {
  color: red;
  font-size: var(--small-text-size);
  font-family: var(--noto);
}

/* Section à la une offre */

.highlighted-offers-section h2 {
  padding: var(--page-padding) var(--page-padding) 0 var(--page-padding);
}

.highlighted-offers-section {
  width: 100%;
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.highlighted-offers-list {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  display: flex;
  flex-direction: row;
  gap: 1.25rem;
  width: 100%;
  height: 100%;
  scrollbar-width: none;
  padding-inline: var(--page-padding);
}

.highlighted-offers-list::-webkit-scrollbar {
  display: none;
}

.highlighted-card {
  min-width: 348px;
  max-width: 27rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.938rem;
  scroll-snap-align: center;
}

.highlighted-card-img img {
  width: 100%;
  height: 100%;
  aspect-ratio: 6 / 4;
  border-radius: 0.938rem;
  object-fit: cover;
}

.highlighted-card-price {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.313rem;
}

.highlighted-card-note {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 0.313rem;
}

.highlighted-card-note-stars {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.highlighted-offers-list-arrows,
.highlighted-offers-list-arrows-detail {
  display: none;
}

.highlighted-offers-list-arrows {
  pointer-events: none;
}

.highlighted-offers-list-arrows img {
  pointer-events: auto;
}

.information-data-container {
  background-color: var(--white-color);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.information-data-container .logo {
  display: flex;
  justify-content: center;
}

.information-data-container .personal-data {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 0.625rem 0 0.625rem 0;
  border-radius: 0.375rem;
}

.information-data-container .lines-container {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  width: 100%;
}

.information-data-container .lines {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.information-data-container .title {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.information-data-container input {
  font-size: var(--text-size);
  font-family: var(--noto);
  height: 2.813rem;
  border-radius: 0.375rem;
  border: 0.063rem solid #637381;
  padding-left: 0.625rem;
}

.information-data-container button {
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 0.625rem 0.938rem;
  width: fit-content;
  height: fit-content;
  border: none;
  border-radius: 0.625rem;
  box-shadow: 0 0.25rem 0.5rem 0.188rem rgba(0, 0, 0, 0.15),
    0 0.063rem 0.188rem rgba(0, 0, 0, 0.3);
}

.information-data-container button:active {
  background-color: var(--white-color);
  color: var(--primary-color);
  border: 0.063rem solid var(--primary-color);
}

.information-data-container input:focus {
  outline-color: var(--primary-color);
}

.information-data-container .title {
  padding-bottom: 0.625rem;
  border-bottom: 0.063rem solid #000;
}

.information-data-container .password {
  display: flex;
  justify-content: space-between;
  gap: 0.625rem;
}

.information-data-container .inputPassword {
  width: 75%;
}

.information-data-container .hidden {
  display: none;
}

.filter-modal {
  display: none;
  justify-self: center;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  padding: 1rem;
}

.filter-modal-content-wrapper {
  background-color: var(--white-color);
  border-radius: 0.625rem;
  padding: 1.25rem;
  max-width: 600px;
  width: 100%;
  margin: auto;
  position: relative;

  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 1rem;
}

.filter-modal-header {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
}

.filter-modal-header img {
  width: 1.5rem;
  height: 1.5rem;
  cursor: pointer;
}

.filter-modal-content {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 1.25rem;
}

.filter-modal-sort {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.625rem;
}

.filter-modal-category-options {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.filter-modal-category-option {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-items: center;
  align-items: center;
  border: #000 solid 1px;
  border-radius: 100px;
  gap: 0.313rem;
  padding: 0.313rem 0.625rem;
  cursor: pointer;
}

.filter-modal-category-option:hover {
  background-color: var(--background-color);
}

.selected-category,
.selected-status {
  border: #000 solid 2px;
  background-color: var(--background-color);
}

.desktop-filter-dropdown {
  display: none;
}

.filter-modal-price-options,
.filter-modal-date-options {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.625rem;
}

.filter-modal-price-minimum,
.filter-modal-price-maximum,
.filter-modal-date-option {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.313rem;
}

.filter-modal-price-icon-wrapper {
  display: flex;
  width: 8.188rem;
  height: 35px;
  /* force une hauteur fixe */
  border: 1px solid #000;
  border-radius: 8px;
  overflow: hidden;
}

.filter-modal-price-icon {
  width: 35px;
  height: 100%;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.filter-modal-price-icon img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.filter-modal-price-icon-wrapper input {
  flex: 1;
  border: none;
  outline: none;
  height: 35px;
  padding-left: 6px;
  font-size: var(--text-size);
  background-color: var(--background-color);
}

#desktop-price-options {
  z-index: 5;
  top: 3rem;
  position: absolute;
  display: none;
  width: max-content;
  flex-direction: column;
  justify-items: center;
  align-items: center;
  gap: 0.325rem;
  background-color: var(--white-color);
  border: #000 solid 1px;
  border-radius: 10px;
  top: 2.5rem;
  padding: 0.625rem;
}

.filter-modal-price-icon-wrapper-error {
  border: red solid 2px;
}

.filter-modal-price-icon-wrapper-error div {
  background-color: red;
}

.filter-modal-price-range-options {
  display: none;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.filter-modal-status-options {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.filter-modal-price-range-option,
.filter-modal-status-option {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-items: center;
  align-items: center;
  border: #000 solid 1px;
  border-radius: 100px;
  gap: 0.313rem;
  padding: 0.313rem 0.625rem;
  cursor: pointer;
}

.filter-modal-price-range-option:hover,
.filter-modal-status-option:hover {
  background-color: var(--background-color);
}

.selected-price-range {
  border: #000 solid 2px;
  background-color: var(--background-color);
}

.filter-modal-date-option input {
  width: 100%;
  height: 2.75rem;
  padding: 0 0.5rem;
  border-radius: 8px;
  background-size: 1.75rem;
  background-color: var(--white-color);
  font-size: var(--text-size);
  font-family: var(--noto);
  border: #000 solid 1px;
  color: var(--black-color);
}

.filter-modal-date-option input:hover {
  cursor: pointer;
}

#desktop-date-options {
  z-index: 5;
  top: 3rem;
  position: absolute;
  display: flex;
  width: max-content;
  flex-direction: column;
  justify-items: center;
  align-items: baseline;
  gap: 0.325rem;
  background-color: var(--white-color);
  border: #000 solid 1px;
  border-radius: 10px;
  top: 2.5rem;
  padding: 0.625rem;
}

.desktop-date-option {
  width: max-content;
  display: flex;
  flex-direction: column;
  gap: 0.313rem;
}

.desktop-date-option input {
  width: 100%;
  height: 35px;
  padding: 0 1rem;
  border-radius: 8px;
  background-size: 1.75rem;
  background-color: var(--white-color);
  font-size: var(--text-size);
  border: #000 solid 1px;
  color: var(--black-color);
  font-family: var(--noto);
}

.date-error {
  border: red solid 2px !important;
}

.filter-modal-note-options {
  display: flex;
  align-items: center;
  overflow: hidden;
}

.filter-modal-note-options img {
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

#desktop-note-options {
  z-index: 5;
  top: 3rem;
  position: absolute;
  display: flex;
  width: max-content;
  flex-direction: row;
  justify-items: center;
  align-items: baseline;
  background-color: var(--white-color);
  border: #000 solid 1px;
  border-radius: 10px;
  top: 2.5rem;
  padding: 0.625rem;
  overflow: hidden;
}

#desktop-note-options img {
  width: 1.5rem;
  height: 1.5rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.filter-modal-note-options img:hover,
#desktop-note-options img:hover {
  transform: scale(1.1);
}

#filter-note-text {
  font-size: var(--very-small-text-size);
  color: var(--dark-grey-color);
}

.avis .imgProfil {
  border-radius: 50%;
  width: 3rem;
}

.avis .hidden {
  display: none;
}

.avis {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  gap: 1.25rem;
}

.big-title-avis {
  border-top: 1px solid var(--black-color);
  padding: 0.625rem 0 0;
  text-align: center;
  width: 90%;
  margin: 0 auto;
}

.avis .container-avis {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  width: 100%;
}

.avis .avis-item {
  display: flex;
  flex-direction: column;
  background-color: var(--background-color);
  box-shadow: 0px 4px 8px 3px rgba(0, 0, 0, 0.15),
    0px 1px 3px rgba(0, 0, 0, 0.3);
  border-radius: 0.938rem;
  margin: 0.313rem;
}

.avis .avis-title {
  text-align: center;
  padding-bottom: 0.188rem;
  background-color: var(--primary-color);
  color: var(--white-color);
  border-radius: 0.313rem;
  margin: 1.25rem;
}

.avis .description-avis {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0.625rem;
  padding: 0.625rem;
}

.avis .account {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.avis .profil {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.avis .note {
  display: flex;
  gap: 0.3rem;
  align-items: center;
}

.avis .note .like {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.avis .containerBtnAvis {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
}

.avis .BtnAvis {
  display: flex;
  padding: 0 2rem;
  gap: 0.625rem;
  color: var(--black-color);
  height: 31px;
  background: #ffffff;
  border: 0.063rem solid #000000;
  border-radius: 1.875rem;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.avis .container-reponse {
  display: flex;
  flex-direction: column;
  gap: 1.563rem;
  background-color: var(--grey);
  box-shadow: 0px 4px 8px 3px rgba(0, 0, 0, 0.15),
    0px 1px 3px rgba(0, 0, 0, 0.3);
  border-radius: 0.938rem;
  padding: 0.625rem;
  margin: 0.625rem;
}

.avis .ProAvis {
  align-items: flex-end;
}

.no-offers-message {
  display: none;
  font-size: var(--subtitle-size);
  color: var(--dark-grey-color);
  text-align: center;
  padding: 2.5rem;
  margin-top: 5rem;
  margin-bottom: 5rem;
}

@media (width >=65rem) {

  .calendar {
    width: 30% !important;
  }

  .hideTab {
    display: block;
  }

  .hideMob {
    display: none !important;
  }

  .contentMob {
    padding: 2.188rem;
  }

  .images img {
    width: 100%;
    height: auto;
    border-radius: 0.938rem;
  }

  .images {
    width: 100%;
  }

  .infoTab {
    background: #ffffff;
    box-shadow: 0px 8px 12px 6px rgba(0, 0, 0, 0.15),
      0px 4px 4px rgba(0, 0, 0, 0.3);
    border-radius: 0.938rem;
    padding: 1.25rem;
    width: 100%;
  }

  .contentTab {
    padding: 2.188rem;
  }

  .description {
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    width: calc(100% + 2.5rem);
    padding: 0.938rem 1.25rem;
    isolation: isolate;
    background: #fff !important;
    padding-top: 0 !important;
  }

  #form_main > form > div{
      padding: 0.9375rem 1.25rem;
      width: 100%;
  }

  #inscription_membre {
      display: flex;
      flex-direction: column;
  }
  
  #inscription_membre {
      align-self: flex-start;
  }
}

@media (max-width: 62.5rem) {
  .main .right-img {
    display: none;
  }

  #background_image{
      display: none;
  }

  #inscription_membre, #inscription_membre > div {
      display: flex;
      flex-direction: column;
  }

  #inscription_membre {
      align-self: flex-start;
  }

  #form_main {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 1.25rem;
  }

  .groupe > div, .solo{
    padding: 0.469rem 1.25rem;
    width: 100%;
  }

  #form_main > h4 {
    padding: 0.9375rem 1.25rem;;
  }

  #liste_mobile {
      display: block;
      padding-left: 1rem;
  }

  #liste_tablette {
      display: none;
  }

  .groupe > div {
      display: flex;
      flex-direction: column;
  }

  #logo {
      width: 13.75rem;
      height: 3.3125rem;
  }

  #form_main > h1 {
      position: relative;
      display: inline-block;
      text-align: center;
      padding-bottom: 0.25rem;
  }

  #form_main > hr {
    width: 80%;
  }

  #photo {
    width: 150%;
  }
}

@media (width < 56.25rem) {
  .information .UpdateBtn {
    position: relative;
    left: 0%;
  }
}

@media (width < 43.75rem) {
  .information-data-container .lines-container {
    flex-direction: column;
  }

  .information-data-container .lines-container {
    width: 100%;
  }
}

/* Format tablette */
@media (min-width: 35rem) {
  :root {
    --title-size: 1.875rem;
    --subtitle-size: 1.563rem;
    --text-size: 1.125rem;
    --small-text-size: 1.094rem;
    --very-small-text-size: 0.75rem;

    --page-padding: 2.188rem;
  }

  #transition_bar {
    width: 50%;
    color: black;
    background-color: black;
  }

  header .btnBurger {
    display: none;
  }

  header .logBtn,
  header .postOffer {
    display: block;
  }

  header .imgLogOut,
  header .imgLog {
    display: block;
    width: 3.125rem;
    border-radius: 50%;
    cursor: pointer;
  }

  header .top_header {
    padding: 0.125rem 0.875rem;
    height: 4.063rem;
  }

  header .menu_nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
  }

  header .postOffer {
    text-decoration: none;
  }

  header .txtPostOffer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.313rem 0.625rem;
    color: var(--white-color);
    border: 0.125rem solid var(--white-color);
    border-radius: 0.625rem;
  }

  header .txtPostOffer:hover {
    background-color: var(--white-color);
    color: var(--primary-color);
  }

  header .txtPostOffer:active {
    background-color: #334f9f;
    color: var(--white-color);
  }

  header .ImgBtn,
  header .ImgSearch {
    width: 3.125rem;
    height: 3.125rem;
  }

  footer div {
    flex-direction: row;
    justify-content: space-between;
  }

  footer div nav {
    flex-direction: row;
    gap: 2.188rem;
  }

  .main footer {
    display: none;
  }

  .offer-section {
    align-items: center;
  }

  .offer-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(0, 27rem));
    width: 100%;
    justify-content: center;
    align-items: stretch;
    padding: 0.625rem;
  }

  .offer-card {
    height: 100%;
  }

  .offer-card-img-badge-pink img,
  .offer-card-img-badge-green img {
    height: 18px;
  }

  .main {
    display: flex;
    flex-direction: row;
    overflow-x: hidden;
  }

  .main .right-img {
    display: block;
    flex: 1;
  }

  .connection {
    display: flex;
    justify-content: center;
    flex: 1;
  }

  .connection .title-connexion {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0.313rem;
  }

  .connection .title-connexion hr {
    max-width: 28.125rem;
  }

  .connection .submit-container {
    width: 100%;
    display: flex;
    justify-content: end;
    padding: 1.25rem 0 1.25rem 1.25rem;
  }

  .connection button:hover {
    background-color: #000;
    color: var(--white-color);
  }

  .connection-page footer {
    display: none;
  }

  .connection .logPro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
  }

  .offer-section {
    align-items: center;
  }

  .offer-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(0, 27rem));
    gap: 1.25rem;
    width: 100%;
    justify-content: center;
    align-items: stretch;
  }

  .offer-card {
    height: 100%;
  }

  .offer-card-img-badge-pink img,
  .offer-card-img-badge-green img {
    height: 18px;
  }
  #inscription_main input {
    width: 100%;
  }
  
  #signup_button {
    align-self: center;
  }
  
  #liste_mobile {
      display: none;
  }
  
  #liste_tablette {
      display: block;
      padding: 0 2rem;
  }
  
  #inscription_membre {
      width: 80%;
      align-self: center;
  }
  
  #inscription_main {
    display: flex;
    flex-direction: row;
    padding: 0;
    width: 100%;
  }

  #form_main {
      width: 50%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      flex-wrap: nowrap;
      align-items: center;
      padding: 1.5rem 0;
  }
  
  h4 {
      display: none;
  }

  .solo {
      display: flex;
      flex-direction: column;
  }

  .align-row {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 0.5rem;
  }
  
  .groupe {
      display: flex;
      flex-direction: row;
      align-items: end;
      gap: 1.875rem;
  }
  
  .groupe div{
      display: flex;
      flex-direction: column;
      padding: 0;
      width: 50%;
  }
  
  #background_image_block{
      position: relative;
      width: 50%;
      height: calc(100%-2.5rem);
      top: 0;
      right: 0;
      bottom: 0;
      margin: 0;
  }
  
  #background_image{
      display: block;
      position: sticky;
      right: 0;
      top: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      padding: 0;
  }

  .highlighted-offers-section {
    align-items: center;
    position: relative;
  }

  .information-data-container {
    align-items: center;
    gap: 1.875rem;
  }

  .information-data-container .personal-data {
    box-shadow: 0 0.25rem 0.5rem 0.188rem rgba(0, 0, 0, 0.15),
      0 0.063rem 0.188rem rgba(0, 0, 0, 0.3);
    width: 80%;
    padding: 1.875rem;
  }

  .information-data-container .lines-container {
    align-items: center;
    width: 80%;
  }

  .information-data-container .lines {
    width: 100%;
  }

  .information-data-container .inputPassword {
    width: 80%;
  }

  .big-title-avis {
    width: 95%;
  }

  .avis-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    padding: 1.25rem;
    width: 100%;
    align-items: flex-start;
  }
  
  #form_main {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 1.25rem;
  }

  .groupe > div, .solo{
    width: 100%;
  }

  #form_main > h4 {
    padding: 0.9375rem 1.25rem;;
  }
  
  #liste_mobile {
      display: block;
      padding-left: 1rem;
  }
  
  #liste_tablette {
      display: none;
  }

  .groupe > div {
      display: flex;
      flex-direction: column;
  }
  
  #logo {
      width: 13.75rem;
      height: 3.3125rem;
  }
  
  #form_main > h1 {
      position: relative;
      display: inline-block;
      text-align: center;
      padding-bottom: 0.25rem;
  }
  
  #form_main > hr {
    width: 80%;
  }

  #photo {
    width: 150%;
  }

  .contentTab {
    padding: 2.188rem;
  }

  .description {
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    width: calc(100% + 2.5rem);
    padding: 0.938rem 1.25rem;
    isolation: isolate;
    background: #e5eff6;
  }

  #offer-sort-desktop-options {
    top: 2.5rem;
  }

  .offer-sort-desktop {
    display: flex;
    gap: 0.625rem;
    position: relative;
    overflow: visible;
  }

  #offer-search-filter-button {
    display: none;
  }

  .offer-sort-mobile {
    display: none;
  }

  .offer-search {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    overflow: visible;
  }

  .offer-search-bar {
    width: 70%;
  }

  .offer-search-filters {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    width: fit-content;
    overflow: visible;
  }

  .offer-search-filters select,
  #offer-sort-desktop-button {
    display: block;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    height: 2.188rem;
    padding: 0 2.5rem 0 1rem;
    border-radius: 100px;
    background-color: var(--white-color);
    border: #000 solid 1px;
    font-size: var(--text-size);
    cursor: pointer;
    pointer-events: all;

    background-image: url("/assets/icons/keyboard_arrow_down_black.svg");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1.75rem;
  }

  .highlighted-card-img {
    aspect-ratio: 1/1;
    width: 21.75rem;
  }

  .highlighted-card {
    width: 21.75rem;
  }

  .highlighted-offers-list-arrows-detail {
    top: 55% !important;
  }

  .highlighted-offers-list-arrows,
  .highlighted-offers-list-arrows-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: absolute;
    left: 0;
    top: calc(2.188rem + 1.875rem + 1.25rem + 10.875rem + 1.25rem);
    transform: translateY(-50%);
    z-index: 10;
    padding-inline: var(--page-padding);
  }

  .highlighted-offers-list-arrows img,
  .highlighted-offers-list-arrows-detail img {
    width: 2.5rem;
    height: 2.5rem;
    cursor: pointer;
    pointer-events: auto;
  }

  .selected-category-desktop,
  .selected-price-range-desktop,
  .selected-status-desktop {
    background-color: var(--background-color);
  }

  .desktop-filter-dropdown {
    display: flex;
    gap: 0.625rem;
    position: relative;
    overflow: visible;
  }

  .desktop-filter-button {
    display: block;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    height: 2.188rem;
    padding: 0 2.5rem 0 1rem;
    border-radius: 100px;
    background-color: var(--white-color);
    border: #000 solid 1px;
    font-size: var(--text-size);
    cursor: pointer;
    pointer-events: all;

    background-image: url("/assets/icons/keyboard_arrow_down_black.svg");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1.75rem;
  }

  .desktop-filter-options {
    z-index: 5;
    top: 3rem;
    position: absolute;
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    gap: 0.325rem;
    background-color: var(--white-color);
    border: #000 solid 1px;
    border-radius: 10px;
    top: 2.5rem;
  }

  .desktop-filter-options p {
    width: 100%;
    padding: 0.625rem;
    text-align: center;
    font-size: var(--text-size);
    color: var(--black-color);
    cursor: pointer;
  }

  .desktop-filter-options p:hover {
    cursor: pointer;
    background-color: var(--background-color);
  }

  .avis {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.25rem; 
    justify-content: start; 
  }

  .container-avis {
    flex: 0 0 calc(50% - 1.25rem); 
    box-sizing: border-box;
  }

  .avis-item {
    border: 1px solid #ccc;
    padding: 0.938rem;
    border-radius: 10px;
    background-color: #f9f9f9;
  }
}

@media (width < 43.75rem) {
  .information-data-container .lines-container {
    flex-direction: column;
  }

  .information-data-container .lines-container {
    width: 100%;
  }
  .avis {
    flex-direction: column;
  }
}

@media (width < 56.25rem) {
  .information .UpdateBtn {
    position: relative;
    left: 0%;
  }
}

.horizontal-slider {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
  scrollbar-width: none;
}

.slider-item {
  flex: 0 0 100%;
  object-fit: cover;
  scroll-snap-align: center;
  border-radius: 5px;
}

.slider-item-mob {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  height: 300px;
}

.image-counter {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 2px 6px;
  font-size: 13px;
  border-radius: 3px;
  font-family: var(--noto);
}

.slider-item-wrapper {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: start;
}

.horizontal-slider-mob {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  width: 100%;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

#map {
  margin: 1rem 0 0.4rem 0;
  border-radius: 0.625rem;
  width: 100%;
  height: 18.75rem;
}

#mapTab {
  border-radius: 0.625rem !important;
  width: 70% !important;
  height: 18.75rem !important;
  margin: 0 !important;
}

.calendar {
  background: #ffffff;
  box-shadow: 0px 8px 12px 6px rgba(0, 0, 0, 0.15), 0px 4px 4px rgba(0, 0, 0, 0.3);
  border-radius: 0.938rem;
  padding: 1.25rem;
  width: 100%;
  height: 18.75rem;
  padding: auto;
}

.container-map {
  width: 100%;
  padding-bottom: 10px;
}

.tooltip-parent {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltip {
  visibility: hidden;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 0.375rem;
  padding: 0.5rem;
  position: absolute;
  z-index: 100;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
}

.tooltip-parent:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

#btn_ajouter, .btn_submit {
  width: 8.125rem;
  height: 2.75rem;
  background-color: var(--primary-color);
  font-size: var(--text-size);
  color: var(--background-color);
  border-radius: 0.625rem;
  border: none;
}

#btn_ajouter:hover, .btn_submit:hover {
  background-color: var(--background-color);
  border: 3px solid var(--primary-color);
  color: var(--primary-color);
  cursor: pointer;
}

#btn_ajouter:active, .btn_submit:active {
  background-color: #003e7d;
  color: var(--black-color);
  border-color: #003e7d;
}

.btn_add {
  text-align: center;
  margin: 0.5rem 0;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  min-width: 300px;
  max-width: 90%;
}

.close {
  float: right;
  font-size: 20px;
  cursor: pointer;
}

.modal form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal input, .modal textarea {
  width: 100%;
  padding: 5px;
}

.modal-content hr {
  width: 75%;
  margin-bottom: 0.3rem;
}

.btn_submit {
  width: 8.125rem;
  height: 2.75rem;
  background-color: var(--primary-color);
  font-size: var(--text-size);
  color: var(--background-color);
  border-radius: 0.625rem;
  border: none;
}

.containerAvisSub {
  text-align: center;
  margin: 0.5rem 0;
}

textarea {
  resize : none;
}

#formAvis div input, #formAvis div textarea {
  border-radius: 10px;
}

input {
  font-family: var(--noto);
}

textarea::placeholder {
  font-family: var(--noto);
  font-size: var(--very-small-text-size);
}