body {
  font-family: Arial, sans-serif;
  background-image: url(../images/bg4.jpg); /* Imagen de fondo */
  background-size: cover; /* La imagen cubre toda la pantalla */
  background-repeat: no-repeat; /* No se repite la imagen */
  background-position: center; /* La imagen está centrada */
  background-attachment: fixed; /* La imagen de fondo está fija */
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: auto; /* Para manejar contenido que exceda la altura de la ventana */
}

.container {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 600px; /* Ajusta el tamaño máximo del contenedor */
  box-sizing: border-box; /* Asegura que el padding no aumente el tamaño total */
  margin: auto; /* Espacio alrededor del contenedor */
}

.campo-colapsable {
  position: relative;
  overflow: hidden;
}

.campo-colapsable label,
.campo-colapsable input[type="text"] {
  display: none;
}

.campo-colapsable button.expandir {
  position: absolute;
  right: 0;
  top: 0;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

h2 {
  margin-bottom: 20px;
  text-align: center;
}

label {
  display: block;
  margin-top: 10px;
}

select,
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="file"],
input[type="password"],
input[type="date"] {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box; /* Asegura que el padding no aumente el tamaño total */
}

button {
  background-color: #23ce3ac2;
  color: white;
  padding: 12px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%; /* Hacer que el botón ocupe todo el ancho disponible */
  box-sizing: border-box; /* Asegura que el padding no aumente el tamaño total */
}

button:hover {
  background-color: #23ce3ac2;
}

@media (max-width: 600px) {
  .container {
    padding: 20px; /* Reduce el padding en pantallas pequeñas */
  }

  input[type="text"],
  input[type="tel"],
  input[type="email"],
  input[type="file"],
  select, /* Asegúrate de que select esté incluido aquí */
  button {
    padding: 8px; /* Reduce el padding en pantallas pequeñas */
  }
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

th,
td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: left;
}

th {
  background-color: #f2f2f2;
}

/* Forcon.css */

@media (min-width: 601px) {
  .container {
    padding: 30px;
  }

  input[type="text"],
  input[type="tel"],
  input[type="email"],
  input[type="file"],
  select, /* Incluyendo select para mantener la coherencia de estilo */
  button {
    font-size: 16px; /* Tamaño de fuente mayor */
  }
}

@media (min-width: 901px) {
  .container {
    padding: 40px;
  }

  input[type="text"],
  input[type="tel"],
  input[type="email"],
  input[type="file"],
  select, /* Incluyendo select para mantener la coherencia de estilo */
  button {
    font-size: 18px; /* Tamaño de fuente aún mayor */
  }
}

@media (min-width: 601px) {
  .campo-colapsable label,
  .campo-colapsable input[type="text"] {
    display: inline-block;
  }

  .campo-colapsable button.expandir {
    display: none;
  }
}

button#btnSalir {
  margin-top: 10px; /* Ajusta la cantidad de margen según necesites */
}