body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    background-color: #f8f9fa;
    color: #212529;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 25px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

header {
    border-bottom: 2px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

header h1 {
    margin: 0;
    padding: 0;
    text-align: center;
}

header h1 a {
    display: inline-block;
    text-decoration: none;
}

.logo-img {
    width: 250px;
    height: auto;
    display: block;
    margin-top: 10px;
}

footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 0.9em;
    color: #6c757d;
}

article h1 {
    font-size: 2.2em;
    line-height: 1.2;
}

article h2 {
    font-size: 1.8em;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    margin-top: 40px;
}

.fecha-actualizacion {
    font-weight: bold;
    font-size: 0.9em;
    color: #0275d8;
    background-color: #e6f7ff;
    padding: 8px 12px;
    border-radius: 4px;
    display: inline-block;
}

.intro {
    font-size: 1.1em;
    font-style: italic;
    color: #555;
    border-left: 4px solid #d9534f;
    padding-left: 15px;
}

.alerta-seguridad {
    background-color: #fff8e1;
    border: 1px solid #ffc107;
    border-left: 5px solid #ff9800;
    padding: 20px;
    border-radius: 5px;
    margin-top: 20px;
}

.alerta-seguridad h3 {
    margin-top: 0;
    color: #bf360c;
}

.guia-lista {
    list-style: none;
    padding: 0;
}

.guia-item {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 5px;
    margin-bottom: 15px;
    transition: box-shadow 0.2s ease-in-out;
}

.guia-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.guia-item a {
    display: block;
    padding: 20px;
    text-decoration: none;
    color: #212529;
}

.guia-item h3 {
    margin: 0 0 5px 0;
    color: #0275d8;
    font-size: 1.4em;
}

.guia-item p {
    margin: 0;
    font-size: 1em;
    color: #555;
}

.guia-item .etiqueta {
    font-size: 0.8em;
    font-weight: bold;
    color: #fff;
    background: #d9534f;
    padding: 3px 8px;
    border-radius: 3px;
    margin-right: 10px;
}

@media (max-width: 600px) {
    body { padding: 0; }
    .container { 
        padding: 20px;
        margin: 0;
        border-radius: 0;
        min-height: 100vh;
    }
    article h1 { font-size: 1.8em; }
    article h2 { font-size: 1.5em; }
    
    .logo-img {
        width: 200px;
    }
}

.tabla-datos {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.95em;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    background-color: #fff;
}

.tabla-datos thead tr {
    background-color: #0275d8;
    color: #ffffff;
    text-align: left;
}

.tabla-datos th, .tabla-datos td {
    padding: 12px 15px;
    border-bottom: 1px solid #dddddd;
}

.tabla-datos tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.tabla-datos tbody tr:last-of-type {
    border-bottom: 2px solid #0275d8;
}

.tabla-responsive {
    overflow-x: auto;
}

.buscador-container {
    margin: 25px 0;
    text-align: center;
}

#inputBuscador {
    width: 100%;
    max-width: 500px;
    padding: 15px 20px;
    font-size: 1.1em;
    border: 2px solid #ddd;
    border-radius: 50px;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

#inputBuscador:focus {
    border-color: #0275d8;
    box-shadow: 0 4px 15px rgba(2, 117, 216, 0.2);
}

#noResultados {
    display: none;
    text-align: center;
    color: #777;
    margin-top: 20px;
    font-style: italic;
}