body {
    font-family: Arial, sans-serif;
    background-color: #e7e7e7e1;
    margin: 0;
    padding: 0;
}
 
body h1 {
    width: 100%;
    margin: 0 0 20px 0;
    color: #333;
    text-align: center;
    box-sizing: border-box;
}


.main-container {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 960px;
    width: 100%;
    margin: 40px auto;
    box-sizing: border-box;
}

form br {
    display: none;
}

label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: #333;
}

input,
select {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
} 

input:focus,
select:focus {
    outline: none;
    border-color: #d98a4e;
}

button#submit-btn,
button[type="submit"] {
    margin-bottom: 5px;
    width: 100%;
    padding: 10px;
    background-color: #3c5670;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button#submit-btn:hover,
button[type="submit"]:hover { 
    background-color: #2b4055;
}

.mensaje-exito,
.mensaje-error {
    max-width: 600px;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto 20px auto;
    padding: 12px 20px;
    border-radius: 6px;
    text-align: center;
}

.mensaje-exito {
    color: #155724;
    background: #d4edda;
}

.mensaje-error {
    color: #721c24;
    background: #f8d7da;
}


.menu {
    display: flex;
    gap: 20px;
    padding: 14px 24px;
    background: #162635;
}

.menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.menu a.activo {
    border-bottom: 2px solid #d98a4e;
    pointer-events: none;
}

.encabezado-imagen img {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    display: block;
}

.nav-index {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
}

.btn-portada {
    display: inline-block;
    padding: 10px 18px;
    background-color: #22364a;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    width: 100%;
    max-width: 320px;
    box-sizing: border-box;
    text-align: center;
}

.btn-portada:hover {
    background-color: #162635;
}

.filtros-form {
    background-color: #f9f9f9;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    margin-bottom: 20px;
}

.tabla-wrapper {
    overflow-x: auto;
}

.tabla-resultados {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 14px;
}

.tabla-resultados th,
.tabla-resultados td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.tabla-resultados th {
    background-color: #3c5670;
    color: white;
    font-size: 13px;
}

.tabla-resultados tbody tr:hover {
    background-color: #f5f8fd;
}

.descripcion-consulta {
    color: #555;
    text-align: center;
    margin-bottom: 20px;
}
