/* Global custom select (OS-style) for hoxta theme pages */
html body .hxo-gs-wrap {
    position: relative;
    width: 100%;
}

html body .hxo-gs-trigger {
    width: 100%;
    min-height: 44px;
    border-radius: 12px;
    border: 1.5px solid rgba(25, 195, 255, 0.34);
    background: rgba(25, 195, 255, 0.06);
    color: #e8eef5;
    font-weight: 700;
    font-size: 0.84rem;
    line-height: 1.35;
    padding: 0.65rem 2.4rem 0.65rem 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

html body .hxo-gs-wrap.open .hxo-gs-trigger,
html body .hxo-gs-trigger:focus {
    border-color: rgba(25, 195, 255, 0.55);
    background: rgba(25, 195, 255, 0.085);
    box-shadow: 0 0 0 3px rgba(25, 195, 255, 0.07);
    outline: none;
}

html body .hxo-gs-label {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html body .hxo-gs-chevron {
    position: absolute;
    right: 0.78rem;
    top: 50%;
    margin-top: -0.36rem;
    font-size: 0.55rem;
    color: #19c3ff;
    transition: transform 0.2s;
    pointer-events: none;
}

html body .hxo-gs-wrap.open .hxo-gs-chevron {
    transform: rotate(180deg);
}

html body .hxo-gs-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 0.28rem;
    background: linear-gradient(180deg, #071126 0%, #050d1d 100%);
    border: 1px solid rgba(25, 195, 255, 0.26);
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.6);
    padding: 0.3rem 0;
    max-height: min(48vh, 300px);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 650;
    scrollbar-width: thin;
    scrollbar-color: rgba(25, 195, 255, 0.42) rgba(9, 18, 36, 0.7);
}

html body .hxo-gs-menu::-webkit-scrollbar {
    width: 8px;
}

html body .hxo-gs-menu::-webkit-scrollbar-track {
    background: rgba(9, 18, 36, 0.72);
    border-left: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 10px;
}

html body .hxo-gs-menu::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(25, 195, 255, 0.5) 0%, rgba(14, 165, 233, 0.4) 100%);
    border: 1px solid rgba(25, 195, 255, 0.3);
    border-radius: 10px;
}

html body .hxo-gs-menu::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(45, 212, 255, 0.6) 0%, rgba(25, 195, 255, 0.5) 100%);
    border-color: rgba(45, 212, 255, 0.36);
}

html body .hxo-gs-wrap.open .hxo-gs-menu {
    display: block;
}

html body .hxo-gs-item {
    padding: 0.56rem 0.85rem;
    color: #e8eef5;
    font-size: 0.79rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    user-select: none;
    transition: background-color 0.16s ease, color 0.16s ease;
}

html body .hxo-gs-item:last-child {
    border-bottom: none;
}

html body .hxo-gs-item:hover {
    background: rgba(25, 195, 255, 0.11);
    color: #fff;
}

html body .hxo-gs-item.is-selected {
    background: linear-gradient(180deg, rgba(25, 195, 255, 0.18) 0%, rgba(25, 195, 255, 0.1) 100%);
    color: #fff;
    border-bottom-color: rgba(25, 195, 255, 0.22);
}

html body select.hxo-gs-native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
