/* INITIALISATION DU DESIGN */

* {
  font-weight: 400;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-size: 14px;
}

@media (max-width: 1100px) {
  * {
    font-size: 12px;
  }
}

html,
body {
  min-height: 100%;
  /* overflow: auto; - REMOVED: bloquait window.scrollY (toujours 0) et empêchait history.scrollRestoration */
}

body {
  color: var(--sp-color-text-primary);
  background-color: var(--sp-color-white-soft);
}

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

.textExplanation {
  line-height: 1.5rem;
  font-weight: 300;
  font-size: 18px;
  margin: 10px 0px 20px 0px;
}

.blackButton {
  background-color: var(--sp-color-primary);
  color: white;
  padding: 8px;
  padding-right: 16px;
  border-radius: 10px;
  margin: 10px 0px;
  min-height: 25px;
}

.fullFormContainer {
  min-width: 300px;
  width: 40vw;
  margin: 40px auto;
  background-color: var(--sp-color-white);
  border-radius: 10px;
  padding: 20px;
}

.grdpDescription {
  font-style: italic;
  font-size: 12px;
  text-align: center;
  margin: 30px auto;
}

.textAlignCenter {
  text-align: center !important;
}

.blackButton:hover {
  opacity: 0.8;
}

a:hover {
  opacity: 0.8;
}

button {
  cursor: pointer;
}

textarea {
  resize: none;
}

label {
  display: block;
  margin-bottom: 3px;
}

.logo {
  width: 140px;
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
  margin-top: 0;
  margin-left: 15px;
}

.displayFlex {
  display: flex;
  justify-content: center;
  vertical-align: middle;
  flex-wrap: wrap;
}

.h1Title {
  font-size: 45px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  width: 100%;
  margin-bottom: 20px;
}

.errorMessage {
  color: #ff0000;
  text-align: center;
}
.link {
  color: #00394d;
  text-decoration: underline;
}

.h2title {
  font-size: 30px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.h3title {
  font-size: 20px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
}

.h3Title.propertyPageStyle {
  margin: 20px 0px;
}

.green {
  color: green;
}

.red {
  color: #d44f5f;
}

.black {
  color: #222;
}

.autoCenterContainer {
  text-align: center;
}

.whiteBackground {
  background-color: white !important;
}

.writtenLogo {
  font-family: 'Protest Strike', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 40px;
}

.successButton {
  width: 300px;
  margin: auto;
  padding-top: 50px;
}

/* SweetAlert2 styles déplacés vers design-system/sweetalert-theme.css */

.hidden {
  display: none !important;
}

/* DASHBOARD */
.dashboardContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  gap: 40px;
  margin-top: 100px;
}

.dashboardElementContainer {
  width: 260px;
  height: 150px;
  padding: 12px;
  border-radius: 10px;
  box-sizing: border-box;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  background-color: white;
}

.dashboardElementTitle {
  line-height: 1.5rem;
  font-size: 16px;
  font-weight: 400;
}

.dashboardElementNumber {
  height: 90px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 40px;
  font-weight: 500;
}

/* HEADER */

header {
  display: block;
  position: fixed;
  top: 0px;
  z-index: 10;
  width: 100vw;
}

#headerContainer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  padding: 10px;
  height: 40px;
  background-color: #fafafa;
}

.logoHeader {
  max-width: 150px;
  max-height: 100px;
  font-size: 25px;
}

.navTelNumber {
  border: solid 1px #00394d;
  padding: 10px 20px;
}

.viewContainer {
  margin: 18px 25px;
}

.homePageContainer {
  min-height: 90vh;
  background-color: #00394d;
}

.actionButtonContainer {
  position: absolute;
  top: 320px;
  text-align: center;
}

.hideDiv {
  display: none !important;
}

.downloadBox {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 90%;
  margin: auto;
  align-items: center;
}

#downloadButton,
#importExcel,
#gptImport {
  border: none;
  font-weight: 500px;
  color: white;
  width: 170px;
  padding: 10px;
  border-radius: 20px;
  text-align: center;
  background-color: #00394d;
}

button:hover {
  opacity: 0.9;
}

.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  display: flex;
}

.no-search-message {
  margin-top: 20px;
  text-align: center;
  font-size: 18px;
  margin-bottom: 50px;
}

.addExcelContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.generalContainer {
  width: 100vw;
  display: inline-block;
}

.menuContainer {
  width: 230px;
  height: -webkit-fill-available;
  position: fixed;
  left: 0px;
  top: 0px;
  background-color: #f4d35e;
  z-index: 70;
}

.flexMenuContainer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.contentContainer {
  margin-left: 250px;
}

.expanded.contentContainer {
  margin-left: 60px;
}

.menuContainer.collapsed .contentContainer {
  margin-left: 0px !important;
}

.marginBottom {
  margin-bottom: 20px;
}

.leftMenu {
  color: white;
  margin: 20px 0px;
}

.topMenu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  align-items: center;
}

.fa-user,
.fa-power-off,
.fa-people-group {
  padding: 10px;
}

.copyPasteContainer {
  margin-top: 40px;
  padding: 30px;
  background-color: white;
  border-radius: 5px;
  position: relative;
}

