﻿
body, html {
    color: #fff;
}
.right_col {
    width: 100%;
    margin: 0 auto;
    background: rgba(30, 30, 30, 0.9);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 10px;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}




/*table message*/
.rwd-table {
    width: 100%;
    border-collapse: collapse;
    background: #1b1b1b;
    color: #d8d8d8;
    font-size: 13px;
    border: 1px solid #303030;
    border-radius: 8px;
    overflow: hidden;
}

    /* Header */
    .rwd-table thead th {
        background: #2a2a2a;
        color: #cfcfcf;
        font-size: 13px;
        font-weight: 600;
        padding: 10px 12px;
        border-bottom: 1px solid #404040;
        text-align: left;
    }

/* Rows */
#messages tr:nth-child(odd) {
    background: #1b1b1b;
}

#messages tr:nth-child(even) {
    background: #212121;
}

#messages tr:hover {
    background: #2d2d2d;
}

/* Cells */
#messages td {
    padding: 10px 12px;
    border-top: 1px solid #2f2f2f;
    color: #d0d0d0;
    font-size: 13px;
}

    /* Title */
    #messages td:first-child {
        color: #f2f2f2;
        font-weight: 500;
    }

    /* Date */
    #messages td:nth-child(2) {
        color: #9e9e9e;
        width: 110px;
        white-space: nowrap;
    }

    /* Content */
    #messages td:last-child {
        color: #bdbdbd;
    }

.right_title {
    color: #fff !important;
    font-size: 22px;
    font-weight: 500;
    border-left: 5px solid #fff !important;
    padding-left: 10px;
    margin-bottom:5px;
}

.content-section {
    background:none !important;
}

#triangle1 {
    border-right: 20px solid var(--bg);
    border-left: 20px solid var(--bg);
   
}

.top-cyc-d3 {
    font-size: 14px;
}
.top-cyc {
    box-shadow:none !important;
}

.content {
    flex: 1;
    min-width: 0;
    padding-top: 72px !important;
}



/*table*/

/* Tabs Container */
.nav-tabs {
    display: flex;
    gap: 6px;
    border-bottom: 1px solid #2d3748;
    background: #161b22;
    padding: 8px 8px 0;
    margin-bottom: 15px;
}

    /* Tab Item */
    .nav-tabs > li {
        margin-bottom: -1px;
    }

        /* Tab Link */
        .nav-tabs > li > a {
            display: block;
            padding: 12px 20px;
            color: #fff !important;
            background: #1f2937;
            border: 1px solid #2d3748;
            border-bottom: none;
            border-radius: 8px 8px 0 0;
            text-decoration: none;
            font-size: 13px;
            font-weight: 500;
            transition: all 0.25s ease;
        }

            /* Hover */
            .nav-tabs > li > a:hover,
            .nav-tabs > li > a:focus {
                background: #283548;
                color: #ffffff;
                border-color: #3b4a60;
            }

        /* Active Tab */
        .nav-tabs > li.active > a,
        .nav-tabs > li.active > a:hover,
        .nav-tabs > li.active > a:focus {
            background: #2d3748;
            color: #60a5fa;
            border-color: #3b4a60;
            border-bottom: 1px solid #2d3748;
            font-weight: 600;
            box-shadow: inset 0 3px 0 #60a5fa;
        }

/* Mobile */
@media (max-width: 768px) {
    .nav-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        white-space: nowrap;
    }

        .nav-tabs > li > a {
            padding: 10px 14px;
            font-size: 12px;
        }
}
.nav-tabs,
.nav-tabs li {
    list-style: none !important;
}

/*report*/
/* ===== TABLE DARK THEME ===== */
.table-striped-result {
    background: #1b1e24;
    color: #fff;
}

    .table-striped-result tr {
        background: #1b1e24;
        color: #fff;
    }

        /* Zebra */
        .table-striped-result tr.normal:nth-child(odd) {
            background: #232833;
        }

        .table-striped-result tr.normal:nth-child(even) {
            background: #1b1e24;
        }

        /* Hover */
        .table-striped-result tr.normal:hover {
            background: #2f3644;
            transition: 0.2s;
        }

    /* Cell */
    .table-striped-result td {
        color: #fff !important;
        border-color: #3b4252 !important;
        background: transparent !important;
        font-size: 13px;
        vertical-align: middle;
    }

        /* Span bên trong */
        .table-striped-result td span {
            color: #fff !important;
        }

    /* Số dương */
    .table-striped-result .blue {
        color: #4da3ff !important;
        font-weight: 600;
    }

    /* Số âm */
    .table-striped-result .red {
        color: #ff6b6b !important;
        font-weight: 600;
    }

    /* Summary row */
    .table-striped-result .summaryRow {
        background: #303846 !important;
        border-top: 2px solid #4da3ff;
    }

        .table-striped-result .summaryRow td {
            background: #303846 !important;
            color: #fff !important;
            font-weight: 600;
        }

    /* Alignment */
    .table-striped-result .right {
        text-align: right;
    }

    .table-striped-result .center {
        text-align: center;
    }

    /* Mobile label */
    .table-striped-result td:before {
        color: #b8c0cc !important;
        font-weight: 600;
    }



