/* Import Google font - Poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #fc4a1a;
  background: linear-gradient(
    to right,
    #fc4a1a,#f7b733
  );
}
.container {
  position: relative;
  max-width: 700px;
  width: 100%;
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
.container header {
  font-size: 1.5rem;
  color: #333;
  font-weight: 500;
  text-align: center;
}
.container .form {
  margin-top: 30px;
}
.form .input-box {
  width: 100%;
  margin-top: 20px;
}
.input-box label {
  color: #333;
}
.form :where(.input-box input, .select-box) {
  position: relative;
  height: 50px;
  width: 100%;
  outline: none;
  font-size: 1rem;
  color: #707070;
  margin-top: 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0 15px;
}
.input-box input:focus {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}
.form .column {
  display: flex;
  column-gap: 15px;
}
.form .gender-box {
  margin-top: 20px;
}
.gender-box h3 {
  color: #333;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 8px;
}
.form :where(.gender-option, .gender) {
  display: flex;
  align-items: center;
  column-gap: 50px;
  flex-wrap: wrap;
}
.form .gender {
  column-gap: 5px;
}
.gender input {
  accent-color: #fc4a1a;
}
.form :where(.gender input, .gender label) {
  cursor: pointer;
}
.gender label {
  color: #707070;
}
.address :where(input, .select-box) {
  margin-top: 15px;
}
.select-box select {
  height: 100%;
  width: 100%;
  outline: none;
  border: none;
  color: #707070;
  font-size: 1rem;
}
.btn-retorn{
  display: block !important;
  text-decoration: none;
  padding: 15px !important;
}
.form button, .btn-retorn {
  height: 55px !important;
  width: 100% !important;
  color: #fff;
  font-size: 1rem;
  font-weight: 400;
  margin-top: 30px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fc4a1a;
  border-radius: 15px;
}
.form button:hover {
  background: rgb(154, 51, 4);
}
/*Responsive*/
@media screen and (max-width: 500px) {
  .form .column {
    flex-wrap: wrap;
  }
  .form :where(.gender-option, .gender) {
    row-gap: 15px;
  }
}

.container-img {
    text-align: center;
    background-color: #f3c7bb;
    border-radius: 10px;
}
.container-img img{
    text-align: center;
    width: 120px !important;
}

.form-section {
  display: none;
}
.form-section.active {
  display: block;
}

.prev-btn{
  background-color: #fb7752 !important;
  padding: 10px !important;
}
.prev-btn:hover{
  background: #fc4a1a !important;
}

/* Ocultar el input original */
.gender input[type="radio"] {
  display: none;
}

/* Estilo para el label con efectos */
.gender label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: #555;
  padding: 10px 15px;
  border: 2px solid #ccc;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.gender label:hover {
  background-color: #f0f0f0;
  border-color: #fc4a1a;
  color: #fc4a1a;
}

/* Efecto para los inputs seleccionados */
.gender input[type="radio"]:checked + label {
  background-color: #fc4a1a;
  color: #fff;
  border-color: #fc4a1a;
  font-weight: bold;
}

/* Estilo para las opciones */
.gender-option {
  display: flex;
  gap: 20px;
}

.gender {
  display: flex;
  align-items: center;
  cursor: pointer;
}


#select-tecnico, #input-text {
  display: none;
}

#input-text input {
  width: 100%;
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

/* Estilos para el modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 400px;
  text-align: center;
  border-radius: 8px;
}

.close-btn {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}


/* Ajuste para campos select e input[type="date"] */
.form :where(.input-box input, .select-box, .input-box input[type="date"]) {
  position: relative;
  height: 50px;
  width: 100%;
  outline: none;
  font-size: 1rem;
  color: #707070;
  margin-top: 8px;
  background-color: #fff; /* Fondo blanco */
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0 15px;
}

/* Ajuste adicional para select */
.select-box select {
  height: 100%;
  width: 100%;
  outline: none;
  border: none;
  color: #707070;
  font-size: 1rem;
  background-color: #fff; /* Fondo blanco */

  border-radius: 6px;
  padding: 0 15px;
}

/* Efecto al enfocarse */
.input-box input:focus, .select-box select:focus {
  border-color: #fc4a1a; /* Resaltar el borde en foco */
  box-shadow: 0 1px 4px rgba(252, 74, 26, 0.4); /* Efecto sutil */
}