.copiedMessage {
  display: none;
  width: 40px;
  background-color: #4caf50; /* Couleur verte pour le message */
  color: white;
  padding: 5px;
  border-radius: 20px;
  font-size: 12px;
  text-align: center;
}

.messageToCopy {
  font-style: italic;
}

.fa-copy-container {
  width: 100%;
  text-align: right;
}

.fa-copy {
  font-size: 15px;
  cursor: pointer;
}

.fa-copy:hover {
  opacity: 0.9;
}

.copiedMessageContainer {
  text-align: right;
  width: 100%;
  display: flex;
  justify-content: right;
  margin-top: -20px;
}

#contactByEmail {
  margin: 20px 0px;
  display: flex;
  gap: 15px;
  justify-content: center;
}

.marginTop50px {
  margin-top: 50px;
}

/* HTML: <div class="loader"></div> */
.spinner {
  width: 50px;
  aspect-ratio: 1;
  display: grid;
  border-radius: 50%;
  background: conic-gradient(
    #25b09b 25%,
    #f03355 0 50%,
    #514b82 0 75%,
    #ffa516 0
  );
  animation: l22 2s infinite linear;
}
.spinner::before,
.spinner::after {
  content: '';
  grid-area: 1/1;
  margin: 15%;
  border-radius: 50%;
  background: inherit;
  animation: inherit;
}
.spinner::after {
  margin: 25%;
  animation-duration: 3s;
}

@keyframes l22 {
  100% {
    transform: rotate(1turn);
  }
}

.blur-effect {
  filter: blur(5px);
}

