/* Contenedor centrado y justificado */
.bolsa-empleo2-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0px 0 !important;
    padding: 5px;
    /* Espaciado superior e inferior */
}

/* Estilos del botón */
.bolsa-empleo-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 20px !important;
    width: 180px !important;
    /* Tamaño del botón */
    border-radius: 40px !important;
    position: relative !important;
    text-decoration: none !important;
    background: #13131A !important;
    /* Fondo oscuro */
    color: white !important;
    font-weight: bold !important;
    z-index: 9999 !important;
    /* Asegura que esté por encima de otros elementos */
}

/* Borde dividido, ajustando la longitud del lado izquierdo */
.bolsa-empleo-link::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    border-radius: 40px !important;
    padding: 3px !important;
    /* Grosor del borde */
    background: linear-gradient(90deg, #E5E5E5 30%, #A62840 70%) !important;
    /* Ajuste del lado izquierdo */
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0) !important;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0) !important;
    -webkit-mask-composite: xor !important;
    mask-composite: exclude !important;
}

/* Efecto hover */
.bolsa-empleo-link:hover {
    background: #A62840 !important;
    color: white !important;
}

.logo-horizontal-univ {
    left: 0;
    position: absolute;
    right: 0;
    width: inherit;
    height: 2rem;
    line-height: 2rem;
    vertical-align: middle;
    width: auto;
}

@media (min-width: 1024px) {

    /* Este rango cubre la mayoría de dispositivos móviles y tablets */
    .logo-horizontal-univ {
        padding-left: 20px;
        /* Por ejemplo, cambia el fondo en móviles */
    }


}

/* ========== JXBS Header (interfaz tipo mockup) ========== */
/* Forzar layout horizontal: Bootstrap .collapse aplica column */
.jxbs-header .jxbs-header-inner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    min-height: 56px;
    gap: 1rem;
    width: 100%;
}
.jxbs-header .main-container {
    max-width: 100%;
}
.jxbs-header .jxbs-header-right {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    flex-shrink: 0;
}

.jxbs-header .jxbs-logo {
    display: flex !important;
    align-items: center;
    flex-shrink: 0;
}
.jxbs-header .jxbs-logo .header-brand-img {
    max-height: 32px;
    width: auto;
}
.jxbs-header .jxbs-logo .light-logo1 {
    display: none;
}
.jxbs-header.dark-mode .jxbs-logo .desktop-logo {
    display: block;
}
.jxbs-header.dark-mode .jxbs-logo .light-logo1 {
    display: none;
}

/* Nav: Mis Vacantes / Upskilling / Armas — siempre en fila */
.jxbs-nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 0.5rem;
    margin-left: 1rem;
    flex-shrink: 0;
}
.jxbs-nav-item-wrap {
    display: inline-flex !important;
}
.jxbs-nav-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 14px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s, border-color 0.2s;
    position: relative;
    border: 2px solid transparent;
    background: #1D1E2A;
    color: #e67e22;
}
.jxbs-nav-item .jxbs-nav-label {
    color: inherit;
}
.jxbs-nav-item.active {
    background: rgba(166, 40, 64, 0.25);
    border-color: #A62840;
    color: #fff;
}
.jxbs-nav-item.active .jxbs-nav-label {
    color: #fff;
}
.jxbs-nav-item:hover:not(.active) {
    background: #25262e;
    color: #e67e22;
}
.jxbs-nav-item-orange .jxbs-nav-label {
    color: #e67e22;
}
.jxbs-nav-item-wrap .jxbs-nav-item {
    padding-right: 10px;
}
.jxbs-nav-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.jxbs-icon-target {
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='12' cy='12' r='6'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='12' cy='12' r='6'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3C/svg%3E") center/contain no-repeat;
}
.jxbs-nav-item.active .jxbs-icon-target {
    color: #A62840;
}
.jxbs-icon-chart {
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M18 20V10'/%3E%3Cpath d='M12 20V4'/%3E%3Cpath d='M6 20v-6'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M18 20V10'/%3E%3Cpath d='M12 20V4'/%3E%3Cpath d='M6 20v-6'/%3E%3C/svg%3E") center/contain no-repeat;
}
.jxbs-icon-swords {
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M14.5 17.5L3 6V3h3l11.5 11.5'/%3E%3Cpath d='M13 6l6-3 3 3-3 6-3-3'/%3E%3Cpath d='M9.5 17.5L21 9v3l-11.5 11.5'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M14.5 17.5L3 6V3h3l11.5 11.5'/%3E%3Cpath d='M13 6l6-3 3 3-3 6-3-3'/%3E%3Cpath d='M9.5 17.5L21 9v3l-11.5 11.5'/%3E%3C/svg%3E") center/contain no-repeat;
}
.jxbs-nav-badge {
    background: #1D1E2A;
    color: #e67e22;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 999px;
    line-height: 1.2;
}
.jxbs-nav-item.active .jxbs-nav-badge {
    background: rgba(0,0,0,0.3);
    color: #fff;
}
.jxbs-nav-chevron {
    width: 14px;
    height: 14px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-left: 2px;
}
.jxbs-nav-dot {
    position: absolute;
    top: 6px;
    right: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #A62840;
    display: none;
}
.jxbs-nav-item.active .jxbs-nav-dot {
    display: block;
}

/* Utilidades derecha: ? / campana / perfil / salir — siempre en fila */
.jxbs-utils {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 4px;
    background: #1D1E2A;
    padding: 6px 8px;
    border-radius: 10px;
    flex-shrink: 0;
}
.jxbs-util-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s;
    position: relative;
}
.jxbs-util-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}
.jxbs-utils .dropdown {
    display: inline-flex !important;
}
.jxbs-util-icon {
    width: 20px;
    height: 20px;
}
.jxbs-util-bell .jxbs-util-dot,
.jxbs-util-profile .jxbs-util-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #A62840;
}
.jxbs-util-profile .jxbs-util-dot {
    display: none;
}

@media (max-width: 991px) {
    .jxbs-header .jxbs-header-inner {
        flex-wrap: wrap !important;
    }
    .jxbs-nav {
        margin-left: 0;
        flex-wrap: nowrap !important;
    }
    .jxbs-nav .jxbs-nav-label {
        display: none;
    }
    .jxbs-nav-item {
        padding: 8px 10px;
    }
    .jxbs-nav-badge {
        display: none;
    }
}

/* Panel Arsenal del Guerrero (dropdown Armas) */
.jxbs-arsenal-panel.dropdown-menu {
    background: #1c1c1c !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 12px !important;
}
.jxbs-arsenal-panel .dropdown-item {
    color: inherit !important;
}
.jxbs-arsenal-panel a[href]:hover {
    opacity: 0.9;
} 