/* PC-ONLY NAVBAR STYLES - Desktop layout only */

.technex-navbar {
    width: 100% !important;
    max-width: 100vw !important;
    min-height: 64px !important;
    left: 0 !important;
    right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transform: none !important;
    display: flex !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

.nav-container-inner {
    width: 100% !important;
    max-width: 1280px !important;
    min-height: 64px !important;
    margin: 0 auto !important;
    padding: 0 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    flex-wrap: nowrap !important;
    min-width: 0 !important;
    overflow: visible !important;
}

.nav-left-group {
    overflow: visible !important;
    display: flex !important;
    align-items: center !important;
    gap: 40px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.nav-right-group {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-width: 0 !important;
    overflow: visible !important;
}

.nav-item-link,
.dropdown-toggle {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    color: rgba(0, 0, 0, 0.55) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    padding: 8px 0 !important;
    cursor: pointer !important;
    border: none !important;
    background: transparent !important;
    transition: color 0.3s ease !important;
    isolation: isolate !important;
}

.nav-item-link::after,
.dropdown-toggle::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    width: 0 !important;
    height: 2px !important;
    background: #5b5ff8 !important;
    border-radius: 999px !important;
    transition: width 0.3s ease, left 0.3s ease !important;
}

.nav-item-link:hover,
.dropdown-toggle:hover,
.nav-item-link.active,
.dropdown-toggle.active {
    color: #111827 !important;
}

.nav-item-link:hover::after,
.dropdown-toggle:hover::after,
.nav-item-link.active::after,
.dropdown-toggle.active::after {
    left: 0 !important;
    width: 100% !important;
}

.dropdown-menu {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    transform: translateY(0) !important;
    min-width: 240px !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 16px !important;
    padding: 8px !important;
    margin-top: 8px !important;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08) !important;
    z-index: 100020 !important;
    pointer-events: auto !important;
    transform-origin: top left !important;
}

.dropdown-menu::before {
    content: '' !important;
    position: absolute !important;
    top: -12px !important;
    left: 0 !important;
    right: 0 !important;
    height: 12px !important;
    background: transparent !important;
}

.has-dropdown {
    position: relative !important;
    z-index: 2 !important;
}

.has-dropdown:hover,
.has-dropdown.open,
.has-dropdown:focus-within {
    z-index: 100050 !important;
}

.has-dropdown::after {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 100% !important;
    height: 16px !important;
    background: transparent !important;
    pointer-events: auto !important;
}

@media (max-width: 1080px) {
    .has-dropdown.open .dropdown-menu:not(.nav-dropdown-portal) {
        display: block !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
        animation: navDropdownFadeIn 0.22s cubic-bezier(0.22, 1, 0.36, 1) !important;
    }
}

