
.dealer-join{
  position: relative;
  width: 100%;
  height: auto;
  margin-top: 10%;
}
.dealer-join, .dealer-join-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2vh;
}
.dealer-join-center h3 {
  color: #2C5134;
  font-family: "Articulat CF Bold";
  font-size: clamp(32px, 5vw, 6vw);
  font-style: normal;
  font-weight: 800;
  line-height: 100%; /* 100px */
  text-align: center;
}
.dealer-join-center p {
  width: 55%;
  font-weight: 300;
  color: #000;
  text-align: center;
  margin-top: -1%;

}
.dealer-join-center button{
  margin-top: 1%;
}

.seia img{
  width: 9.2dvw;
}
.solar-aliance img{
  width: 15dvw;
}

.dealer-join .img-left, .dealer-join .img-right {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 20vw;
  height: 20vw;
  border-radius: 5vw;
  overflow: hidden;
}
.dealer-join .img-left{
  left: -5%;
}
.dealer-join .img-right{
  right: -5%;
}

.dealer-join .img-left img, .dealer-join .img-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mb-img{
  display: none;
}

/*Form*/

.dealer-form{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: 2%;
  width: 100%;
  margin-bottom: 50px;
  height: auto;
}
.dealer-form .form-container{
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5% 10%;
  border-radius: 30px;
  background: #F6FAF6;
  
  gap: 5vh;
}
.form-group{
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 5%;
  color: #6C6B66;
  font-family: "Articulat CF";
  font-size: clamp(14px, 1vw, 1vw);
}
.form-group label{
  margin-bottom: 2%;
}
.form-group input{
  width: 100%;
  padding: 2%;
  border-radius: 10px;
  background: white;
  border: 1px solid #CBCBCB;
  font-family: 'Articulat CF';
  color: #6C6B66;
  
  font-size: clamp(14px, 1vw, 1vw);
}
.label-title, label.bold{
  font-family: 'Articulat CF Bold';
}input, textarea, select, button {
  -webkit-appearance: none; /* Elimina el estilo predeterminado de iOS */
  -moz-appearance: none;
  appearance: none;
  border: none;
  outline: none;
  font-family: 'Articulat CF', sans-serif;
}

/* Form styles */
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 2%;
  min-height: 38px;
  border-radius: 10px;
  background: white;
  border: 1px solid #CBCBCB;
  color: #6C6B66;
  font-size: clamp(14px, 1vw, 1vw);
  box-sizing: border-box; /* Asegura que el padding se incluya en el tamaño total */
}

.form-group input[type="file"] {
  display: none;
}

.file-label {
  border-radius: 10px;
  border: 1px solid #CBCBCB;
  background: #FFF;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10% 0;
  gap: 20px;
}

.form-group input[type="submit"] {
  width: fit-content;
  padding: 3% 10%;
  border-radius: 10px;
  background: #2C5134;
  color: white;
  font-size: clamp(14px, 1vw, 1vw);
  font-weight: 350;
  cursor: pointer;
}

.form-group fieldset {
  border: none;
  display: flex;
  flex-direction: column;
}

.form-group fieldset input[type="radio"],
.form-group fieldset input[type="checkbox"] {
  display: none;
}

.select-container {
  position: relative;
}
#select-label{
  position: absolute;
  bottom: 0;
  right: 5%;
  transition: all 0.3s;
}

#select-label.open {
  transform: rotate(180deg);
}

.form-group fieldset label {
  margin-left: 5%;
  position: relative;
  margin-bottom: 20px;
}

.form-group fieldset label::before {
  position: absolute;
  content: '';
  width: clamp(14px, 1vw, 2rem);
  height: clamp(14px, 1vw, 2rem);
  border-radius: 5px;
  top: 0;
  bottom: 0;
  margin: auto;
  border: 1px solid #898883;
  background: transparent;
  margin-left: -5%;
}

.form-group fieldset input[type="radio"]:checked + label::before,
.form-group fieldset input[type="checkbox"]:checked + label::before {
  background: #2C5134;
  color: white;
}

input[type="date"] {
  color: #6C6B66; /* Color del texto */
  font-family: 'Articulat CF', sans-serif; /* Fuente */
  font-size: clamp(14px, 1vw, 1vw); /* Tamaño de fuente */
  border: 1px solid #CBCBCB; /* Borde */
  border-radius: 10px; /* Bordes redondeados */
  padding: 2%; /* Relleno */
  background: white; /* Fondo */
}

input[type="date"]::-webkit-datetime-edit,
input[type="date"]::-webkit-datetime-edit-fields-wrapper,
input[type="date"]::-webkit-datetime-edit-text,
input[type="date"]::-webkit-datetime-edit-month-field,
input[type="date"]::-webkit-datetime-edit-day-field,
input[type="date"]::-webkit-datetime-edit-year-field {
  color: #6C6B66; /* Asegura que todos los componentes del campo de fecha tengan el mismo color */
}

.form-title{
  font-family: 'Articulat CF Bold';
  color: var(--Primary-Dark, #666);
}
.form-group input[type="file"]{
  display: none;
}
.file-label{
  border-radius: 10px;
  border: 1px solid #CBCBCB;
  background: #FFF;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10% 0;
  gap: 20px;
}
.dealer-join h3{
  font-family: 'Articulat CF Bold';
}
@media (width <= 1024px) {
  .dealer-join {
    height: auto;
    padding: 20px;
    padding-top: 100px;
    gap: 20px;
  }
  .dealer-join-center{
    gap: 0;
  }
  .dealer-join h3 {
    margin-bottom: 20px;
  }
  .dealer-join .img-advocacy{
    display: none;
  }
  .dealer-join p {
    margin-bottom: 20px;
    width: 100%;
  }
  .dealer-form{
    margin-top: 50px;
    padding-inline: 20px;
  }
  .dealer-form .form-container{
    width: 100%;
    padding: 50px 20px;
  }
  .form-group input{
    padding: 10px 20px;
  }
  .mb-img{
    display: flex;
    width: 100%;
    height: 100%;
    object-fit: cover;
    gap: 8px;
  }
  .mb-img .left{
    width: 50%;
  }
  .mb-img .left img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
  }
  .mb-img .right{
    width: 50%;
  }
  .mb-img .right img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
  }
  .form-title{
    letter-spacing: 0.5px;
    line-height: 100%;
  }
  .form-group textarea{
    max-height: 150px;
    height: 150px;
  }
  .btn-outline-green{
    padding: 10px 20px;
  }
  .file-label{
    gap: 10px;
  }
}