.content-container {
    margin-top:0px !important;
}

.eth_explain ul li {
    background-color: #303030 !important;
}


.wrapper span, .coinbg, .coinbg .top-eth div, legend {
    font-size: 14px !important;
    color: #fff !important;
}

ul li::marker,
ol li::marker {
    display: none;
    content: "";
}

.dep-method li a:hover {
    color: #4da3ff !important;
    transition: 0.2s;
}

.coinbg, .coinbg .top-eth div span {
    color: #fff !important;
}

.dep-method {
    border: 1px solid #2a2e39;
}

    .dep-method li, legend {
        border-bottom: 1px solid #2a2e39 !important;
    }

/* Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: #3a4456 #131722;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #131722;
}

::-webkit-scrollbar-thumb {
    background: #3a4456;
    border-radius: 999px;
    border: 2px solid #131722;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #4b5568;
    }

    ::-webkit-scrollbar-thumb:active {
        background: #5b667c;
    }

::-webkit-scrollbar-corner {
    background: #131722;
}

/*service-fixed-header*/
.service-widget-icon {
    position: fixed;
    top: 95px;
    right: 65px;
    z-index: 9999;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: green;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,.3);
    transition: all .2s ease;
}

    .service-widget-icon:hover {
        transform: scale(1.08);
    }
.content-section4, .content-section5 {
    background: none;
}
.content-section5 {
    border-top: 1px solid #2a2e39;
}

.content-section4 a:nth-child(1) .help , .help{
    border:none;
    color: #fff;
}
a {
    color: #fff !important;
}

/*faq*/
/* ===== FAQ ACCORDION – DARK THEME ===== */
:root {
    --faq-bg: #0f1117;
    --faq-surface: #1a1d27;
    --faq-surface-hover: #21253a;
    --faq-surface-active: #1e2235;
    --faq-border: rgba(255, 255, 255, 0.07);
    --faq-border-active: rgba(99, 102, 241, 0.5);
    --faq-accent: #6366f1; /* indigo – đổi sang màu brand của bro */
    --faq-text-primary: #e8eaf0;
    --faq-text-secondary: #9194a3;
    --faq-text-body: #b0b3c4;
    --faq-radius: 10px;
}

/* Panel wrapper */
.panel-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.panel {
    background: var(--faq-surface);
    border: 0.5px solid var(--faq-border);
    border-radius: var(--faq-radius);
    overflow: hidden;
    transition: border-color 0.2s, background 0.2s;
}

    /* Highlight panel đang mở */
    .panel:has(.panel-collapse.in) {
        border-color: var(--faq-border-active);
        background: var(--faq-surface-active);
    }

/* Tiêu đề */
.panel-title a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    color: var(--faq-text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    gap: 12px;
    transition: color 0.2s;
}

    .panel-title a:hover {
        color: #fff;
    }

    /* Chevron icon bằng CSS thuần */
    .panel-title a::after {
        content: '';
        width: 16px;
        height: 16px;
        flex-shrink: 0;
        border-right: 1.5px solid var(--faq-text-secondary);
        border-bottom: 1.5px solid var(--faq-text-secondary);
        transform: rotate(45deg) translateY(-3px);
        transition: transform 0.25s ease, border-color 0.2s;
    }

    .panel-title a[aria-expanded="true"]::after {
        transform: rotate(-135deg) translateY(-3px);
        border-color: var(--faq-accent);
    }

    .panel-title a[aria-expanded="true"] {
        color: #fff;
    }

/* Collapse animation */
.panel-collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

    .panel-collapse.in {
        max-height: 500px;
    }

/* Nội dung */
.panel-body {
    padding: 14px 18px 16px;
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--faq-text-body);
    border-top: 0.5px solid var(--faq-border);
}

    .panel-body p {
        margin-top: 8px;
    }

        .panel-body p:first-child {
            margin-top: 0;
        }

.panel-collapse {
    transition: height 0.3s ease;
}

    /* Xóa transition height đi, dùng cách này thay */
    .panel-collapse.collapsing {
        transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        max-height: 600px;
        overflow: hidden;
    }

    .panel-collapse.collapse {
        display: block;
        max-height: 0 !important;
        overflow: hidden;
        transition: max-height 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }

        .panel-collapse.collapse.in {
            max-height: 600px !important;
        }

        /*nav faq*/
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    background: none;
}

/* Reset active style trên button */
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background: none;
    color: #fff;
}

