body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}
header, main, footer {
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
}
header {
    background-color: #004080;
    color: #fff;
    text-align: center;
}
h1 {
    margin: 0;
}
.disclaimer {
    background-color: #fffbe6;
    border: 1px solid #ffe58f;
    padding: 10px;
    border-radius: 5px;
    font-size: 0.9em;
    text-align: center;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
th, td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}
th {
    background-color: #e9ecef;
    font-weight: bold;
}
tr:nth-child(even) {
    background-color: #f8f9fa;
}
.btn-visitar {
    background-color: #007bff;
    color: #fff;
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9em;
    display: inline-block;
    text-align: center;
}
.btn-visitar:hover {
    background-color: #0056b3;
}
footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.8em;
    color: #666;
}

/* --- ESTILOS PARA MÓVILES Y PANTALLAS PEQUEÑAS --- */
@media (max-width: 768px) {
    table {
        border: none;
        box-shadow: none;
        background-color: transparent;
    }
    table thead {
        display: none;
    }
    table tr {
        display: block;
        margin-bottom: 20px;
        border: 1px solid #ddd;
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        background-color: #fff;
    }
    table td {
        display: block;
        text-align: right;
        padding-left: 50%;
        position: relative;
        border-bottom: 1px solid #eee;
        border-top: none;
        border-left: none;
        border-right: none;
    }
    table td:last-child {
        border-bottom: 0;
    }
    table td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: 45%;
        padding-right: 10px;
        text-align: left;
        font-weight: bold;
    }
    table td[data-label="Acción"] {
        text-align: center;
        padding: 15px;
    }
    table td[data-label="Acción"]::before {
        display: none;
    }
}

.controles-tabla {
    margin-bottom: 15px;
    background-color: #fff;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.controles-tabla label {
    font-weight: bold;
    margin-right: 10px;
}
.controles-tabla select {
    padding: 5px;
    border-radius: 3px;
    border: 1px solid #ddd;
}
