/* Hide non-lottery menu items in admin sidebar */

/* Method 1: Hide by checking parent containers with specific text */
/* Note: :contains is not standard CSS but left for compatibility with processed scripts if any */
.ms-navigation-node:has(*:contains("XÓC ĐĨA")),
.ms-navigation-node:has(*:contains("WM CASINO")),
.ms-navigation-node:has(*:contains("BONG88")),
.ms-navigation-node:has(*:contains("789 CASINO")) {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Method 2: Target navigation items directly */
md-list-item:has(span:contains("XÓC ĐĨA")),
md-list-item:has(span:contains("WM CASINO")),
md-list-item:has(span:contains("BONG88")),
md-list-item:has(span:contains("789 CASINO")) {
    display: none !important;
}

/* Method 3: Hide by ui-sref routes */
a[ui-sref*="xocdia"],
a[ui-sref*="wmcasino"],
a[ui-sref*="wm-casino"],
a[ui-sref*="bong88"],
a[ui-sref*="saba"],
a[ui-sref*="legend-casino"],
a[ui-sref*="789-casino"] {
    display: none !important;
}

/* Method 4: Aggressive - hide any link containing these texts */
a:has(span:contains("XÓC ĐĨA")),
a:has(span:contains("WM CASINO")),
a:has(span:contains("BONG88")),
a:has(span:contains("789 CASINO")) {
    display: none !important;
}

/* Fallback: Use attribute selectors if available */
[data-title="XÓC ĐĨA"],
[data-title="WM CASINO"],
[data-title="BONG88"],
[data-title="789 CASINO"],
[aria-label="XÓC ĐĨA"],
[aria-label="WM CASINO"],
[aria-label="BONG88"],
[aria-label="789 CASINO"],
[aria-label*="WM Casino"],
[aria-label*="789 Casino"],
[aria-label*="Bong88"] {
    display: none !important;
}

/* Hide tabs in dialogs */
md-tab-item[aria-label*="WM Casino"],
md-tab-item[aria-label*="789 Casino"],
md-tab-item[aria-label*="Bong88"],
md-tab-item[aria-label*="Saba"] {
    display: none !important;
}

/* Account parameter page override */
.my-parameter {
    background: #f3f6fa !important;
}

.my-parameter .content {
    padding: 16px !important;
}

.my-parameter .content .simple-table-container {
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.my-parameter .content .game-content {
    display: inline-flex !important;
    min-width: max-content !important;
    margin: 0 0 18px 0 !important;
    border: 1px solid #d7e2ee !important;
    border-radius: 14px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    background: #fff !important;
    box-shadow: 0 10px 24px rgba(31, 61, 96, 0.08) !important;
}

.my-parameter .content .game-content .bet-content {
    min-width: 112px !important;
    width: 112px !important;
    border-right: 1px solid #e3ebf3 !important;
    background: #f8fbff !important;
    color: #24415d !important;
    text-align: center !important;
}

.my-parameter .content .game-content .bet-content.first-class {
    min-width: 168px !important;
    width: 168px !important;
    position: sticky !important;
    left: 0 !important;
    z-index: 3 !important;
    background: #eef4fb !important;
    text-align: left !important;
}

.my-parameter .content .game-content .bet-content > div {
    min-height: 36px !important;
    padding: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1.35 !important;
    border-bottom: 1px solid #e8eef5 !important;
    white-space: normal !important;
}

.my-parameter .content .game-content .bet-content.first-class > div {
    justify-content: flex-start !important;
    font-weight: 500 !important;
    color: #35516c !important;
}

.my-parameter .content .game-content .bet-content > div.title {
    min-height: 52px !important;
    padding: 10px 8px !important;
    background: linear-gradient(180deg, #d6e7f7 0%, #c7dbf0 100%) !important;
    color: #17324d !important;
    font-weight: 700 !important;
    word-break: break-word !important;
}

.my-parameter .content .game-content .bet-content:not(.first-class) > div:nth-child(2n + 2) {
    background: #f2f7fd !important;
}

.my-parameter .content .game-content .bet-content .Infinity {
    font-size: 18px !important;
    font-weight: 700 !important;
}