@keyframes navDropdownFadeIn {
    from { opacity: 0; transform: translateY(6px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.nav-item-link,
.dropdown-toggle {
    white-space: nowrap !important;
}

@media (min-width: 1081px) and (max-width: 1280px) {
    .nav-container-inner {
        gap: 12px !important;
        padding: 0 20px !important;
    }
    .nav-left-group {
        gap: 24px !important;
    }
    .technex-menu {
        gap: clamp(12px, 1.8vw, 28px) !important;
    }
    .nav-item-link,
    .dropdown-toggle {
        font-size: 13px !important;
    }
    .nav-search-zone {
        min-width: 140px !important;
        max-width: 240px !important;
        flex: 0 1 200px !important;
    }
    .nav-right-section {
        gap: 10px !important;
        flex-shrink: 0 !important;
    }
}

@media (min-width: 1081px) {
    .has-dropdown:hover .dropdown-menu:not(.nav-dropdown-portal),
    .has-dropdown:focus-within .dropdown-menu:not(.nav-dropdown-portal),
    .has-dropdown.open .dropdown-menu:not(.nav-dropdown-portal) {
        display: none !important;
    }

    .dropdown-menu.nav-dropdown-portal {
        display: none !important;
        position: fixed !important;
        top: var(--technex-nav-panel-top, var(--technex-header-height, 64px)) !important;
        left: var(--technex-nav-panel-left, 16px) !important;
        right: auto !important;
        min-width: 240px !important;
        width: max-content !important;
        max-width: min(420px, calc(100vw - 24px)) !important;
        margin: 0 !important;
        padding: 4px !important;
        transform: none !important;
        background: #ffffff !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 14px !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
        z-index: 1000001 !important;
        opacity: 1 !important;
        box-sizing: border-box !important;
        list-style: none !important;
        transform-origin: top left !important;
    }

    .dropdown-menu.nav-dropdown-portal.is-open {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        pointer-events: auto !important;
        overflow: visible !important;
        max-height: none !important;
        clip: auto !important;
        clip-path: none !important;
        animation: navDropdownPanelIn 0.24s cubic-bezier(0.22, 1, 0.36, 1) !important;
    }

    .dropdown-menu.nav-dropdown-portal li {
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .dropdown-menu.nav-dropdown-portal .dropdown-item {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100% !important;
        padding: 6px 10px !important;
        font-size: 13px !important;
        line-height: 1.25 !important;
        color: #374151 !important;
        border-radius: 6px !important;
        border: none !important;
        background: transparent !important;
        text-decoration: none !important;
        box-sizing: border-box !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        transition: background-color 0.2s ease, color 0.2s ease !important;
    }

    .dropdown-menu.nav-dropdown-portal .dropdown-item:hover {
        background: #f3f4f6 !important;
        color: #111827 !important;
    }

    .dropdown-menu.nav-dropdown-portal .dropdown-item.disabled,
    .dropdown-menu.nav-dropdown-portal .dropdown-item.disabled:hover {
        color: #9ca3af !important;
        background: transparent !important;
        cursor: not-allowed !important;
        pointer-events: none !important;
    }

    .dropdown-menu.nav-dropdown-portal::before {
        display: none !important;
    }

    .technex-navbar.nav-menu-dropdown-open {
        z-index: 1000000 !important;
        overflow: visible !important;
        contain: none !important;
    }

    body.technex-nav-dropdown-active .technex-navbar,
    body.technex-nav-dropdown-active .technex-navbar .nav-container-inner,
    body.technex-nav-dropdown-active .technex-navbar .nav-left-group,
    body.technex-nav-dropdown-active .technex-navbar .technex-menu,
    body.technex-nav-dropdown-active .technex-navbar .has-dropdown {
        overflow: visible !important;
    }

    .technex-navbar {
        position: fixed !important;
    }
}

@keyframes navDropdownPanelIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.arrow-icon-mobile {
    display: none !important;
}

.dropdown-item {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    position: relative !important;
    z-index: 1 !important;
    padding: 10px 12px !important;
    color: #374151 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    border-radius: 10px !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease, color 0.2s ease !important;
}

.dropdown-item:hover,
.dropdown-item.disabled:hover {
    background: #f3f4f6 !important;
    color: #111827 !important;
}

.dropdown-item.disabled {
    color: #9ca3af !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}


.nav-search-zone {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 200px !important;
    max-width: 320px !important;
    flex: 1 1 auto !important;
    flex-shrink: 1 !important;
}

@media (max-width: 1080px) {
    .nav-search-zone {
        display: none !important;
    }
}

.nav-search-box {
    display: flex !important;
    width: 100% !important;
    position: relative !important;
}

.nav-search-trigger-wrap {
    width: 100% !important;
}

.nav-search-trigger {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    min-height: 32px !important;
    padding: 0 8px 0 10px !important;
    border: 1px solid #d0d7de !important;
    border-radius: 6px !important;
    background: color(srgb 1 1 1) !important;
    color: #656d76 !important;
    cursor: pointer !important;
    text-align: left !important;
    box-shadow: none !important;
    outline: none !important;
    transition: border-color 0.15s ease, background-color 0.15s ease !important;
}

.nav-search-trigger:hover,
.nav-search-trigger:focus-visible {
    border-color: #8c959f !important;
    background: #ffffff !important;
}

.nav-search-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #656d76 !important;
    flex-shrink: 0 !important;
}

.nav-search-placeholder {
    flex: 1 !important;
    font-size: 14px !important;
    color: #656d76 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.nav-search-hotkey {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 20px !important;
    height: 20px !important;
    padding: 0 4px !important;
    border: 1px solid #d0d7de !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    color: #656d76 !important;
    font-size: 12px !important;
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
}

.nav-search-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 100100 !important;
    pointer-events: none !important;
}

.nav-search-overlay[hidden] {
    display: none !important;
}

.nav-search-overlay:not([hidden]) {
    pointer-events: auto !important;
}

.nav-search-backdrop {
    position: absolute !important;
    inset: 0 !important;
    background: rgb(255 255 255 / 0%) !important;
}

.nav-search-dialog {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    top: 0 !important;
    background: #ffffff !important;
    border: 1px solid #d0d7de !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-radius: 0 0 16px 16px !important;
    box-shadow: 0 16px 32px rgba(27, 31, 36, 0.12), 0 0 0 1px rgba(27, 31, 36, 0.05) !important;
    overflow: hidden !important;
    z-index: 1 !important;
    transform: none !important;
}

.nav-search-form {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 12px 14px !important;
    border-bottom: 1px solid #d0d7de !important;
}

.nav-search-body {
    padding: 8px 0 4px !important;
}

.nav-search-explore-label {
    padding: 8px 16px 4px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #656d76 !important;
}

.nav-search-explore-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-search-explore-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 16px !important;
    text-decoration: none !important;
    color: #1f2328 !important;
    transition: background-color 0.12s ease !important;
}

.nav-search-explore-item:hover {
    background: #f6f8fa !important;
}

.nav-search-explore-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 16px !important;
    height: 16px !important;
    color: #656d76 !important;
    flex-shrink: 0 !important;
}

.nav-search-explore-title {
    flex: 1 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1f2328 !important;
}

.nav-search-explore-more {
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #0969da !important;
    flex-shrink: 0 !important;
}

.nav-search-footer {
    display: flex !important;
    align-items: center !important;
    padding: 10px 16px 12px !important;
    border-top: 1px solid #d0d7de !important;
}

.nav-search-footer-link {
    font-size: 12px !important;
    color: #0969da !important;
    text-decoration: none !important;
}

.nav-search-footer-link:hover {
    text-decoration: underline !important;
}

.nav-search-input {
    flex: 1 !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    color: #1f2328 !important;
    font-size: 16px !important;
    line-height: 24px !important;
}

.nav-search-input::placeholder {
    color: #656d76 !important;
}

.nav-search-clear {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 6px !important;
    background: transparent !important;
    color: #656d76 !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
}

.nav-search-clear:hover {
    background: rgba(175, 184, 193, 0.2) !important;
    color: #1f2328 !important;
}

.nav-search-clear[hidden] {
    display: none !important;
}

body.nav-search-open {
    overflow: hidden !important;
}

.nav-right-section {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
    justify-content: flex-end !important;
}

@media (max-width: 1080px) {
    .nav-right-section {
        display: none !important;
    }
}

.menu-toggle {
    display: none !important;
}

.nav-right-guest {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
}

.nav-right-group .nav-right-guest .btn-signup,
.nav-right-group .nav-right-guest .technex-login-btn,
#pcAuthBlock .btn-signup,
#pcAuthBlock .technex-login-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 36px !important;
    padding: 0 16px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 20px !important;
    font-family: inherit !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: background-color .2s ease, color .2s ease !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    cursor: pointer !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

/* Mặc định — Đăng Ký text, Đăng Nhập nút tím */
.nav-right-group .nav-right-guest .btn-signup,
#pcAuthBlock .btn-signup {
    background: transparent !important;
    color: #111827 !important;
}