.clickableText {
  color: #00394d !important;
  text-decoration: underline;
  cursor: pointer;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.clickableText:hover,
.download-excel:focus {
  color: #0056b3 !important;
  text-decoration: none;
}

.excelImport {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.excelFile {
  margin-right: 20px;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  list-style-type: none;
}
.submenu li {
  padding: 5px 10px;
  background-color: white;
  border: 1px solid #ddd;
  margin: 0px !important;
}
.submenu li:hover {
  background-color: #f5f5f5;
}

.liNav {
  text-align: center;
  height: 30px;
  align-items: center;
  display: flex;
  justify-content: center;
}

/* SIGNUP */

.signupViewContainer {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.signupFormContainer {
  background-color: white;
  box-sizing: border-box;
  width: 60vw;
  padding: 1rem;
  height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: auto;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  border-radius: 10px;
}

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

.signupLogo {
  position: absolute;
  top: 20px;
  left: 20px;
}

/* ORDERPAGE */

.orderFormContainer {
  display: inline-block;
  margin: auto;
  box-sizing: border-box;
  width: 100%;
  margin-top: 20px;
}

.noSearches {
  padding: 20px;
}

th {
  padding: 8px;
}

.thStyle.sticky-header,
.thDate.sticky-header,
.thNote.sticky-header,
.thContact.sticky-header {
  position: sticky;
  top: 0;
  background-color: #fff !important;
  font-weight: 400;
}

.labelInputContainer {
  text-align: center;
  padding: 10px 0px;
  width: 100%;
}

.updateBuyerLabel {
  width: 190px;
  display: block;
  padding: 10px;
}

.searchDescriptionContainer,
.propertyDescriptionContainer {
  line-height: 1.5rem;
  font-size: 16px;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hiddenContainer {
  display: none;
}

.searchProfileContainer,
.propertyProfileContainer {
  background-color: white;
  border-radius: 10px;
  padding: 10px;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  margin: 10px 0px;
  min-width: 250px;
}

.propertyProfileContainer {
  position: sticky;
  top: 10;
}

.propertyElement {
  font-size: 16px;
  margin: 5px;
}

.locationValue {
  font-size: 13px;
  color: #666;
  flex: 1;
  font-style: italic;
}

.labelInputContainer.mainLabelInput {
  width: 40% !important;
}

.formContainerTitle {
  padding: 40px 0px;
}

.automationFlexContainer {
  display: flex;
  justify-content: left;
  gap: 15px;
  align-items: center;
  margin-top: 40px;
}

.automationDescription {
  font-size: 16px;
}

.interrogationText {
  padding: 0px 6px;
  margin: 0px 10px;
  border-radius: 50px;
  color: white;
  background-color: #2c3e50;
  cursor: pointer;
}

.orderFormLabel {
  width: 300px;
  margin: auto;
  text-align: left;
  margin-bottom: 5px;
  font-size: 0.9em;
  font-weight: bold;
}

.dpeContainer {
  max-width: 300px;
}

.descriptionLabel {
  font-size: 0.9em;
  font-weight: bold;
}

.viewDetailsBuyer {
  cursor: pointer;
}

.property-link:hover {
  opacity: 0.8;
  color: #00394d;
  text-decoration: underline;
}

#uploadPropertySheetForm {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.orderFormInput {
  min-width: 300px;
  padding: 12px;
  border-radius: 10px;
  border: solid rgba(44, 62, 80, 0.6) 1px;
  box-sizing: border-box;
}

#scrapperButton {
  margin: auto;
}

.quickSearchContainer {
  text-align: left;
  margin: 20px;
}

#sortDate,
#sortName {
  cursor: pointer;
}

.formTextarea {
  width: 300px;
  padding: 10px;
  border: solid rgba(44, 62, 80, 0.6) 0.5px;
  box-sizing: border-box;
  min-height: 120px;
}

.updateTextarea {
  width: 440px;
  padding: 10px;
  border: solid rgba(44, 62, 80, 0.6) 0.5px;
  box-sizing: border-box;
  min-height: 250px;
  border-radius: 5px;
  font-size: 1.1em;
}

.updateTextarea.fitContent {
  min-height: 100px;
}

.menuTextarea {
  width: 200px;
  padding: 10px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-top: solid rgba(44, 62, 80, 0.6) 0.5px;
  box-sizing: border-box;
  min-height: 120px;
  background-color: white;
  margin: auto;
}

.buyerInfos {
  padding: 10px;
}

.emailTextarea {
  width: 800px;
  padding: 10px;
  border: solid rgba(44, 62, 80, 0.6) 0.5px;
  box-sizing: border-box;
  min-height: 500px;
  border-radius: 5px;
  font-size: 1.1em;
}

.sheetTextarea {
  width: 440px;
  padding: 10px;
  box-sizing: border-box;
  min-height: 250px;
  border-radius: 5px;
  background-color: white;
}

.width330px {
  width: 330px !important;
}

.titleInputContainer {
  margin: auto;
  text-align: center;
}

.updateLabelInputContainer {
  width: 880px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
}

.titleInput {
  border-radius: 40px;
  margin: 20px auto;
  border: solid 1px #ccc;
  padding: 20px;
  width: 60vw;
  font-size: 20px;
  text-align: center;
}

.textareaWidth320px {
  width: 420px !important;
  margin: auto;
}

.orderFormTextarea {
  width: 300px;
  border-radius: 10px;
  height: 70px;
  border: solid 1px #2c3e50;
  padding: 10px;
}

.orderButton {
  width: 300px;
  padding: 13px;
  border: solid 1px #00394d;
  border-radius: 10px;
  background-color: #00394d;
  color: white;
  text-transform: uppercase;
  font-weight: bold;
}

.orderButton:hover {
  opacity: 0.9;
  border: solid 1px #00394d;
}

.signupOrderButton {
  margin-top: 15px;
}

.orderButton.propertyPageStyle {
  width: 20vw !important;
}

.smallButtonContainer {
  width: 100%;
}

.smallButton {
  display: block;
  width: 200px;
  padding: 8px;
  border-bottom: solid 1px #00394d;
  border-radius: 0 0 10px 10px;
  background-color: #00394d;
  color: white;
  margin: auto;
  text-align: center;
  box-sizing: border-box;
}

.smallButton:hover {
  opacity: 0.9;
  border: solid 1px #00394d;
}

.homeSecondSection {
  background-color: white;
  padding: 100px;
}

.tdContact {
  text-decoration: underline;
}

.tdContact:hover {
  font-weight: 400;
}

.thContact {
  width: 40px;
}

.thDate {
  width: 60px;
}

.thNote {
  max-width: 400px;
}

.buyerViewContainer {
  display: flex;
  gap: 60px;
}

.buyerViewLeftContainer {
  width: 20vw;
  min-width: 250px;
}

.buyerViewRightContainer {
  width: calc(100% - 25vw);
  min-width: 250px;
  flex-grow: 2;
}

.tdMatching {
  min-width: 70px;
}

/* MY ACCOUNT */

.deleteButton,
.forgotButton {
  margin-top: 15px;
}

.deleteButton:hover,
.forgotButton:hover {
  border-bottom: solid 1px white;
  cursor: pointer;
}

.profileImageContainer {
  margin-top: 40px;
}

.sheetProfileImageContainer {
  text-align: center;
}

.shareMenuElement {
  font-weight: bold;
  text-align: center;
  font-size: 14px;
  margin-top: 20px;
  color: white;
}

.profileAvatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #dfdfdf;
}

.profileImageLabel {
  padding: 5px 10px;
  cursor: pointer;
  transition: color 0.3s;
  width: 150px;
}

.profileImageLabel:hover {
  color: #00394d;
  text-decoration: underline;
}

/* Cache l'input file mais le rend cliquable via le label */
#profileImage {
  display: none;
}

/* FORGOTTENPASSWORD */

.forgottenPasswordContainer,
.deleteAccountContainer {
  text-align: center;
}

/* FOOTER */

#footer {
  height: 200px;
}

.loveContainer {
  width: 100%;
}

.lovePhrase {
  color: #00394d;
  margin: auto;
  padding: 10px;
  width: 150px;
  text-align: center;
}

.inputWrapper {
  position: relative;
  display: inline-block;
  text-align: center;
}
.vicopoContainer.open {
  display: block;
}
.vicopoContainer {
  width: calc(
    100% - 2px
  ); /* Ajuste la largeur en fonction du padding et de la bordure de l'input */
  max-height: 200px;
  overflow-y: auto;
  position: absolute;
  z-index: 10;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 5px 5px;
  background-color: #fff;
  top: 100%; /* Positionnez le conteneur juste en dessous de l'input */
  left: 0; /* Alignez à gauche avec l'input */
  margin-top: 2px; /* Espacement entre l'input et la liste */
  display: none;
}

