/* ESTILOS GENERALES */
:root {
    --azul-oscuro: #252c62;
    --azul-claro: #1E88E5;
    --blanco: #FFFFFF;
    --gris-claro: #f5f5f5;
}

body {
    margin: 0;
    font-family: 'Source Sans Pro', Arial, sans-serif;
    background-color: var(--gris-claro);
    color: #333;
    line-height: 1.6;
}

/* HEADER */
header {
    background-color: var(--azul-oscuro);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    height: 72px;
    width: auto;
}

/* REDES SOCIALES */
.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--blanco);
    font-size: 18px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--azul-claro);
}

/* CONTENIDO PRINCIPAL */
.main-content {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: center;
}

.title {
    color: var(--azul-oscuro);
    margin-bottom: 10px;
}

.subtitle {
    color: #555;
    font-size: 20px;
    margin-bottom: 20px;
}

.bold-text {
    font-weight: bold;
    font-size: 18px;
    margin: 25px 0 15px 0;
    color: var(--azul-oscuro);
}

.description {
    margin-bottom: 30px;
    font-size: 16px;
    color: #444;
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* BUSCADOR */
.search-container {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.search-box {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.search-input {
    padding: 12px 15px;
    width: 250px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border 0.3s;
}

.search-input:focus {
    border-color: var(--azul-oscuro);
    outline: none;
}

.search-button {
    background-color: var(--azul-oscuro);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.search-button:hover {
    background-color: var(--azul-claro);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .search-box {
        flex-direction: column;
        align-items: center;
    }
    
    .search-input {
        width: 100%;
    }
    
    .search-button {
        width: 100%;
    }
}


.responsive-table {
    width: 100%;
    border-collapse: collapse;
}

.responsive-table th, 
.responsive-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.responsive-table th {
    background-color: var(--azul-oscuro);
    color: white;
    font-weight: 600;
}


/* RESPONSIVE PARA TABLA - VERSIÓN COLUMNAS APILADAS */
@media (max-width: 768px) {
    .responsive-table {
        display: block;
        border: none;
    }
    
    .responsive-table thead {
        display: none;
    }
    
    .responsive-table tbody {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .responsive-table tr {
        display: flex;
        flex-direction: column;
        border: 1px solid #ddd;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    .responsive-table td {
        display: flex;
        justify-content: space-between;
        padding: 12px 15px;
        border-bottom: 1px solid #eee;
    }
    
    .responsive-table td:last-child {
        border-bottom: none;
    }
    
    .responsive-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--azul-oscuro);
        margin-right: 15px;
    }
}