/* Header con logos sponsors */
.header-with-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    border-bottom: 3px solid #e8eef5;
    padding: 15px 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    gap: 30px;
}

.header-logos-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.header-logo {
    height: 45px;
    object-fit: contain;
    object-position: left;
}

.header-title-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header-title-section h1 {
    color: #2c3e50;
    margin: 0;
    font-size: 28px;
    font-weight: bold;
}

.header-title-section p {
    color: #7f8c8d;
    margin: 5px 0 0 0;
    font-size: 14px;
}

.header-user-section {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.header-user-text {
    color: #2c3e50;
    font-size: 14px;
    white-space: nowrap;
}

/* Responsive para tablets */
@media (max-width: 1100px) {
    .header-with-logos {
        padding: 15px 20px;
        gap: 20px;
        flex-wrap: wrap;
    }

    .header-logo {
        height: 40px;
    }

    .header-title-section h1 {
        font-size: 22px;
    }

    .header-title-section p {
        font-size: 12px;
    }
}

/* Responsive para móvil */
@media (max-width: 640px) {
    .header-with-logos {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px;
        gap: 10px;
    }

    .header-title-section {
        width: 100%;
        order: 1;
    }

    .header-logos-container {
        gap: 8px;
        width: 100%;
        justify-content: flex-start;
        order: 2;
    }

    .header-logo {
        height: 35px;
    }

    .header-title-section h1 {
        font-size: 18px;
    }

    .header-title-section p {
        font-size: 11px;
    }

    .header-user-section {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 10px;
        order: 3;
    }

    .header-user-text {
        font-size: 12px;
    }
}