.vicopoContainer li {
  padding: 10px; /* Espacement intérieur pour chaque élément de la liste */
  list-style: none; /* Supprime les puces de liste */
  border-bottom: 1px solid #eee; /* Une ligne subtile entre les éléments */
  cursor: pointer; /* Indique que les éléments sont cliquables */
}

.vicopoContainer li:hover {
  background-color: #f8f8f8; /* Couleur de fond au survol pour indiquer l'interactivité */
}

.vicopoContainer li:last-child {
  border-bottom: none; /* Supprime la bordure du dernier élément */
}

.vicopoContainer strong {
  margin-right: 5px; /* Espacement entre le code postal et la ville */
}

.vicopoContainer span {
  color: #555; /* Couleur de police plus douce */
}

/* HOME */
.homeNavigator {
  width: 300px;
  height: 100px;
  margin-top: 20px;
  border: solid 0.2px #2c3e50;
  font-size: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  margin: 20px auto auto auto;
}

.homeNavigator:hover {
  background-color: #00394d;
  color: white;
  font-weight: bold;
  border: none;
}

.link {
  text-decoration: none !important;
}

.homeNavContainer {
  text-align: center;
}

.ql-editor > p {
  font-size: 18px;
}

.gazetteArea {
  width: 90%;
  min-height: 400px;
}

.picturesUploader {
  text-align: center;
}

.imgSmallContainer {
  width: 90%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
}

.smallImg {
  min-height: 100px;
  width: 100px;
  height: min-content;
  background-repeat: no-repeat;
  background-size: cover;
  background-position-x: center;
  background-position-y: center;
  display: flex;
  flex-direction: column;
  padding-top: 0px;
  object-fit: fill;
}

.orderButton.exitButton {
  border: solid 1px #2c3e50 !important;
  background-color: #2c3e50 !important;
}

.addArticleButton {
  font-size: 18px;
  border-radius: 10px;
  background-color: #00394d;
  color: white;
  padding: 15px;
}

/* myEstimation */
/* Agrandir la première colonne */
tbody.estimationTbody tr {
  height: 90px;
}

.framePicture.estimationFramePicture {
  width: 120px;
  height: 90px;
  background-size: cover;
  background-position: center;
}

.framePicture.propertyPageStyle {
  width: 100% !important;
  height: 170px !important;
  min-width: 250px;
}

.tdPicture {
  width: 120px;
}

.tdSquareButton {
  width: 160px;
}

/* myArticles */
.helpContainer {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  max-width: 600px;
  margin: 20px auto;
  padding: 20px;
  box-sizing: border-box;
  background-color: #f5f5f5;
  border-radius: 5px;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

.colorContainer {
  padding: 20px;
  border-radius: 10px;
  line-height: 1.6;
  text-align: justify;
}

.colorContainer .helpText {
  font-size: 18px;
}

.contactFlexContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  align-items: center;
  border: solid 1px #e4e4e4;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.contactButtonsContainer,
.notifsContactButtonsContainer {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.contactButtonsContainer {
  width: 450px;
}

.contactElement {
  font-size: 18px;
  margin: 5px;
}

.noMargin {
  margin: 0px !important;
}

#addMandate:hover,
#addEstimation:hover {
  background-color: #e6e6e6;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.helpText {
  margin: 10px 0px;
  text-align: center;
}

.fontweight500 {
  font-weight: 500;
}

.flexTitleContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  align-items: center;
  gap: 20px;
  padding-right: 6rem;
}

.flexTitleContainer.spaceBetween {
  justify-content: space-between;
}

.buttonFlexContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  width: 90%;
  margin: auto;
  position: relative;
  top: 20px;
}

.addBlueButton {
  background-color: #00394d;
  text-align: center;
  padding: 10px 15px;
  border-radius: 20px;
  color: white;
  box-sizing: border-box;
  height: 38px;
}

.hidden-cell {
  visibility: hidden;
}

.sticky-header {
  position: sticky;
  top: 0;
  background-color: #fff;
  box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.4);
}

td {
  text-align: left;
  padding: 10px;
  font-size: 15px;
  text-align: center;
}

.tdInternalNote {
  max-width: 350px;
}

.tdScroll {
  max-height: 70px;
  overflow-y: auto;
  overflow-x: hidden;
  white-space: normal; /* Permet le retour à la ligne */
  max-width: 200px;
}

.adressCell,
.scrollableCell,
.noteCell {
  max-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
  white-space: normal;
}

.buyerSection {
  display: block;
  text-align: center;
}

/* Limiter la hauteur des lignes du tableau */
.tableContainer tbody tr {
  height: 80px;
  max-height: 80px; /* Ajout de max-height */
}

/* Assurer que chaque cellule gère son contenu */
.tableContainer tbody td {
  max-height: 80px;
  overflow-y: auto;
  overflow-x: hidden;
  white-space: normal;
  text-overflow: ellipsis;
  padding: 10px;
}

.tableContainer .noteCell {
  width: 40% !important;
}

.tableContainer .tdContact {
  width: 10% !important;
}

