body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 20px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
    box-sizing: border-box;
}

/* HEADER COMO FLEX */
.header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.logo {
    width: 150px;
    height: auto;
}

.titulo {
    flex: 1;
    font-size: 1.5rem;
    color: #333;
    text-align: left;
}

/* ELEMENTOS DE FILTRO */
input, select {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

/* TABLA GENERAL */
table {
    width: 100%;
    border-collapse: collapse;
    overflow-x: auto;
}

th, td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
    font-size: 16px;
}

th {
    background: #4CAF50;
    color: white;
}

tr:nth-child(even) {
    background: #f2f2f2;
}

tr:hover {
    background: #ddd;
}

a {
    color: #007BFF;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Responsive: Tablets */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo {
        width: 100px;
    }

    .titulo {
        font-size: 1.2rem;
        text-align: center;
    }

    input, select {
        font-size: 14px;
        padding: 8px;
    }

    table {
        font-size: 14px;
        display: block;
        white-space: nowrap;
    }

    th, td {
        padding: 8px;
    }
}

/* Responsive: Móviles */
@media (max-width: 480px) {
    .logo {
        width: 80px;
    }

    .titulo {
        font-size: 1rem;
        text-align: center;
    }

    input, select {
        font-size: 12px;
        padding: 6px;
    }

    table {
        font-size: 12px;
    }

    th, td {
        padding: 6px;
    }
}
