/* 
 * Topbar Gov.co - Cumplimiento Resolución 001519 de 2020 MinTIC
 * Barra superior obligatoria para sitios web del Estado colombiano
 */

.govco-topbar {
    background-color: #3366CC;
    height: 40px; /* Reducido para ser más sutil */
    width: 100%;
    position: relative;
    z-index: 9999;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
}

.govco-topbar-container {
    /* Eliminamos anchos manuales para heredar el comportamiento del .container estándar */
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Forzamos que el contenedor de la barra superior sea un .container de Bootstrap */
.govco-topbar .container {
    padding: 0 1.5rem !important; /* Aumentado para coincidir con el header institucional */
}

.govco-logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 2px; /* Pequeño ajuste Y */
}

.govco-logo {
    height: 30px; /* Reducido */
    width: auto;
}

.govco-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.govco-link {
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.govco-link:hover {
    opacity: 0.8;
    color: white;
}

.govco-link i {
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .govco-topbar {
        height: auto;
        min-height: 50px;
    }
    
    .govco-topbar-container {
        flex-direction: row !important;
        padding: 5px 15px;
        justify-content: space-between;
    }
    
    .govco-logo-container {
        width: auto !important;
    }
    
    .govco-links {
        width: auto !important;
        gap: 10px !important;
    }
    
    .govco-link {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .govco-logo {
        height: 32px;
    }
    
    .govco-links {
        gap: 10px;
    }
    
    .govco-link {
        font-size: 11px;
    }
}