.tableContainer .tdInternalNote {
  width: 25% !important;
}

.tableContainer .adressCell {
  width: 5% !important;
}

.tableContainer .completeSearch {
  width: 15% !important;
}

tbody tr {
  height: 70px;
}

.tdContact {
  cursor: pointer;
}

thead tr {
  position: static;
}

tbody tr:hover {
  background-color: #f1f1f1;
}

.thStyle {
  background-color: var(--colors-background);
  border-bottom-color: var(--colors-border);
  border-bottom-width: 1px;
  border-right-color: var(--colors-border);
  border-right-width: 1px;
  height: 32px;
  width: 200px;
  left: 0px;
  top: 0px;
}

.trCRM td {
  height: 70px !important;
}

.crmContainer {
  margin-top: 20px;
}

.searchDetailsTable {
  margin-top: 50px;
  margin-bottom: 20px;
}

.searchDetailsContainer {
  width: 500px;
  margin: auto;
}

.agentContactTable {
  width: 300px;
}

.clickableElement {
  color: #00394d;
  text-decoration: underline;
  font-weight: 400;
}

.filterContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: left;
}

.inputFilter {
  border-radius: 20px;
  margin-right: 20px;
  margin-top: 5px;
  border: solid 1px #ccc;
  padding: 10px 15px;
}

input:read-only {
  cursor: default;
  border: none;
  width: min-content;
}

.width170px {
  width: 170px !important;
}

.width190px {
  width: 190px !important;
}

.marginTop20px {
  margin-top: 20px;
}

.blueBackground {
  background-color: #00394d;
}

.greyBackground {
  background-color: #d3d3d3;
}

.filterButton {
  border: none;
  font-weight: 500px;
  color: white;
  width: 120px;
  padding: 10px;
  border-radius: 20px;
  text-align: center;
  margin-top: 20px;
}

.filter {
  margin-top: 20px;
  margin-right: 15px;
}

.filtersContainer {
  display: none;
  margin: 20px 0;
  width: 100%;
  box-sizing: border-box;
  background-color: transparent;
  padding: 16px 0;
  border-bottom: 1px solid var(--sp-border-light, #e2e8f0);
}

/* Réduction de l'espacement pour les filtres compacts */
.filters-compact {
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: none;
}

.filters-compact .sp-field {
  margin-bottom: 8px;
  flex: 1 1 200px;
  min-width: 180px;
}

.filters-compact .sp-form-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 8px;
  gap: 10px;
}

.filters-compact .sp-form-actions {
  margin-top: 15px;
}

/* Forcer le fond blanc sur les selects des filtres */
.filters-compact select.sp-input {
  background-color: #fff;
}

.searchFormLink {
  display: flex;
  width: 100%;
  justify-content: center;
}

.buyerUpdateContainer {
  width: 500px;
  height: -webkit-fill-available;
  left: 250px;
  top: 0px;
  background-color: white;
  border-radius: 5px;
}

#backToStep1 {
  margin-top: 20px;
}

.input-error {
  border-color: red;
}

.width100p100 {
  width: 100%;
}

.width180px {
  width: 180px !important;
}

.profileButtonsContainer {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  align-items: center;
}

#updateBuyerButton {
  margin: 40px auto 0;
}

.deleteSearchButton {
  cursor: pointer;
  margin: 20px auto;
  color: #e57373;
}

.deletePropertyButton {
  margin-top: 10px;
  cursor: pointer;
  color: #e57373;
  border: none;
  background-color: white;
  margin-top: 30px;
}

.deletePropertyButton:hover {
  text-decoration: underline;
  opacity: 0.9;
}

.deleteSearchButton:hover {
  opacity: 0.9;
  text-decoration: underline;
}

.updateButtonContainer {
  text-align: center;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.propertyHeader {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-bottom: 20px;
  gap: 15px;
}

.propertyLink {
  text-decoration: underline;
  color: #00394d;
}

.propertyLink:hover {
  opacity: 0.7;
}

.noSearches {
  width: 200px;
  text-align: center;
  margin: auto;
}

.downloadContainer {
  display: block !important;
}

.notif {
  width: 100%;
  text-align: center;
}

.toggleFiltersContainer {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.leftGroup,
.rightGroup {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  align-items: center;
}

.searchesCount {
  font-weight: 400;
}

.adressStyle {
  background-color: #f5f5f5;
  padding: 5px 7px;
  border-radius: 20px;
  display: inline-block;
  margin: 2px;
  position: relative;
  padding-right: 20px;
}

.removePostalCode {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #ffbdb0;
  color: white;
  border: none;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  font-size: 12px;
  line-height: 16px;
  text-align: center;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s;
}

.removePostalCode:hover {
  background-color: #a00; /* Changer de couleur au survol */
}

.input-like {
  display: inline-block;
  border-radius: 20px;
  padding: 10px;
  background-color: #fff;
}

#updatePostalCode,
#deletePostalCode {
  background: none;
  border: none;
  color: #007bff;
  cursor: pointer;
  padding: 5px 10px;
  text-decoration: underline;
  font-size: 16px;
}

#updatePostalCode:hover,
#updatePostalCode:focus {
  color: #0056b3;
  text-decoration: none;
}

