@font-face {
  font-family: 'Gotham Bold';
  src: url('./fonts/Gotham-Bold.otf') format('opentype'),
    url('./fonts/Gotham-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'Gotham Book';
  src: url('./fonts/Gotham-Book.otf') format('opentype'),
}

.form-cotizar {
  margin: 2rem auto;
  padding: 2rem;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-family: "Gotham Book", sans-serif;

}

.form-line {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 20px;
  gap: 20px;
}

.form-cotizar h3,
.form-cotizar h4 {
  grid-column: 1 / -1;
  margin-top: 2rem;
  font-size: 1.2rem;
  border-bottom: 2px solid #ddd;
  padding-bottom: 0.3rem;
  color: #333;
  font-family: "Gotham Bold", sans-serif;

}

.form-cotizar label {
  font-weight: 500;
  color: #333;
  margin-bottom: 0.5em;
  font-weight: normal;
  color: #000000;
  font-size: 17px;
  font-family: "Gotham Book", sans-serif;
  width: 100%;  
  display: block;
}

.form-cotizar input,
.form-cotizar select,
.form-cotizar input[type="number"],
.form-cotizar input[type="text"]
{
  width: 100%;
  padding: 0.5rem 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  padding: 12px 18px !important;
  border: 1px solid #4A9699 !important;
  border-radius: 4px !important;
  font-size: 17px;
  line-height: 1.4;
  background-color: #fafafa;
  color: #717171;
  transition: border-color 0.3s, background-color 0.3s, color 0.3s !important;
  font-family: "Gotham Book", sans-serif;
  height: 50px;
}



.form-cotizar input:focus,
.form-cotizar select:focus {
  outline: none;
  border-color: #4A9699;
  background-color: #ffffff;
  color: #000000;
    transition: border-color 0.3s, background-color 0.3s, color 0.3s;
}

.form-cotizar button {
  display: inline-block;
  background-color: #009ca5;
  color: #ffffff;
  padding: 14px 28px;
  border: none;
  border-radius: 20px;
  font-size: 17px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.1s;
  font-family: "Gotham Bold", sans-serif;

}

.form-cotizar button:hover {
  background-color: #008a92;
  transform: translateY(-1px);
}

.aseguradoras-container {
  background-color: #f5f5f5;
  padding: 2rem 0rem;
}

.aseguradora {
  margin-bottom: 2rem;
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr 3fr;
  grid-gap: 40px;
}

.aseguradora-logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.aseguradora-logo {
  max-width: 170px;
}


.aseguradora-logo {
  width: auto;
  object-fit: contain;
  
}

.coberturas-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-gap: 20px;
}


.cobertura-content {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 25px;
  font-family: "Gotham Book", sans-serif;
  flex-direction: column;
  background-color: white;
  border-radius: 20px;
  min-height: 230px;
  align-items: center;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;

}




.btn-contacto-whatsapp {
  display: inline-block;
  background-color: #4A9699 !important;
  color: #ffffff !important;
  padding: 8px 20px !important;
  border: none !important;
  border-radius: 20px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.1s;
  font-family: "Gotham Book", sans-serif;
  display: flex !important;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.whatsapp-icon {
  margin-top: 2px'

}

.btn-contacto-whatsapp:hover {
  color: white !important;
  background-color: #348D91 !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.cobertura-content p {
  font-size: 12px;
  font-family: "Segoe UI", sans-serif;
  font-weight: bold;
  text-align: center;
  margin: 0;
  text-transform: uppercase;
}

.cobertura-content h5 {
  font-size: 26px;
  font-family: "Gotham Bold", sans-serif;
  font-weight: bold;
  color: #801f80;
  margin: 0;
}


.cobertura-item {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
}

.cobertura-item input[type="checkbox"] {
  margin-right: 0.5rem;
}


.is-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.is-valid {
  border-color: #28a745 !important;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25) !important;
}

.error-popup .swal2-html-container {
  max-height: 400px;
  overflow-y: auto;
}

.progress-bar-container {
  position: relative;
  overflow: hidden;
}

.hidden {
  display: none;
}

.phone-input-group {
  display: inline-flex;
  width: 100%;
}

.phone-input-item.telpre{
  width: 30%;
}
.phone-input-item.telnum {
  width: 70%;
}
.phone-input-item label {
  font-size: 14px;
  margin-bottom: 0.5em;
}

.phone-input-item input {
  margin-bottom: 0;  
}

.col_sexo{
  display: flex;
  flex-flow: column;
  align-self: self-end;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}

#tel_prefijo {
  max-width: 90% !important;
  margin-right: 10px;
}

.select2-selection__rendered {
  padding: 6px;
}
span.select2-selection.select2-selection--single {
  min-height: 50px;
}
span.select2-selection__arrow {
  padding: 23px 0;
}
span.select2-selection__rendered {
  padding: 12px;
  margin-left: 12px;
}


/*
Mobile
*/

@media screen and (max-width: 768px) {
  .aseguradora {
    grid-template-columns: 1fr;
  }

  .coberturas-list {
    grid-template-columns: 1fr;
  }

  .form-line {
    grid-template-columns: 1fr;
  }

  .form-cotizar h3,
  .form-cotizar h4 {
    font-size: 0.8rem;
    margin-top: 1rem;
  }

  .form-cotizar label {
    font-size: 0.8rem;

  }

  .form-cotizar input,
  .form-cotizar select {
    font-size: 0.8rem;
  }

  .form-cotizar button {
    font-size: 0.8rem;
  }

  .phone-input-group{
    flex-direction: column;
  }

  .phone-input-item input {
    width: 100%; 
  }

  .phone-input-item.telnum {
    width: 100%;
  }
}