/* Estilos generales */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #f2f2f2;
  font-family: Arial, sans-serif;
}

/* Contenedor principal para el sticky footer */
.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Ocupa al menos el alto total de la ventana */
}

/* Área de contenido que se expande y empuja el footer hacia abajo */
.content {
  flex: 1;
}

/* Encabezado */
header {
  background: #3a5852;
  color: #fff;
  padding: 20px;
  text-align: center;
}

/* Contenido principal */
main {
  margin: 20px;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
}

/* Formulario */
form {
  display: flex;
  flex-direction: column;
}

fieldset {
  border: 1px solid #ccc;
  margin-bottom: 15px;
  padding: 15px;
  border-radius: 4px;
}

legend {
  font-weight: bold;
}

label {
  display: block;
  margin-top: 10px;
  margin-bottom: 5px;
}

input[type="text"],
input[type="file"],
textarea {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  background: #3a5852;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background: #555;
}

/* Pie de página */
footer {
  background: #3a5852;
  color: #fff;
  padding: 10px 0;
  text-align: center;
}

footer nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer nav ul li {
  display: inline-block;
  margin: 0 10px;
}

footer nav ul li a {
  color: #fff;
  text-decoration: none;
}

/* Estilos adicionales */
#accionistas {
  margin-top: 60px;
}

#loading {
  font-style: italic;
  color: #333;
}

#responseMessage {
  font-size: 16px;
  margin-top: 10px;
}

#responseMessage span {
  padding: 10px;
  border-radius: 5px;
  display: inline-block;
}

#responseMessage .success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

#responseMessage .error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