.navbarFlexContainer {
  display: flex;
  flex-wrap: nowrap;
}

.navbarButtonContainer {
  background-color: white;
  padding: 13px;
}

.spaceBetweenTitleContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.notificationsNumber {
  padding: 4px 10px;
  background-color: #00394d;
  color: white;
  border-radius: 30px;
  font-size: 14px;
  width: 20px;
  height: 20px;
  opacity: 0.8;
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin: auto;
}

.matchingNumber {
  text-align: center;
}

.margin-between {
  height: 50px;
}

.bold {
  font-weight: bold;
}

/* .fa-pen-to-square {
  font-size: 25px;
  margin: 5px;
} */

#frameDescription {
  display: none;
}

.frameSearches {
  border: 1px solid #e1e1e1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 20px auto;
  width: 600px;
  background-color: #fff;
  height: 180px;
  justify-content: center;
  display: flex;
  align-items: center;
  position: relative;
  transition: filter 0.3s;
  overflow: hidden;
  padding: 10px;
}

.frameSearches.flexImportant.frameSearchesFixed {
  width: 100%;
}

.frameSearchesFixed {
  position: sticky;
  top: 60;
  background-color: white;
  width: 100%;
}

.stickyFlexContainer {
  position: sticky;
  top: 60;
  z-index: 10;
  background-color: white;
  width: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.matchingButtons {
  display: flex;
  gap: 20px;
  justify-content: right;
}

.frameRightInfos {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.squareButton {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3px;
  text-align: center;
  border-radius: 10px;
  background-color: #f5f5f5;
  margin: 3px auto;
  width: 120px;
}

.button {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
  text-align: center;
  border-radius: 8px;
  background-color: #d6d6d6;
  border: none;
  cursor: pointer;
  max-height: 32px;
  height: 32px;
  font-size: 16px;
  gap: 5px;
}

.mediumButton {
  padding: 10px 8px;
  font-size: 20px;
}

.blueButton {
  background-color: #00394d;
  color: white;
}
.lightButton {
  background-color: #00394dbb;
  color: white;
}
.redButton {
  background-color: #bf3d3d;
  color: rgb(255, 255, 255);
}

.blueButton:hover {
  opacity: 0.8;
}

.button > i:only-child {
  font-size: 16px;
  height: 25px;
  display: flex;
  align-items: center;
  margin-right: 2px;
  margin-left: 2px;
  height: 17px;
  width: 17px;
  text-align: center;
}

.fa-whatsapp {
  /* font-size: 16px !important; */
}

.squareButton i {
  margin-right: 5px;
  margin-left: 5px;
}

.blueSquareButton {
  color: #00394d;
  border: solid 1px #00394d;
  background-color: white;
}
.blueSquareButton i {
  color: #00394d;
}

.primarySquareButton {
  color: white;
  border: solid 1px #00394d;
  background-color: #00394d;
}

.primarySquareButton i {
  color: white;
}

.blueSquareButton:hover {
  opacity: 0.9;
}

.marginRight10px {
  margin-right: 10px;
}

.myPropertiesButtons {
  border-left: solid 3px #f5f5f5;
  padding: 5px;
}

.frameSave {
  display: none;
  width: 600px;
  text-align: right;
}

#frameButton {
  border: none;
  padding: 10px 15px;
  border-radius: 20px;
  color: white;
  background-color: #00394d;
}

#frameButton:hover {
  opacity: 0.9;
}

.frameLeft {
  width: 220px;
  background-color: #f8f8f8;
}

.flexImportant {
  display: flex !important;
}

.framePicture {
  width: 220px;
  height: 180px;
  display: block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 5px;
}

.propertyPictureContainer > .framePicture {
  width: 100%;
  height: 250px;
}

.frameRight {
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  flex-direction: column;
}

#frameTitle {
  font-size: 1.2em;
  font-weight: 400;
  color: #00394d;
  margin-bottom: 10px;
  width: 100%;
}

#readonlyDiv {
  min-width: 170px;
  min-height: 36px;
  box-sizing: border-box;
}

#framePostalCode,
#frameBudget,
#frameSurface,
#frameRoomNumber,
#frameType {
  background-color: #f5f5f5;
  padding: 10px;
  border-radius: 20px;
  border: solid 1px #f2f2f2;
  margin: 5px;
  width: fit-content;
  height: fit-content;
  font-size: 12px;
}

/* Page newSearch */
.selectedOption {
  background-color: #f5f5f5;
  max-width: fit-content;
  margin: 5px auto;
  padding: 5px;
  border-radius: 17px;
  font-weight: 400;
}

.selectedOption button {
  margin-left: 5px;
  border-radius: 10px;
  border: none;
  background-color: white;
  font-size: 15px;
  font-weight: 300;
}

.addExcelText {
  margin-top: 10px;
}

/* myProperties */
.align-item-center {
  margin-top: 10px;
}

.fa-space-right {
  margin: 10px;
}

.smallBlueButton {
  background-color: #00394d;
  color: white;
  padding: 10px;
  border-radius: 20%;
  border: none;
}

.smallGreyButton {
  margin-right: 15px;
}

