/* Cadrage Projet */
.be-banner {
    width: 100%;
    height: 400px;
    background-image: url('/assets/images/bureau-d-etude/bg-be-banner.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    /* background-size: contain; */
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 70%), url('/assets/images/bureau-d-etude/bg-be-banner.png');
}

.grey-text {
    color: #767676;
    font-size: 14px;
}

.form-head {
    background-color: rgba(151, 151, 151, 0.1);
    padding: 20px 0px;
}

.form-head p {
    color: black;
    font-size: 14px;
    margin-bottom: 0px;
    font-weight: 600;
}

textarea:focus {
    outline: none;
    border: 2px;
    box-shadow: 0 0 5px rgba(179, 156, 129, 1);
    font-family: "Roboto";
}

#be-textarea {
    width: 100%;
    border: 1px solid rgba(151, 151, 151, 0.4);
    opacity: 0,5;
    height: 156px;
    padding: 25px;
    font-family: "Roboto";
}

.be-form {
    background-color: #fff;
    /* padding: 75px; */
    font-family: "Roboto";
}

.be-form input[type=text], input[type=select], input[type=date] {
    height: 45px;
    width: 100%;
    border: 1px solid rgba(151, 151, 151, 0.4);
    opacity: 0,5;
    /* text-align: center; */
}

.be-form select {
    height: 45px;
    width: 100%;
    border: 1px solid rgba(151, 151, 151, 0.4) !important;
    opacity: 0,5;
    padding: 10px;
    font-family: Roboto;
}

.be-form select option {
    font-family: Roboto;
}

.be-form input[type=text]:focus, input[type=select]:focus, input[type=date]:focus, select:focus {
    outline: none;
    border: 2px;
    box-shadow: 0 0 5px rgba(179, 156, 129, 1);
    font-family: "Roboto";
}

.be-form-p {
    font-size: 12px;
    color: black;
    font-weight: 600;
}

.be-centered-p {
    opacity: 1;
    color: rgba(255, 255, 255, 1);
    font-family: Roboto;
    font-size: 40px;
    font-weight: 900;
    font-style: Black;
    letter-spacing: 0.73px;
    text-align: center;
    text-transform: uppercase;
    justify-content: center;
    align-items: center;
}

.be-banner-title {
    opacity: 1;
    color: rgba(255, 255, 255, 1);
    font-family: Roboto;
    font-size: 35px;
    /* font-weight: 900; */
    font-style: Black;
    letter-spacing: 0.73px;
    text-align: center;
    text-transform: uppercase;
    justify-content: center;
    align-items: center;
}

.custom-select {
    position: relative;
    width: 200px;
    height: 45px;
    width: 100%;
    border: 1px solid rgba(151, 151, 151, 0.4) !important;
    font-family: Roboto;
  }
  
  .select-trigger {
    /* background-color: #B39C81; */
    color: black;
    padding: 11px;
    cursor: pointer;
    font-family: Roboto;
    font-size: 14px;
    position: relative;
    color: rgba(151, 151, 151, 0.6);
  }
  
  .select-trigger::after {
    content: "▼";
    color: rgba(0, 0, 0, 0.8);
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8em;
    pointer-events: none; /* évite que la flèche bloque le clic */
  }
  
  .options {
    position: absolute;
    width: 100%;
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    max-height: 150px;
    overflow-y: auto;
    z-index: 10;
  }
  
  .options li {
    padding: 10px;
    cursor: pointer;
    font-family: Roboto;
    font-size: 14px;
  }
  
  .options li:hover {
    background-color: #B39C81;
    color: white;
  }

  /* Toiture Sous-toiture */
.form-container {
    margin-top: 100px;
}

.other-choice-box {
    background-color: #202020;
    height: 200px;
    width: 200px;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* margin-bottom: 40px; */
}

.other-choice-box p {
    font-weight: 600;
    font-size: 30px;
    color: #fff;
}

.other-choice {
    margin-top: 80px;
}

.other-choice.activeOtherChoice {
  opacity: 0.5;
}

.label-be {
    font-size: 14px;
    margin-bottom: 5px;
}

/* .select-elements > div {
    padding: 0;
} */

.to-consider {
    font-family: "Roboto";
    color: #000;
}

.to-consider p {
    font-size: 14px;
    font-style: italic;
}

.to-consider h6 {
    font-weight: bold;
}

.input-wrapper {
  position: relative;
  max-width: 450px;
  margin-bottom: 8px;
}

