/* FONDO GENERAL */
body {
    margin: 0;
    padding: 0;
    background-image: url("https://i.postimg.cc/L416wXQP/papel-arrugado.jpg");
    background-size: cover;
    background-attachment: fixed;
    font-family: Arial, sans-serif;
}

/* BARRA DE MENÚ PRINCIPAL */
.menu-principal {
    width: 100%;
    height: 42px;
    background: rgba(0, 60, 130, 0.75);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px;
    box-sizing: border-box;
}

.menu-left {
    font-size: 20px;
    font-weight: bold;
    color: white;
}

.menu-right a {
    color: white;
    text-decoration: none;
    font-size: 17px;
    margin-left: 28px;
}

/* SUBMENÚ */
.submenu {
    width: 100%;
    height: 26px;                 /* compactado */
    background: rgb(0, 45, 100);
    display: flex;
    justify-content: flex-start;  /* ALINEACIÓN IZQUIERDA */
    align-items: center;
    padding-left: 20px;
    gap: 18px;
    box-sizing: border-box;
}

.submenu .titulo-submenu {
    font-size: 16px;
    font-weight: bold;
    color: white;
    margin-right: 20px;
}

.submenu a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.submenu a.activo {
    font-weight: bold;
    border-bottom: 2px solid white;
}

/* TÍTULO DEL LISTADO */
.titulo-listado {
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    margin-top: 0px;              /* pegado a la cabecera */
    margin-bottom: 2px;
    color: #002b60;
}

/* TABLA */
.contenedor-tabla {
    margin-top: 0px;
    padding: 0 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.85);
}

th, td {
    padding: 8px 10px;
    border: 1px solid #666;
    font-size: 14px;
}

th {
    background: #003c82;
    color: white;
}