.nav-right-group .nav-right-guest .technex-login-btn,
#pcAuthBlock .technex-login-btn {
    background: #5B5FF8 !important;
    color: #ffffff !important;
    font-weight: 500 !important;
    border-radius: 10px !important;
    height: 40px !important;
    padding: 0 24px !important;
}

/* Hover/active Đăng Nhập */
.nav-right-group .nav-right-guest .technex-login-btn:hover,
.nav-right-group .nav-right-guest .technex-login-btn:active,
.nav-right-group .nav-right-guest .technex-login-btn:focus-visible,
#pcAuthBlock .technex-login-btn:hover,
#pcAuthBlock .technex-login-btn:active,
#pcAuthBlock .technex-login-btn:focus-visible {
    background: #4f53df !important;
    color: #ffffff !important;
}

/* Hover/active Đăng Ký */
.nav-right-group .nav-right-guest .btn-signup:hover,
.nav-right-group .nav-right-guest .btn-signup:active,
.nav-right-group .nav-right-guest .btn-signup:focus-visible,
#pcAuthBlock .btn-signup:hover,
#pcAuthBlock .btn-signup:active,
#pcAuthBlock .btn-signup:focus-visible {
    background: #ececf0 !important;
    color: #111827 !important;
}

.avatar-trigger-box {
    width: 35px !important;
    height: 35px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    border: 1px solid #e5e7eb !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.2s ease !important;
}