/* Highlight thẻ <li> cha khi chứa button active */
.nav-pills .nav-item:has(.nav-link.active) {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6
{
    color:#fff;
}

.content-deposit-help h3, .content-withdraw-help h3 {
    color: #f46334;
}

.content-report .nav-tabs > li {
    padding: 0px !important;
}

    .content-report .nav-tabs > li > a {
        background: #1a2233 !important;
        color: #a0aec0 !important;
        border-color: #3b4a60 !important;
        border-bottom: 1px solid #1a2233 !important;
        font-weight: 400 !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        line-height: 42px !important;
        transition: color 0.2s, background 0.2s !important;
        text-shadow: none !important;
        font-size: 15px !important;
    }

    .content-report .nav-tabs > li > a:hover,
    .content-report .nav-tabs > li > a:focus {
        background: #232f42 !important;
        color: #e2e8f0 !important;
        border-color: #3b4a60 !important;
        border-bottom: 1px solid #232f42 !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

.content-report .text-shadow {
    text-shadow:none;
}

.content-service .social img {
    width: 50% !important;
}

/*Mobile*/
@media screen and (max-width: 770px) {
    .content {
        padding-top: 0px !important;
    }
    .service-widget-icon {
        display: none;
    }
    .foot_word {
        margin-bottom: 60px !important;
    }
    .padding_top189, .content-member-center {
        padding-top: 70px !important;
    }

    .egame_content_row img {
        width: 80% !important;
    }
}


.game_introduce {
    color: #fff;
}
.egame_left_title {
    color: yellow;
}

/*sectiom*/
.egame_content_row {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    background: #1a1a1f;
    border-radius: 12px;
    padding: 12px 8px;
    box-shadow: inset 0px 2px 8px 0px rgba(0,0,0,0.6);
}

.content_row_inner {
    display: inline-flex;
    gap: 10px;
}

.content_row_game {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
   /* width: 90px;*/
    padding: 10px 6px;
    border-radius: 8px;
    background: #2a2a32;
    border: 0.5px solid rgba(255,255,255,0.08);
    text-decoration: none;
    transition: background .15s, transform .15s;
}

    .content_row_game:hover {
        background: #36363f;
        transform: translateY(-2px);
    }

/*.row_game_bgcolor {
    background: #555657;
    border: 0.5px solid rgba(127,119,221,0.35);
}*/

.game_row_logo {
   
    object-fit: contain;
    margin-bottom: 6px;

  
}

.row_game_title {
    font-size: 12px;
    color: #e8e6f0;
    text-align: center;
    white-space: normal;
    line-height: 1.3;
}
.egame_content_row .content_row_game.row_game_bgcolor,
.egame_content_row .content_row_game.active {
    background: #1e3a5f !important;
    border: 0.5px solid rgba(55,138,221,0.5) !important;
}

    .egame_content_row .content_row_game.row_game_bgcolor .row_game_title,
    .egame_content_row .content_row_game.active .row_game_title {
        color: #85b7eb !important;
    }


@media (max-width: 768px) {
    .collapse-btn {
        display: none;
    }
    .sidebar-wrapper {
        position: fixed;
       
    }
    #langDropdown {
        bottom:65px;
        
    }

    .actions button.btn-signup {
        display: none !important;
    }
    .actions a.menu-link:first-child {
        display: none !important;
    }

    .sidebar {       
        padding-bottom: 90px;
    }


}

@media (max-width: 1024px) {
    .sidebar {
        padding-bottom: 90px;
    }
}

    .foot_word {
        font-size: 13px;
    }



    /*update new style slot*/
/* Override cho menu vendor */
/* Container menu ngang */
.pc_type {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    gap: 12px !important;
    padding: 10px 0 !important;
   
}

/* Item menu mặc định */
.game-select, .game-select-disabled {
    flex: 0 0 auto !important;
    background: #1a1a1a; /* nền tối đồng bộ */
    border: none; /* mặc định không border */
    border-radius: 6px; /* hình chữ nhật bo nhẹ */
    padding-left:5px;
    text-align: center;
    cursor: pointer;
    min-width: 120px;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

    /* Khi active mới có border xanh biển */
    .game-select.active {
        border: 2px solid #00aaff; /* border xanh biển */
        box-shadow: 0 0 10px rgba(0,170,255,0.5);
    }

/* Logo */


/* Tên nhà cung cấp hiển thị dưới logo */
.game-select::after,
.game-select-disabled::after {
    content: attr(gamename);
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #eee; /* chữ sáng trên nền tối */
   
}

/* Responsive: ẩn menu trên mobile */
@media (max-width: 768px) {
    .pc_type {
        display: none !important;
    }
}


/* Container cho logo + tên */
.game-item-row {
    display: flex;
    align-items: center; /* căn giữa theo chiều dọc */
    justify-content: center;
    gap: 8px; /* khoảng cách giữa logo và tên */
}

/* Logo */
.game_left_logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}




.game-choose {
    height: 270px !important;
}

/*form sport lobby*/
/* Chỉ áp dụng khi nằm trong .game-sport */
.game-sport #game_container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.game-sport .content_row_game {
    width: 220px; /* tăng kích thước */
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.game-sport .game_row_logo {
    max-width: 140px; /* logo lớn hơn */
    max-height: 140px;
    object-fit: contain;
    height: 140px !important;
}

.game-sport .row_game_title {
    margin-top: 12px;
    font-size: 20px; /* chữ to hơn */
    font-weight: 600;
    text-align: center;
}

.game-sport .content_row_game {
    background: #132f4c;
    border: 1px solid #1e4976;
    border-radius: 12px;
    transition: all 0.3s ease;
}

    .game-sport .content_row_game:hover {
        background: #1a3d63;
        border-color: #2a5c92;
        transform: translateY(-3px);
    }