#form-contratar {
  background-image: url("../imagenes/Fielpet_asegura2.jpeg");
  height: fit-content !important;
}
#form-contratar .container {
  justify-content: center;
  width: 95%;
}
#form-contratar .form-container {
  max-width: 920px;
  width: 920px;
  margin: 50px 0 50px;
}

#form-contratar form {
  max-width: 100%;
  box-sizing: border-box;
  padding: 20px 0;
}
.step {
  display: none;
  margin-bottom: 30px;
}

.step.active {
  display: block;
}
.step h2 {
  font-size: 1rem;
}
.step p {
  font-size: 1rem;
}
.progress-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  gap: 15px;
}

.progress-step {
  width: 30%;
  text-align: center;
  padding: 10px;
  background-color: #f0f0f0;
  color: #212121;
  padding: 8px;
  border-radius: 20px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
    rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.progress-step p {
  font-size: 13px;
}
.progress-step.active p {
  display: block;
  color: #fff;
}
.progress-step h3 {
  font-size: 16px;
}

.progress-step.active {
  background-color: #1d9d6f;
  color: white;
}
.progress-step.active hr {
  color: #fff;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 8px;
  margin: 10px auto 0;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 600;
  color: #000;
  background-color: #fff;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
.step-inner p {
  padding: 0 8px;
  font-size: 13.5px;
}
.paso-de {
  display: none;
}
#pet-name-top {
  text-align: center;
  color: #1d9d6f;
  font-size: 40px;
  font-style: italic;
}
.form-group {
  margin-bottom: 15px;
  position: relative;
}

label {
  display: block;
  margin-bottom: 5px;
  /* font-weight: bold; */
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}

.radio-group {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.radio-option {
  display: flex;
  align-items: center;
  justify-content: center;
}

.radio-option input {
  margin-right: 5px;
}

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

button {
  padding: 10px 20px;
  background-color: #1d9d6f;
  color: white;
  border: none;
  cursor: pointer;
}

button:hover {
  background-color: #45a049;
}

button.prev {
  background-color: #f0f0f0;
  color: #333;
}

button.prev:hover {
  background-color: #e0e0e0;
}

.hidden {
  display: none;
}
.pet-name-display {
  font-weight: 600;
}

/*V2*/
label {
  font-size: 14px;
  color: #333333;
}
input,
select {
  font-size: 16px;
  line-height: 28px;
  padding: 8px 16px;
  width: 100%;
  min-height: 44px;
  border: unset;
  border-radius: 4px;
  outline-color: #1d9d6f;
  background-color: rgb(255, 255, 255);
}
/*tarjetas de crédito*/
.radio-group-img {
  display: flex;
  gap: 15px;
}

.radio-group-img .radio-option {
  position: relative;
  cursor: pointer;
}

.radio-group-img .radio-option input {
  display: none;
}

.radio-group-img .radio-option img {
  width: 80px; /* Ajusta el tamaño según tu necesidad */
  height: auto;
  opacity: 0.8;
  transition: all 0.3s ease;
  border-radius: 8px;
  border: 2px solid transparent;
  padding: 6px;
}

.radio-group-img .radio-option input:checked + img {
  opacity: 1;
  border-color: #1d9d6f;
  box-shadow: 0 0 10px rgba(29, 157, 111, 0.5);
}

/* #form-contratar select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none; */
  /* Remove default arrow */
  /* Add custom arrow */
/* } */

#form-contratar select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%; /* Asegura que el selector ocupe el espacio disponible */
  padding: 8px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #ffffff;
  font-size: 16px;
  line-height: 28px;
  box-sizing: border-box;
  outline-color: #1d9d6f;
}

#cardTypeIcon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  max-width: 40px;
  max-height: 25px;
}
#cardTypeText {
  margin-top: 10px;
  color: #666;
}
/*Planes*/
.step .pricing-card {
  transform: scale(0.8);
}
.card-container {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}
#exito {
  background: #1d9d6f;
  color: #fff;
  padding: 20px;
  border-radius: 30px;
  display: flex;
}
#exito p {
  color: #fff;
}
#exito h2 {
  font-size: 30px;
}
#exito #pet-name-display {
  font-weight: bold;
}
#exito button {
  background: #fff;
  color: #1d9d6f;
}
.field-description {
  display: block;
  margin: 5px 0;
  font-size: 12px;
  font-style: italic;
}
@media (max-width: 920px) {
  #form-contratar .form-container {
    width: 100%;
  }
  #form-contratar > .container {
    display: block;
    padding: 10px;
  }
}
@media (max-width: 768px) {
  .progress-bar {
    flex-wrap: wrap;
    margin-top: 20px;
  }
  .progress-step {
    width: 100%;
    margin: 5px;
  }
  #form-contratar {
    /* background-image: url("../imagenes/Fielpet_Asegura_mobile.jpg"); */
    background-image: url("../imagenes/Fielpet_asegura2.jpeg");
    padding: 0;
  }
  .group-perro-gato {
    flex-wrap: nowrap;
  }
  .step-inner h3 br {
    display: none;
  }
  #exito {
    flex-wrap: wrap;
  }
  #exito .left,
  #exito .right {
    flex-basis: 50%;
    order: 2;
  }
  #pet-name-top {
    font-size: 30px;
  }
  .progress-step:not(.active) {
    display: none;
  }
  .paso-de {
    /* display: block;
    font-weight: 800; */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 8px;
    margin: 10px auto 0;
    border-radius: 50%;
    font-weight: 600;
    color: #000;
    background-color: #fff;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px; 
    letter-spacing: 1px;  
  }
  .step-number {
    display: none;
  }
}