.align-item-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.displayContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.mandateContainer,
.estimationContainer {
  width: 90%;
}

.italic {
  font-style: italic;
}

.h2titleContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  align-items: center;
  gap: 20px;
}

.titleContainer {
  width: 100%;
}

.popupAddEstimationFormContainer {
  display: none;
}

.displayFlex.marginForm {
  margin: 20px 0px;
}

.groupButtonsContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

#addMemberForm {
  text-align: center;
}

.memberEmail {
  font-size: 16px;
  padding: 10px 15px;
  background-color: #f5f5f5;
  border-radius: 20px;
  margin: 5px;
}

.flexActionsContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
}

.width210px {
  width: 210px !important;
}

.fa-solid.fa-circle-xmark {
  font-size: 25px;
  cursor: pointer;
}

.closePopup {
  display: flex;
  justify-content: right;
}

.whatsappButton {
  background-color: #25d366;
  color: white;
}

.miniWhatsappButton {
  background-color: #25d366;
  color: white;
}

.miniMailButton {
  background-color: #f4d35e;
  color: white;
}

.fa-brands.fa-whatsapp.miniWhatsappButton,
.fa-solid.fa-envelope.miniMailButton {
  font-size: 30px !important;
}

.whatsappButton:hover,
.miniWhatsappButton:hover {
  opacity: 0.8;
}

.whatsappButton.width220px {
  width: 220px;
  display: block;
}

.mailtoButton {
  margin-top: 20px;
  border: none;
  display: flex;
  justify-content: center;
  gap: 15px;
  align-items: center;
}

.button .fa-brands.fa-whatsapp {
  font-size: 18px;
}

.flexButtonsContainer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
  align-items: center;
  margin-left: 10px;
}

.greyButton {
  background-color: #f5f5f5;
  color: #00394d;
}

/* MyGroups */
.group-container {
  background-color: #ffffff;
  border: 1px solid #d3d3d3;
  border-radius: 12px;
  padding: 16px;
  margin: 20px 0px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 20px;
  width: 300px;
}

/* Styles pour les titres de groupe */
.group-container h1 {
  color: #333;
  font-size: 24px;
}

/* Styles pour les dates de création */
.group-container p {
  color: #666;
  font-size: 16px;
  margin-bottom: 10px;
}

/* Styles pour les sous-titres */
.group-container h2 {
  color: #00394d;
  font-size: 20px;
  margin-top: 20px;
  margin-bottom: 10px;
}

.italic {
  font-style: italic;
}

/* Styles pour la liste des membres */
.members-list {
  list-style-type: none;
  padding: 0;
}

.members-list li {
  padding: 8px 12px;
  background-color: #fff;
  border-bottom: 1px solid #eee;
  color: #000;
  font-size: 16px;
}

.members-list li:last-child {
  border-bottom: none;
}

.noGroups {
  text-align: center;
  margin-top: 15px;
}

.fa-circle-check,
.fa-circle-xmark {
  font-size: 30px;
}

/* sheetProperty */
.sheetFlexContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 80vw;
  margin: auto;
  border-radius: 40px;
  border: solid 1px #ccc;
  padding: 10px;
  text-align: center;
}

.sheetLabel {
  font-size: 18px;
  font-weight: 400;
}

.sheetInput {
  font-size: 20px;
  font-weight: 500;
  padding: 10px 0px;
}

.clickable-row {
  cursor: pointer;
}

.fa-pencil {
  font-size: 18px;
}

.isConnectedButtoncontainer {
  margin-bottom: 10px;
  margin-left: 5px;
}

.centerContainer {
  text-align: center;
  padding: 10px;
}

.verticalFlex {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.potentialSearches {
  margin-top: 5px;
}

.specialAnnouncement {
  background-color: #f5f5f5;
  width: 100%;
  padding: 10px;
  margin-top: -10px;
  font-size: 16px;
}

.propertyFlexContainer {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin: auto;
  width: 80vw;
}

.propertyInfoContainer {
  max-width: 500px;
}

.sheetH2Title {
  width: 100% !important;
  text-align: center;
  padding: 20px;
}

.addMemberEmailButton {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
}

/* Growth Machine */
#growthMachineForm {
  margin-top: 200px;
}

.menuIcon {
  display: inherit;
}
nav.header {
  display: none;
  height: fit-content;
  background-color: white;
  width: 250px;
  position: fixed;
  top: 80px;
  right: 0px;
  z-index: 1000;
  border: solid 1px rgb(170, 170, 170);
  padding: 10px;
}

header a {
  display: flex;
  flex-direction: column;
}
.menuIcon {
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  margin-bottom: 19px;
}
.menuIcon.isExpanded .blackMenu:first-child {
  transform: rotate(45deg) translate3d(0.125rem, 0.125rem, 0);
}
.menuIcon.isExpanded .blackMenu:nth-child(2) {
  transform: rotate(-45deg) translate3d(0.125rem, -0.125rem, 0);
}
div#headerBox {
  display: none;
}
.logoHeader {
  width: 100px;
}
.blackMenu {
  width: 2.25rem;
  height: 1.5rem;
  margin: 0px 0px -17px;
  transition: transform 0.25s cubic-bezier(0.25, 0.1, 0.22, 0.89);
}
nav a {
  padding: 0px 0px 10px 0px;
  margin-left: 0px;
}

