html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
}

/* ====== Encabezado ====== */
.header {
  background-color: #004a8f;
  padding: 10px 20px;
}
.header-content {
  display: flex;
  align-items: center;
}
.header-logo {
  height: 50px;
  margin-right: 15px;
}
.header-title {
  color: white;
  font-size: 20px;
  margin: 0;
}

/* ====== Franja informativa ====== */
.top-banner {
  background-color: #0c2b52;
  color: white;
  text-align: center;
  font-style: italic;
  padding: 5px 0;
  font-size: 14px;
}

/* ====== Contenido principal ====== */
.main-content {
  flex: 1; /* Ocupa el espacio entre header y footer */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centrar verticalmente */
  align-items: flex-start; /* Alinear a la izquierda */
  padding: 40px 20px;
}
.section-title {
  color: #004a8f;
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.input-container {
  display: flex;
  align-items: center;
  gap: 10px;
}
.input-container label {
  font-weight: bold;
}
input {
  padding: 5px;
  font-size: 14px;
}
button {
  padding: 6px 12px;
  font-size: 14px;
  cursor: pointer;
}

/* ====== Modal ====== */
.modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 600px;
  height: 400px;
  background: #000;
  color: rgb(0, 195, 255);
  border: 2px solid rgb(0, 195, 255);
  overflow-y: auto;
  padding: 20px;
  box-shadow: 0 0 15px rgb(0, 195, 255);
}
.close-btn {
  position: absolute;
  top: 5px;
  right: 10px;
  cursor: pointer;
  color: red;
  font-weight: bold;
}
.line {
  margin: 0;
  line-height: 1.4;
}
.fail {
  color: red;
}

.franja-informativa {
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  background-color: #001f3f; /* color de fondo ejemplo */
  color: white;
  padding: 10px 0;
}

/* El texto que se va a mover */
.franja-informativa span {
  display: inline-block;
  padding-left: 100%; /* empieza fuera de pantalla a la derecha */
  animation: moverFranja 30s linear infinite;
}

/* Animación */
@keyframes moverFranja {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* ====== Pie de página ====== */
.footer {
  background-color: #16293f;
  color: white;
  text-align: center;
  padding: 20px 10px;
}
.footer-seal img {
  height: 100px;
  margin-bottom: 10px;
}
.footer-text a {
  color: white;
  text-decoration: none;
  font-size: 12px;
}
.footer-text a:hover {
  text-decoration: underline;
}