/* =====================================================================
   Game pages theme (category 2) - loaded after app-theme.css
   - .bet-page   : single_digit / double_digit / single_pana / double_pana / half_sangam / full_sangam
   - .sg-page    : select_game.php (jantary / crossing / no-tono / open)
   Only visual overrides - no layout logic that the scripts depend on.
   ===================================================================== */

/* ---------------------------------------------------------------------
   Shared: segmented tabs
   --------------------------------------------------------------------- */
body.bet-page .nav-tabs,
body.sg-page .table-nav ul {
    display: flex !important;
    gap: 6px;
    padding: 5px !important;
    margin: 0 0 16px !important;
    border: 1.5px solid #cbd9f3 !important;
    border-radius: 30px;
    background: linear-gradient(180deg, #eef3ff 0%, #e2eafb 100%);
    box-shadow: inset 0 1px 3px rgba(21, 70, 196, .12);
    list-style: none;
}

body.bet-page .nav-tabs li,
body.sg-page .table-nav ul li {
    flex: 1;
    width: auto !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

body.bet-page .nav-tabs li a,
body.sg-page .table-nav ul li {
    display: block;
    text-align: center;
    padding: 9px 6px !important;
    border-radius: 24px;
    color: #10225a !important;
    font-size: 14px;
    font-weight: 600;
    text-transform: capitalize;
    text-decoration: none !important;
    cursor: pointer;
    background: transparent;
    transition: background .2s ease;
}

body.bet-page .nav-tabs li a::before,
body.sg-page .table-nav ul li::before {
    display: none !important;
}

body.bet-page .nav-tabs li.active > a,
body.bet-page .nav-tabs li > a.active,
body.sg-page .table-nav ul li.active {
    background: radial-gradient(circle at 50% 20%, #ffe08a 0%, #f5c43c 60%, #e6a815 100%) !important;
    color: #10225a !important;
    box-shadow: 0 3px 8px rgba(224, 161, 15, .35), inset 0 1px 0 rgba(255, 255, 255, .7);
    border: 0 !important;
}

/* ---------------------------------------------------------------------
   Shared: inputs & buttons
   --------------------------------------------------------------------- */
body.bet-page .ap-panel input[type="text"],
body.bet-page .ap-panel input[type="number"],
body.sg-page .formx input {
    height: 44px;
    border-radius: 12px !important;
    border: 1.5px solid #d6deed !important;
    background: #fff !important;
    color: #1b1b1f !important;
    font-size: 16px;
    text-align: center;
    box-shadow: none !important;
    outline: none;
}

body.bet-page .ap-panel input:focus,
body.sg-page .formx input:focus {
    border-color: #1546c4 !important;
}

body.bet-page .ap-panel input:disabled {
    background: #eef3ff !important;
    color: #1546c4 !important;
    font-weight: 700;
}

/* ---------------------------------------------------------------------
   Bet pages
   --------------------------------------------------------------------- */
body.bet-page .records {
    padding-top: 0 !important;
}

/* easy mode digit boxes */
body.bet-page .rbs {
    margin-left: -5px !important;
    margin-right: -5px !important;
}

body.bet-page .rbs > [class*="col-"] {
    padding-left: 5px;
    padding-right: 5px;
}

body.bet-page .myma {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f3f6fd 60%, #eaf0fb 100%) !important;
    border: 1.5px solid #cbd9f3 !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 12px rgba(21, 70, 196, .08) !important;
    padding: 10px 8px !important;
    margin-bottom: 8px;
}

body.bet-page .myma h4,
body.bet-page .head_color {
    color: #10225a !important;
    font-weight: 700 !important;
}

body.bet-page .myma h4 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    border-radius: 20px;
    background: radial-gradient(circle at 50% 30%, #ffe08a 0%, #f5c43c 45%, #dc9c0c 100%);
    color: #fff !important;
    text-shadow: 0 1px 1px rgba(120, 70, 0, .5);
    box-shadow: 0 3px 8px rgba(220, 156, 12, .35);
    font-size: 17px !important;
}

body.bet-page .myma .amt {
    width: 100% !important;
    max-width: 130px;
    margin: 8px auto 0 !important;
}

/* pana pages: 0-9 digit picker in easy mode */
body.bet-page .tablinks {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 4px 8px 0;
    padding: 0 !important;
    border-radius: 50% !important;
    border: 1.5px solid #cbd9f3 !important;
    background: linear-gradient(180deg, #ffffff 0%, #eef3ff 100%) !important;
    color: #10225a !important;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(21, 70, 196, .08);
}

body.bet-page .tablinks.active {
    border-color: #f2bc34 !important;
    background: radial-gradient(circle at 50% 20%, #ffe08a 0%, #f5c43c 60%, #e6a815 100%) !important;
    box-shadow: 0 3px 8px rgba(224, 161, 15, .35);
}

/* special mode form */
body.bet-page .selectgame {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f3f6fd 60%, #eaf0fb 100%);
    border: 1.5px solid #cbd9f3;
    border-radius: 18px;
    box-shadow: 0 6px 16px rgba(21, 70, 196, .10);
    padding: 6px 0 12px;
    margin-bottom: 14px;
}

body.bet-page .games {
    padding: 8px 14px !important;
    gap: 10px;
}

body.bet-page .games .sel {
    color: #10225a !important;
    font-size: 14px;
    font-weight: 600 !important;
}

body.bet-page .games .sele,
body.bet-page .games select {
    border-radius: 12px !important;
}

body.bet-page .bb {
    padding: 4px 14px 0 !important;
}

body.bet-page .bb .add,
body.bet-page button.add {
    width: 100% !important;
    height: 46px;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 30px !important;
    background: radial-gradient(circle at 50% 20%, #ffe08a 0%, #f5c43c 55%, #e0a10f 100%) !important;
    color: #10225a !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    box-shadow: 0 6px 14px rgba(224, 161, 15, .35), inset 0 1px 0 rgba(255, 255, 255, .7) !important;
}

/* bets list */
body.bet-page .bordergrey {
    border: 0 !important;
    background: linear-gradient(180deg, #1c4fd0 0%, #0b2a8f 100%);
    border-radius: 12px;
    padding: 9px 0 !important;
    margin: 0 0 8px !important;
}

body.bet-page .bordergrey p {
    color: #fff !important;
    font-size: 13px;
    text-align: center;
}

body.bet-page #bets {
    padding: 0 !important;
}

body.bet-page .cc {
    background: #fff !important;
    border: 1.5px solid #dfe6f3;
    border-radius: 12px;
    margin: 0 0 6px !important;
    padding: 8px 0 !important;
    box-shadow: 0 2px 6px rgba(21, 70, 196, .06);
}

body.bet-page .cc p {
    text-align: center;
    font-weight: 600;
    color: #10225a;
}

body.bet-page .cc svg {
    display: block;
    margin: 0 auto;
    cursor: pointer;
}

/* total + play */
body.bet-page .rbs > h4.cap {
    width: 100%;
    margin: 6px 0 10px !important;
    padding: 10px 14px;
    border-radius: 14px;
    background: linear-gradient(180deg, #2e2e33 0%, #1d1d21 55%, #141417 100%);
    color: #fff !important;
    font-size: 16px !important;
    text-align: center;
    letter-spacing: .3px;
}

body.bet-page .rbs > h4.cap span {
    color: #ffd768;
}

body.bet-page .play .rc-btn,
body.bet-page .rc-btn {
    width: 100% !important;
    height: 52px;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 30px !important;
    background: linear-gradient(180deg, #1650c9 0%, #0a3fae 55%, #08349a 100%) !important;
    color: #fff !important;
    font-size: 19px !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .3);
    box-shadow: 0 8px 18px rgba(10, 63, 174, .35), inset 0 1px 0 rgba(255, 255, 255, .35) !important;
}

/* ---------------------------------------------------------------------
   Select game (jantary / crossing / no-tono / open)
   --------------------------------------------------------------------- */
body.sg-page {
    padding-top: 0 !important;
}

/* select_game.php forces i / small / h5 to the dark text colour - keep the header white */
body.sg-page .ap-head i,
body.sg-page .ap-head small,
body.sg-page .ap-head h5 {
    color: #fff !important;
}

body.sg-page .table-nav {
    position: static !important;
    box-shadow: none !important;
    padding: 0 !important;
    background: transparent !important;
}

body.sg-page .ap-panel .container,
body.sg-page .custom-padding {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.sg-page .table {
    margin-bottom: 0;
    background: transparent;
}

body.sg-page .table-head {
    background: linear-gradient(180deg, #1c4fd0 0%, #0b2a8f 100%) !important;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

body.sg-page .table-head.my-2 {
    border-radius: 10px;
    background: radial-gradient(circle at 50% 20%, #ffe08a 0%, #f5c43c 60%, #e6a815 100%) !important;
}

body.sg-page .table-head.my-2 .list-table-numer {
    color: #10225a !important;
    font-weight: 700;
    font-size: 13px;
    width: 100%;
}

body.sg-page .list-table-numer {
    color: #fff !important;
    font-weight: 600;
    font-size: 13px;
}

body.sg-page .table-input {
    border: 1.5px solid #cbd9f3;
    border-top: 0;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
    margin-bottom: 8px;
    background: #fff;
}

body.sg-page .table-input input {
    border: 0 !important;
    border-right: 1px solid #e3e9f5 !important;
    background: #fff !important;
    color: #10225a !important;
    font-weight: 600;
    border-radius: 0 !important;
}

body.sg-page .table-input input:focus {
    background: #fff8e1 !important;
    outline: none;
}

/* crossing / no-tono / open forms */
body.sg-page .formx {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f3f6fd 60%, #eaf0fb 100%) !important;
    border: 1.5px solid #cbd9f3 !important;
    border-radius: 18px !important;
    box-shadow: 0 6px 16px rgba(21, 70, 196, .10) !important;
    padding: 14px !important;
    margin-bottom: 12px;
}

body.sg-page .formx label,
body.sg-page .formx h5,
body.sg-page .jodi-cut h5 {
    color: #10225a !important;
    font-weight: 600;
}

body.sg-page .formx .text-muted {
    color: #5b6478 !important;
}

/* the card keeps its inner padding (the ".ap-panel .container { padding: 0 }" rule was stronger and removed the side padding) */
body.sg-page .ap-panel .container.formx {
    padding: 14px !important;
}

/* Add / Clear All: equal halves, no leftover margin from the old page styles */
body.sg-page .button-container > button {
    width: 100%;
    margin: 0 !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
}

/* no-tono / open: labelled fields in a clean grid */
body.sg-page .sg-fields {
    display: grid;
    gap: 12px;
}

body.sg-page .sg-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

body.sg-page .sg-fields label {
    display: block;
    margin: 0 0 6px 4px;
    font-size: 13px;
    font-weight: 600;
    color: #10225a;
    text-align: left;
}

body.sg-page .formx .sg-fields input {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0 12px;
}

body.sg-page .sg-fields small {
    display: block;
    margin: 6px 0 0 4px;
    font-size: 12px;
    line-height: 1.35;
    text-align: left;
}

body.sg-page .button-container {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 12px 0 !important;
}

body.sg-page .btn-yellow {
    height: 46px;
    border: 0 !important;
    border-radius: 30px !important;
    background: radial-gradient(circle at 50% 20%, #ffe08a 0%, #f5c43c 55%, #e0a10f 100%) !important;
    color: #10225a !important;
    font-weight: 700 !important;
    box-shadow: 0 6px 14px rgba(224, 161, 15, .35), inset 0 1px 0 rgba(255, 255, 255, .7) !important;
}

body.sg-page .clear-all-btn {
    height: 46px;
    border: 1.5px solid #e03131 !important;
    border-radius: 30px !important;
    background: #fff !important;
    color: #c62828 !important;
    font-weight: 700 !important;
}

body.sg-page .list-item {
    background: #fff !important;
    border: 1.5px solid #dfe6f3 !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 6px rgba(21, 70, 196, .06) !important;
}

body.sg-page .list-item-number {
    color: #10225a !important;
    font-weight: 700;
}

body.sg-page .list-item-type {
    color: #1546c4 !important;
}

body.sg-page .list-item-amount {
    color: #11793a !important;
    font-weight: 700;
}

body.sg-page .delete-btn {
    background: linear-gradient(180deg, #ef4b4b 0%, #c62828 100%) !important;
    color: #fff !important;
    border: 0 !important;
}

/* fixed bottom total + play bar */
body.sg-page .btn-bottom {
    left: 0;
    right: 0;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, .92), #ffffff);
    border-top: 1px solid #dfe6f3;
    box-shadow: 0 -6px 16px rgba(21, 70, 196, .1);
    z-index: 990;
}

body.sg-page .btn-bottom .btn {
    height: 50px;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 30px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

body.sg-page .btn-bottom .active-btn {
    background-image: linear-gradient(180deg, #2e2e33 0%, #1d1d21 55%, #141417 100%) !important;
    color: #ffd768 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15);
}

body.sg-page .btn-bottom #bet_btn {
    background: linear-gradient(180deg, #1650c9 0%, #0a3fae 55%, #08349a 100%) !important;
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .3);
    box-shadow: 0 6px 14px rgba(10, 63, 174, .35), inset 0 1px 0 rgba(255, 255, 255, .35);
}

body.sg-page .ap-panel {
    padding-bottom: 110px;
}

/* ---------------------------------------------------------------------
   Starline / SP menu pages (category 6)
   - .sp-menu-page : sp_games.php, select_sp_game.php
   --------------------------------------------------------------------- */
body.sp-menu-page .records {
    padding-top: 0 !important;
}

/* History / Chart shortcut buttons */
body.sp-menu-page .history {
    flex: 1;
    max-width: none;
    gap: 10px;
    justify-content: center;
    margin: 0 6px 14px !important;
    padding: 12px 10px !important;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f3f6fd 60%, #eaf0fb 100%);
    border: 1.5px solid #cbd9f3;
    box-shadow: 0 6px 16px rgba(21, 70, 196, .10);
    color: #10225a !important;
}

body.sp-menu-page .records > .row:first-child {
    display: flex;
    flex-wrap: nowrap;
    margin: 0 -6px;
}

body.sp-menu-page .history p {
    margin: 0 !important;
    font-weight: 600;
    color: #10225a !important;
}

body.sp-menu-page .history svg,
body.sp-menu-page .history .chart_icon {
    color: #e0a10f !important;
    font-size: 22px !important;
    padding: 0 !important;
}

/* rate cards (Single Digit 1-9 ...) */
body.sp-menu-page .myma1 {
    flex: 1;
    margin: 0 4px 8px !important;
    padding: 10px 12px !important;
    border-radius: 14px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f3f6fd 100%) !important;
    border: 1.5px solid #cbd9f3 !important;
    box-shadow: 0 3px 10px rgba(21, 70, 196, .08) !important;
}

body.sp-menu-page .myma1 .xtl {
    justify-content: space-between;
    align-items: center;
    padding: 0 !important;
}

body.sp-menu-page .myma1 h4 {
    color: #10225a !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

body.sp-menu-page .myma1 h4:last-child {
    padding: 3px 10px;
    border-radius: 20px;
    background: #e2ebff;
    color: #1546c4 !important;
}

/* game type tiles + AJAX session rows */
body.sp-menu-page .myma:not(.myma1) {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f3f6fd 60%, #eaf0fb 100%) !important;
    border: 1.5px solid #cbd9f3 !important;
    border-radius: 18px !important;
    box-shadow: 0 6px 16px rgba(21, 70, 196, .10) !important;
    margin: 0 0 12px !important;
    padding: 14px 10px !important;
}

body.sp-menu-page #games .myma {
    margin-left: 0 !important;
    margin-right: 0 !important;
    align-items: center;
}

body.sp-menu-page .myma h4,
body.sp-menu-page .head_color {
    color: #10225a !important;
    font-weight: 700 !important;
}

body.sp-menu-page .chart_icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 21px !important;
    color: #fff !important;
    background: radial-gradient(circle at 50% 30%, #ffe08a 0%, #f5c43c 45%, #dc9c0c 100%);
    border: 2px solid rgba(255, 255, 255, .85);
    box-shadow: 0 4px 10px rgba(220, 156, 12, .35);
    padding: 0 !important;
    margin-bottom: 6px;
}

body.sp-menu-page .myma svg {
    width: 46px;
    height: 46px;
    padding: 6px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 30%, #ffe08a 0%, #f5c43c 45%, #dc9c0c 100%);
    box-shadow: 0 4px 10px rgba(220, 156, 12, .35);
}

body.sp-menu-page .green {
    color: #11793a !important;
}

body.sp-menu-page .red {
    color: #c62828 !important;
}

body.sp-menu-page .play .play-btn,
body.sp-menu-page #games .play-btn {
    border: 0 !important;
    border-radius: 30px !important;
    background: linear-gradient(180deg, #1650c9 0%, #0a3fae 55%, #08349a 100%) !important;
    color: #fff !important;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(10, 63, 174, .3), inset 0 1px 0 rgba(255, 255, 255, .35);
}

/* countdown */
body.sp-menu-page .counter {
    text-align: center;
    margin: 0 !important;
    color: #5b6478 !important;
    font-weight: 600;
}

body.sp-menu-page .counter #demo {
    display: inline-block;
    margin: 6px 0 14px !important;
    padding: 8px 18px;
    border-radius: 14px;
    background: linear-gradient(180deg, #2e2e33 0%, #1d1d21 55%, #141417 100%);
    color: #ffd768 !important;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
}

body.sp-menu-page .counter #demo * {
    color: #ffd768 !important;
    background: none !important;
}

/* old history.css makes .records 90% wide with a 5% left margin - use the full panel width */
body.bet-page .records,
body.sp-menu-page .records {
    width: 100% !important;
    margin-left: 0 !important;
}

/* ---------------------------------------------------------------------
   Gali / Desawar Odd-Even page (category 7) - .gali-odd-page
   Selected states use the page's own "gm_active" class.
   --------------------------------------------------------------------- */
body.gali-odd-page .odd_game_design {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f3f6fd 60%, #eaf0fb 100%);
    border: 1.5px solid #cbd9f3;
    border-radius: 18px;
    box-shadow: 0 6px 16px rgba(21, 70, 196, .10);
    padding: 16px 14px 18px;
}

body.gali-odd-page .date_open_close {
    width: 100% !important;
    border: 0 !important;
    padding: 5px !important;
    margin: 0 0 14px !important;
    border-radius: 30px !important;
    background: linear-gradient(180deg, #eef3ff 0%, #e2eafb 100%);
    box-shadow: inset 0 1px 3px rgba(21, 70, 196, .12);
    gap: 6px !important;
}

body.gali-odd-page .date_open_close .date {
    flex: 1.2;
    color: #10225a;
    font-weight: 600;
    font-size: 13px;
    background: transparent !important;
    padding: 0 !important;
}

body.gali-odd-page .open_close,
body.gali-odd-page .odd_even {
    flex: 1;
    border: 0 !important;
    border-radius: 24px !important;
    padding: 9px 10px !important;
    color: #10225a;
    font-weight: 700;
    background: transparent;
    transition: background .2s ease;
}

body.gali-odd-page .odd_even_btns {
    padding: 5px;
    margin-bottom: 16px;
    border-radius: 30px;
    background: linear-gradient(180deg, #eef3ff 0%, #e2eafb 100%);
    box-shadow: inset 0 1px 3px rgba(21, 70, 196, .12);
    gap: 6px !important;
}

body.gali-odd-page .open_close.gm_active,
body.gali-odd-page .odd_even.gm_active {
    background: radial-gradient(circle at 50% 20%, #ffe08a 0%, #f5c43c 60%, #e6a815 100%) !important;
    color: #10225a !important;
    box-shadow: 0 3px 8px rgba(224, 161, 15, .35), inset 0 1px 0 rgba(255, 255, 255, .7);
}

body.gali-odd-page .numbers {
    gap: 12px !important;
    margin: 0 0 18px !important;
}

body.gali-odd-page .numbers div {
    width: 52px !important;
    height: 52px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    border: 1.5px solid #cbd9f3 !important;
    background: linear-gradient(180deg, #ffffff 0%, #eef3ff 100%);
    color: #10225a;
    font-size: 20px !important;
    box-shadow: 0 3px 8px rgba(21, 70, 196, .08);
}

body.gali-odd-page .numbers div.gm_active {
    border-color: #f2bc34 !important;
    background: radial-gradient(circle at 50% 30%, #ffe08a 0%, #f5c43c 45%, #dc9c0c 100%) !important;
    color: #fff !important;
    text-shadow: 0 1px 1px rgba(120, 70, 0, .5);
    box-shadow: 0 4px 10px rgba(220, 156, 12, .4);
}

body.gali-odd-page .amount input {
    width: 100% !important;
    height: 50px;
    border: 1.5px solid #d6deed !important;
    border-radius: 14px !important;
    background: #fff !important;
    text-align: center;
    font-size: 18px;
    margin-bottom: 14px;
}

body.gali-odd-page .bet_now {
    width: 100% !important;
    height: 52px;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 30px !important;
    background: linear-gradient(180deg, #1650c9 0%, #0a3fae 55%, #08349a 100%) !important;
    color: #fff !important;
    font-size: 19px !important;
    box-shadow: 0 8px 18px rgba(10, 63, 174, .35), inset 0 1px 0 rgba(255, 255, 255, .35) !important;
}

/* ---------------------------------------------------------------------
   SP DP/TP bet page (sp_dp_tp_games.php) - .dptp-page
   --------------------------------------------------------------------- */
body.dptp-page .date_game_tuye {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px;
    margin-bottom: 14px;
    border-radius: 30px;
    background: linear-gradient(180deg, #eef3ff 0%, #e2eafb 100%);
    box-shadow: inset 0 1px 3px rgba(21, 70, 196, .12);
}

body.dptp-page .date_game_tuye .date {
    flex: 1.2;
    text-align: center;
    color: #10225a;
    font-weight: 600;
    font-size: 13px;
}

body.dptp-page .game_type_btn,
body.dptp-page .pannas .mybutton {
    flex: 1;
    text-align: center;
    padding: 9px 8px !important;
    border: 0 !important;
    border-radius: 24px !important;
    background: transparent !important;
    color: #10225a !important;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    box-shadow: none !important;
}

body.dptp-page .pannas {
    display: flex;
    gap: 6px;
    padding: 5px;
    margin: 12px 0;
    border-radius: 30px;
    background: linear-gradient(180deg, #eef3ff 0%, #e2eafb 100%);
    box-shadow: inset 0 1px 3px rgba(21, 70, 196, .12);
}

body.dptp-page .game_type_btn.active,
body.dptp-page .pannas .mybutton.active {
    background: radial-gradient(circle at 50% 20%, #ffe08a 0%, #f5c43c 60%, #e6a815 100%) !important;
    box-shadow: 0 3px 8px rgba(224, 161, 15, .35), inset 0 1px 0 rgba(255, 255, 255, .7) !important;
}

body.dptp-page .mynewform {
    height: 50px !important;
    border-radius: 14px !important;
    border: 1.5px solid #d6deed !important;
    background: #fff !important;
    text-align: center;
    font-size: 17px;
    box-shadow: none !important;
}

body.dptp-page #addBidBtn {
    width: 100%;
    height: 48px;
    margin-top: 12px;
    border: 0 !important;
    border-radius: 30px !important;
    background: radial-gradient(circle at 50% 20%, #ffe08a 0%, #f5c43c 55%, #e0a10f 100%) !important;
    color: #10225a !important;
    font-weight: 700;
    box-shadow: 0 6px 14px rgba(224, 161, 15, .35), inset 0 1px 0 rgba(255, 255, 255, .7) !important;
}

body.dptp-page #submitBid {
    width: 100%;
    height: 52px;
    border: 0 !important;
    border-radius: 30px !important;
    background: linear-gradient(180deg, #1650c9 0%, #0a3fae 55%, #08349a 100%) !important;
    color: #fff !important;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(10, 63, 174, .35), inset 0 1px 0 rgba(255, 255, 255, .35) !important;
}

body.dptp-page .bid_num_list .table {
    background: #fff;
    border: 1.5px solid #cbd9f3;
    border-radius: 14px;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
}

body.dptp-page .bid_num_list .table td {
    color: #10225a;
    border-color: #e3e9f5;
    text-align: center;
}

body.dptp-page .bid_num_list p.text-center {
    padding: 10px;
    border-radius: 14px;
    background: linear-gradient(180deg, #2e2e33 0%, #1d1d21 55%, #141417 100%);
    color: #fff;
    font-weight: 600;
}

body.dptp-page #totalAmt {
    color: #ffd768;
}

/* gametable.php: Play button has no id - style it by class */
body.sg-page .btn-bottom .btn-play2 {
    background: linear-gradient(180deg, #1650c9 0%, #0a3fae 55%, #08349a 100%) !important;
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .3);
    box-shadow: 0 6px 14px rgba(10, 63, 174, .35), inset 0 1px 0 rgba(255, 255, 255, .35);
}