.navbarFlexContainer {
  display: flex;
  flex-wrap: wrap;
}
@media screen and (max-width: 1500px) {
  .buyerViewContainer {
    gap: 20px;
  }
}
@media screen and (max-width: 1260px) {
  .buyerViewRightContainer,
  .buyerViewLeftContainer {
    width: 100%;
  }

  .buyerViewContainer {
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 970px) {
  .desktop-only {
    display: none;
  }

  /* Afficher les éléments mobile */
  .mobile-only {
    display: block;
  }

  /* Ajuster la taille du menu latéral */
  .menuContainer {
    width: 60px;
  }

  /* Ajuster le contenu principal */
  .contentContainer {
    margin-left: 60px;
  }

  /* Réduire la taille du logo */
  .logo {
    margin-left: 6px;
  }

  .burgerMenuContainer {
    display: flex;
    position: absolute;
    top: 10px;
    width: 67px;
    right: 10px;
    height: 50px;
  }

  .burgerMenuContent.hidden {
    display: none;
  }

  .sheetTextarea,
  .updateTextarea {
    width: 320px;
  }
}

@media screen and (max-width: 800px) {
  .searchProfileContainer {
    width: 100%;
  }

  .signupFormContainer {
    width: 90vw;
    margin: auto;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  #signupForm {
    padding-bottom: 2rem;
  }

  .signupLogo {
    text-align: center;
    position: relative;
  }
  .orderFormInput {
    min-width: 200px;
  }

  .h2title {
    margin-right: 60px;
    font-size: 30px;
  }

  .labelInputContainer.mainLabelInput {
    width: 100% !important;
  }

  .leftGroup {
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 600px) {
  .loveContainer {
    width: 100%;
  }

  .frameSearches {
    flex-wrap: wrap;
    height: fit-content;
    width: 300px;
    padding-top: 30px;
  }

  .frameSave {
    width: 300px;
    text-align: center;
  }

  .viewContainer {
    margin: 5px auto;
  }
}

@media screen and (max-width: 400px) {
  .loveContainer {
    width: 100%;
  }

  .helpContainer {
    width: 350px !important;
  }

  .updateBuyerLabel {
    width: 100%;
    margin: auto;
  }

  .buyerInfoContainer {
    width: 350px;
  }

  .updateTextarea {
    width: 330px;
  }

  .updateBuyerLabel {
    text-align: center;
  }
}

/* Séparateur pour le menu burger */
.separator {
  height: 1px;
  background-color: #eee;
  margin: 10px 0;
}

/* Par défaut, afficher les éléments desktop et masquer les éléments mobile */
.desktop-only {
  display: flex;
}

.mobile-only {
  display: none;
}

.shareMenuContainer .flexMenuContainer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 1rem;
}

.shareMenuContainer .topMenuContainer {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.shareMenuContainer .userProfileContainer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.shareMenuContainer .sheetProfileImageContainer {
  text-align: center;
  margin-bottom: 0.5rem;
}

.shareMenuContainer .profileAvatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.shareMenuContainer .menuTextarea {
  width: 100%;
  background-color: transparent;
  border: none;
  color: white;
  text-align: center;
  margin-bottom: 1rem;
}

.shareMenuContainer .smallButtonContainer {
  width: 100%;
}

.shareMenuContainer .isConnectedButtonContainer {
  width: 100%;
  margin: 0;
}

/* Media query pour les écrans de taille mobile */
@media screen and (max-width: 970px) {
  .shareMenuContainer {
    width: 100%;
    height: auto;
    position: relative;
    align-items: center;
    padding: 15px 0;
  }

  .shareMenuContainer .logo {
    width: 80px;
    margin-bottom: 10px;
  }

  .shareMenuContainer .flexMenuContainer {
    height: auto;
    width: 100%;
  }

  .shareMenuContainer .profileButtonsContainer {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
  }

  .shareMenuContainer .bottomMenuContainer {
    margin-bottom: 15px;
  }

  .shareMenuContainer .menuTextarea {
    padding: 0 20px;
    text-align: center;
  }

  .contentContainer,
  .contentContainer.expanded {
    margin-left: 0;
    padding: 0 10px 0 10px;
  }
}

/* Pour les très petits écrans */
@media screen and (max-width: 600px) {
  .shareMenuContainer .profileButtonsContainer {
    flex-direction: column;
    align-items: center;
  }

  .shareMenuContainer .width220px {
    width: 180px;
  }

  .shareMenuContainer .emailButton {
    width: 180px;
  }
}

.locationSuggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.location-item {
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

.location-item:last-child {
  border-bottom: none;
}

.location-item:hover {
  background-color: #f5f5f5;
}

.inputWrapper {
  position: relative;
  width: 100%;
}

/* Responsive adjustments */
@media screen and (max-width: 1400px) {
  .grid-table {
    font-size: 14px;
  }

  .grid-cell {
    padding: 8px 5px;
  }

  .grid-cell.internal-note .scrollable-cell {
    max-width: 150px;
  }
}