.technex-navbar.navbar-logged-in .avatar-trigger-box {
    opacity: 1 !important;
    visibility: visible !important;
}

.avatar-trigger-box:hover {
    transform: translateY(-1px) !important;
    border-color: #e4e4e4 !important;
}

.nav-avatar-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

@media (min-width: 1081px) {
.profile-dropdown-window {
    display: block !important;
    position: absolute !important;
    top: 50px !important;
    right: 0 !important;
    width: 420px !important;
    min-width: 380px !important;
    max-width: calc(100vw - 24px) !important;
    padding: 18px !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1) !important;
    z-index: 100095 !important;
    box-sizing: border-box !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(8px) scale(0.97) !important;
    transform-origin: top right !important;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease, visibility 0.28s ease !important;
}
.profile-dropdown-window.show {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
}
}

.dropdown-inner-flex {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
    width: 100% !important;
}

.dropdown-left-meta {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    width: 100% !important;
    flex-shrink: 0 !important;
    gap: 12px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #f3f4f6 !important;
}

.dropdown-user-avatar {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid #e5e7eb !important;
    margin-bottom: 0 !important;
    flex-shrink: 0 !important;
}

.user-name-meta-block {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}

.user-name-meta-block strong {
    font-size: 13px !important;
    color: #111827 !important;
    word-break: break-all !important;
    line-height: 1.3 !important;
}

.user-name-meta-block span {
    font-size: 11px !important;
    color: #9ca3af !important;
    margin-top: 2px !important;
}

.profile-dropdown-window .dropdown-right-links {
    flex-grow: 1 !important;
    border-left: none !important;
    padding-left: 0 !important;
    width: 100% !important;
}

.profile-dropdown-window .dropdown-links-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.profile-dropdown-window .dropdown-links-list li a,
.profile-dropdown-window .menu-language-selector-row {
    display: flex !important;
    align-items: center !important;
    padding: 11px 14px !important;
    font-size: 13px !important;
    color: #374151 !important;
    border-radius: 6px !important;
    border: 1px solid #e5e7eb !important;
    background: #f9fafb !important;
    text-align: left !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
}

.profile-dropdown-window .dropdown-links-list li a:hover {
    background: #f3f4f6 !important;
    color: #111827 !important;
}

.logout-divider-line {
    height: 1px !important;
    background: #f3f4f6 !important;
    margin: 6px 0 !important;
    width: 100% !important;
}

.menu-logout-action {
    color: #ef4444 !important;
}

.menu-logout-action:hover {
    background: rgba(239, 68, 68, 0.06) !important;
}

.profile-dropdown-window .menu-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    color: #374151 !important;
    margin-right: 8px !important;
}

.profile-dropdown-window .menu-logout-action .menu-icon {
    color: inherit !important;
}

.profile-dropdown-window .menu-icon svg,
.profile-dropdown-window .menu-icon svg circle,
.profile-dropdown-window .menu-icon svg path,
.profile-dropdown-window .menu-icon svg polyline,
.profile-dropdown-window .menu-icon svg line {
    stroke: currentColor !important;
    fill: none !important;
}

.profile-dropdown-window .menu-language-selector-row .menu-icon {
    color: #374151 !important;
    margin-right: 0 !important;
}

.profile-dropdown-window .menu-icon svg {
    display: block !important;
}

.profile-dropdown-window .profile-dropdown-role-label {
    color: #374151 !important;
    opacity: 0.85 !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
}