.input-wrapper input[type="text"] {
  width: 100%;
  padding-right: 40px; /* espace pour "mm" */
  padding-left: 10px;
  height: 40px;
  border: 1px solid #ccc;
  border-radius: 0; /* pas d’arrondis */
  font-size: 16px;
  box-sizing: border-box;
}

.input-wrapper .unit {
  position: absolute;
  font-family: "Roboto";
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  color: #000;
  font-size: 14px;
  pointer-events: none; /* ne bloque pas le clic dans l'input */
}

.utility {
    background-color: #202020;
    font-family: "Roboto";
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-top: 15px;
    padding-bottom: 15px;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
    user-select: none;
}

.utility-radio {
  display: none;
}

/* .utility {
  border: 1px solid #ccc;
  padding: 15px;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
  border-radius: 5px;
  user-select: none;
} */

.utility:hover {
  background: #007c21;
}

.utility-radio:checked + .utility {
  background-color: #007c21;
  border-color: #fff;
  color: #fff;
  font-weight: bold;
}

.label-utility {
    display: flex !important;
}

.materiau-radio {
  display: none;
}

.materiau-wrapper {
  position: relative;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.materiau-radio:checked + .materiau-wrapper {
  border-color: #B39C81;
  box-shadow: 0 0 8px rgba(179, 156, 129, 1);
}

.rectangle {
  background-color: #f5f5f5;
  text-align: center;
  height: 22%;
  position: absolute;
  background-color: rgba(0, 0, 0, .6);
  width: 100%;
  bottom: 0;
}

.Card-title {
  font-weight: bold;
  margin: 0;
  color: #fff;
    font-family: Roboto;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    /* line-height: 46px; */
    /* letter-spacing: 0.795px; */
    position: relative;
    /* width: fit-content; */
    /* text-align: left; */
    margin-bottom: 0;
    z-index: 2;
}

.Card-sub-title {
  margin: 0;
  font-size: 0.9rem;
  color: #fff;
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 21px;
    letter-spacing: 1.941px;
    /* width: fit-content; */
    text-align: center;
    margin-bottom: 0;
    z-index: 2;
}

/* .Card-sub-title {
    color: #fff;
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 21px;
    letter-spacing: 1.941px;
    text-align: left;
    margin-bottom: 0;
    z-index: 2;
} */

.be-description {
    color: #6C6A6A;
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.008px;
    text-align: center;
}

.farm-typology-card {
    border: 1px solid #B39C81;
    width: 100%;
    height: 250px;
    /* position: relative; */
}

.farm-typology-card .Card-title {
    color: #000;
}

.white-rectangle {
    height: 22%;
    background-color: #fff;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.charpente-img {
    height: 100%;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 25px;
}

.upload-plan-text {
    color: black;
    font-size: 14px;
    margin-bottom: 0px;
    font-weight: 600;
    text-align: center;
}

.custom-file-upload input[type="file"] {
  display: none;
}

.custom-file-upload label {
  width: 420px;
  text-align: center;
  display: inline-block;
  padding: 10px 20px;
  background-color: #007c21;
  color: white;
  cursor: pointer;
  font-family: "Roboto";
  font-size: 14px;
  /* font-weight: bold; */
  transition: background-color 0.3s ease;
}

.custom-file-upload label:hover {
  background-color: #a28a6d;
}

/* .custom-file-upload {
  display: flex;
  justify-content: center;
} */

#file-name {
  font-family: "Roboto";
  font-size: 14px;
}

.dark-form-head {
    background-color: #202020;
    padding: 20px 0px;
}

.dark-form-head p {
    color: #fff;
    font-size: 18px;
    margin-bottom: 0px;
    font-weight: 600;
}

.border-be {
  border-left: 1px solid rgba(0, 0, 0, 0.5);
  font-size: 14px;
}

.bois-de-pays a {
  text-decoration: none;
  color: #000;
}

.box-green a {
  text-decoration: none;
  color: #fff;
}

/* .rectangle {
    height: 22%;
    position: absolute;
    background-color: rgba(0, 0, 0, .6);
    width: 100%;
    bottom: 0;
} */

/* .Card-title {
    color: #fff;
    font-family: Roboto;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    position: relative;
    text-align: left;
    margin-bottom: 0;
    z-index: 2;
} */

.css-vtvh5e-MuiListItem-root {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    -webkit-text-decoration: none;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
    -webkit-align-items: flex-start;
    -webkit-box-align: flex-start;
    -ms-flex-align: flex-start;
    align-items: flex-start;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}