@font-face {
  font-family: "Panton Bold";
  font-display: swap;
  src: url("../font/Panton-Bold.otf") format("opentype");
}

@font-face {
  font-family: "Panton Regular";
  font-display: swap;
  src: url("../font/Panton-Regular.otf") format("opentype");
}

@font-face {
  font-family: "Panton ExtraBold";
  font-display: swap;
  src: url("../font/Panton-ExtraBold.otf") format("opentype");
}

body {
  font-family: "Panton Regular";
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}

.container {
  max-width: 943px;
  margin: 67px auto;
  padding: 52px 20px 100px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

h1 {
  text-align: center;

  border-top: 2px solid #353232;
  border-bottom: 2px solid #353232;
  margin: 40px;
}

h3 {
  color: #353232;
  margin-top: 18px;
  margin-bottom: 38px;
  font-size: 25px;
  position: sticky;
  z-index: 100;
  top: 0;
  background-color: #d0d0d0;
  padding: 5px;
  border-radius: 15px;
  text-align: center;
}

form {
  display: flex;
  flex-direction: column;
}

.form-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.form-column {
  flex: 1;
  min-width: 300px;
}

.form-group-personal-data {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 5px;
  /*font-weight: bold;*/
}

input[type="text"],
select {
  width: 100%;
  padding: 7px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
input {
  cursor: pointer;
}
select:focus {
  background-color: white !important;
}

textarea {
  width: 100%;
  padding: 0px !important;
  resize: none;
}
p {
  display: flex;
  justify-content: center;
}
button {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #fcb900;
  color: #34302e;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 30%;
  align-self: center;
  font-size: 15px;
  font-family: "Panton ExtraBold";
}

button:hover {
  background-color: #e9ab00;
}

select option[disabled] {
  color: #888; /* Gris claro para las opciones deshabilitadas */
}

#button-enviar {
  text-align: center;
  margin-bottom: 100px;
}

.confirmation-message {
  margin-top: 20px;
  color: #fcb900;
  text-align: center;
}

#categorias-container,
#oficios-container,
#discapacidades-container,
#emprendimientos-container,
#deudas-container {
  display: none;
}

/* Estilos para la tabla y paginación */
.tb {
  width: 100%;
}

.tb td {
  border-bottom: 1px solid #ededed;
  padding: 5px;
}

.paginador {
  text-align: center;
}

.paginador a {
  text-decoration: none;
  padding: 15px;
  background-color: #e8e8e8;
}

.paginador a:hover {
  background-color: #d0dfdf;
}

.button-container {
  display: flex;
  justify-content: flex-end;
  padding: 20px; /* Ajusta el espaciado según sea necesario */
}

/* Estilos adicionales para grupos de formularios */
.form-group-personal-data {
  margin-bottom: 15px;
}

/* Estilo para contenedores de inputs y labels */
.form-group {
  border: 1px solid #f3be0a;
  border-radius: 38px;
  padding: 35px;
  width: 85%;
  margin: auto;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hidden {
  display: none;
}
.long-answers {
  width: 100%;
}
.middle-answers {
  width: 42%;
}
.short-answers {
  width: 25%;
}
table {
  margin: 10px;
}
/* Estilos responsivos */
@media (max-width: 768px) {
  .container {
    padding: 30px 15px;
    margin: 30px auto;
  }

  h1 {
    font-size: 24px;
    margin: 20px;
  }

  h3 {
    font-size: 20px;
    margin: 15px 0;
  }

  .form-row {
    flex-direction: column;
  }

  .form-column {
    min-width: 100%;
  }

  button {
    width: auto;
    font-size: 14px;
  }

  .form-group {
    width: 84%;
  }
  input[type="text"] {
    width: 95%;
  }
}

/* Pantallas muy pequeñas, como teléfonos móviles */
@media (max-width: 480px) {
  h1 {
    font-size: 20px;
    margin: 10px;
  }

  h3 {
    font-size: 18px;
    margin: 10px 0;
  }

  .container {
    padding: 20px 10px;
    margin: 20px auto;
  }

  button {
    width: 55%;
    font-size: 12px;
    padding: 8px 16px;
  }

  .form-group {
    padding: 30px;
  }

  .long-answers {
    width: 100%;
  }
  .middle-answers {
    width: 97%;
  }
  .short-answers {
    width: 55%;
  }

  .paginador a {
    padding: 10px;
    font-size: 12px;
  }
  input[type="text"] {
    width: 95%;
  }

    .centrarDiv{
  padding: 0px !important;
  width: 90%;  
    }


   header .text-center {
      font-size: 20px !important; 
      text-align: center;
    }

}


  .centrarDiv{

  border-radius: 38px;
  padding: 35px;
  width: 90%;
  margin: auto;
    margin-bottom: auto;
  margin-bottom: auto;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}
.pregunta{
  font-weight: bold;
}