.profile-dropdown-role-label.role-admin { color: var(--technex-role-admin, #ff0000) !important; font-weight: 700 !important; }
.profile-dropdown-role-label.role-manager { color: var(--technex-role-manager, #ff7600) !important; font-weight: 700 !important; }
.profile-dropdown-role-label.role-user-active { color: var(--technex-role-user-plus, #a24aff) !important; font-weight: 700 !important; }
.profile-dropdown-role-label.role-user { color: var(--technex-role-user-base, #0087ff) !important; font-weight: 700 !important; }

.profile-dropdown-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
}

.profile-dropdown-header strong {
    color: #111827 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

.profile-dropdown-header span {
    color: #9ca3af !important;
    font-size: 12px !important;
}

.profile-action-link,
.profile-action-button {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    padding: 10px 14px !important;
    border-radius: 10px !important;
    border: 1px solid #e5e7eb !important;
    background: #f9fafb !important;
    color: #374151 !important;
    text-decoration: none !important;
    font-size: 13px !important;
}

.profile-action-link:hover,
.profile-action-button:hover {
    background: #f3f4f6 !important;
}

.profile-dropdown-card {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px !important;
    background: #f9fafb !important;
    border-radius: 12px !important;
    margin-bottom: 10px !important;
}

.profile-dropdown-card-avatar {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 1px solid #e5e7eb !important;
}

.profile-dropdown-card-meta {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    min-width: 0 !important;
}

.profile-dropdown-card-meta strong {
    color: #111827 !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
}

.profile-dropdown-card-meta span {
    color: #6b7280 !important;
    font-size: 12px !important;
}

.profile-dropdown-language {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin: 10px 0 !important;
}

.profile-dropdown-language-label {
    color: #6b7280 !important;
    font-size: 12px !important;
}

.profile-dropdown-language-select {
    width: 100% !important;
    background: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    color: #111827 !important;
    border-radius: 10px !important;
    padding: 10px 12px !important;
    font-size: 13px !important;
    outline: none !important;
}

.mobile-profile-avatar-wrap {
    display: none !important;
}

.mobile-search-box {
    display: none !important;
}

.mobile-auth-wrapper {
    display: none !important;
}

@media (min-width: 1081px) {
    .mobile-search-inside-menu,
    .mobile-menu-search-zone,
    .mobile-auth-search {
        display: none !important;
    }
}

.mobile-welcome-text {
    display: none !important;
}

.mobile-auth-row {
    display: none !important;
}

.mobile-signup-btn-pill,
.mobile-login-btn-pill,
.mobile-admin-btn,
.mobile-logout-btn {
    display: none !important;
}

/* ── Nav dropdown — pill hover + chevron (desktop) ── */
@media (min-width: 1081px) {
    .technex-menu {
        gap: 4px !important;
    }

    .technex-menu > li > .nav-item-link,
    .technex-menu > li > .dropdown-toggle {
        padding: 6px 16px !important;
        border-radius: 999px !important;
        color: #6b7280 !important;
        transition: color 0.3s ease !important;
    }

    .technex-menu > li > .nav-item-link:hover,
    .technex-menu > li > .nav-item-link.active,
    .has-dropdown:hover > .dropdown-toggle,
    .has-dropdown.open > .dropdown-toggle,
    .has-dropdown:focus-within > .dropdown-toggle {
        color: #111827 !important;
    }

    .technex-menu > li > .nav-item-link::before,
    .technex-menu > li > .dropdown-toggle::before {
        content: '' !important;
        position: absolute !important;
        inset: 0 !important;
        border-radius: 999px !important;
        background: #f3f4f6 !important;
        opacity: 0 !important;
        transition: opacity 0.3s ease !important;
        z-index: -1 !important;
    }

    .technex-menu > li > .nav-item-link::after,
    .technex-menu > li > .dropdown-toggle::after {
        display: none !important;
    }

    .technex-menu > li > .nav-item-link:hover::before,
    .technex-menu > li > .nav-item-link.active::before,
    .has-dropdown:hover > .dropdown-toggle::before,
    .has-dropdown.open > .dropdown-toggle::before,
    .has-dropdown:focus-within > .dropdown-toggle::before {
        opacity: 1 !important;
    }

    .has-dropdown .nav-chevron {
        display: inline-block !important;
        width: 16px !important;
        height: 16px !important;
        margin-left: 2px !important;
        flex-shrink: 0 !important;
        border: none !important;
        background-color: currentColor !important;
        opacity: 0.55 !important;
        transform: none !important;
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat !important;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat !important;
        transition: transform 0.3s ease, opacity 0.3s ease !important;
    }

    .has-dropdown:hover .nav-chevron,
    .has-dropdown.open .nav-chevron,
    .has-dropdown:focus-within .nav-chevron {
        transform: rotate(180deg) !important;
        opacity: 1 !important;
    }
}

@media (min-width: 1081px) and (prefers-reduced-motion: reduce) {
    .dropdown-menu,
    .has-dropdown .nav-chevron {
        animation: none !important;
        transition: none !important;
    }
    .dropdown-menu.nav-dropdown-portal.is-open {
        animation: none !important;
    }
}
