body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
}

.ml-0 {
    margin-left: 0px;
}

.pl-0 {
    padding-left: 0px;
}

.pr-0 {
    padding-right: 0px;
}

.mt-8 {
    margin-top: 80px;
}

.mb-8 {
    margin-bottom: 80px;
}

.hidden {
    display: none !important;
}

tbody td {
    text-align: center;
}

.logo {
    color: white;
    text-decoration: none;
}

.header {
    position: fixed;
    top: 0;
    width: -webkit-fill-available;
    background-color: #ff8c1a;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    z-index: 1;
}

.header span {
    font-size: 1.5rem;
    font-weight: bold;
}

.header .span-2 {
    float: right;
    font-size: 1rem;
    font-weight: normal;
    padding-top: 5px;
}

.header span a {
    color: white;
}

.timer-section {
    background-color: #fff8e1;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.timer-section .timer {
    color: #ff5722;
}

.timer {
    font-size: 5em;
    font-weight: bold;
}

.remainingTimeBlock {
    font-size: xx-large;
    margin-bottom: 30px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    gap: 10px;
    margin: 20px 0;
}

.grid-item,
.remainingTimeBlock {
    background-color: #fff;
    border: 1px solid #ff9800;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
}

.grid-item.green {
    background-color: #d4edda;
    color: #155724;
}

.grid-item.violet {
    background-color: #f3e8ff;
    color: #6f42c1;
}

.grid-item.red {
    background-color: #f8d7da;
    color: #721c24;
}

.footer {
    background-color: #ff8c1a;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    position: fixed;
    bottom: 0;
    width: 100%;
    box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.1);
}

.footer button {
    font-size: 0.9rem;
}

.footer span {
    font-size: 1.1rem;
}

#placeBet .modal-footer {
    padding: 10px;
}

#placeBet .required-balance {
    flex: 1;
    text-align: left;
}

.icon-row {
    display: flex;
    justify-content: space-around;
    background-color: #fdfdfd;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
}

.icon {
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #9e9e9e;
    background-color: #e9e9e9;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    min-width: 100px;
}

.icon p {
    margin-top: 5px;
    margin-bottom: 0px;
    font-weight: bold;
}

.icon.selected,
.icon:hover {
    background-color: #ffcc80;
    color: #ff9800;
    border: 2px solid #ff9800;
    box-shadow: 0px 4px 10px rgba(255, 152, 0, 0.4);
}

.icon.selected i {
    color: #ff9800;
}

.icon.selected p {
    color: #e65100;
}

.icon-row-x-times {
    justify-content: space-around;
    background-color: #fdfdfd;
    padding: 20px;
    margin-left: 0px;
    margin-bottom: 30px;
    border-radius: 10px;
}

.icon-row-x-times div.col-6 .border-round {
    border-radius: 10%;
    border: 1px solid #ff9800;
    width: 100px;
    margin: 10px auto;
    color: #ff8c1a;
}

.icon-row-x-times div.col-6 .border-round.selected,
.icon-row-x-times div.col-6 .border-round:hover,
.grid .grid-item.selected,
.grid .grid-item:hover,
.listing .nav-link.active {
    border: 1px solid #ff9800;
    color: #ffffff;
    background-color: #ff9800;
    cursor: pointer;
}

.game-listing thead tr th,
.my-history thead tr th,
.my-active-bets thead tr th {
    background-color: #ffcc80;
    border: 2px solid #ff9800;
}

.icon-row-x-times div.col-6 {
    background: #f5f5f5;
    padding: 10px;
}

.b-r-20 {
    border-right: 20px solid #fdfdfd;
}

.listing .table-row {
    font-size: 14px;
}

.listing .nav-link {
    width: 100%;
    background: #e9e9e9;
    color: #9e9e9e;
}

.listing .tab-content {
    background: #fff;
}

table.dataTable thead .sorting_desc:after {
    display: none !important;
}

/* General styles for pagination container */
#game-history .pagination,
#my-history .pagination,
#my-transactions .pagination,
#my-active-bets .pagination {
    display: flex;
    justify-content: right;
    list-style-type: none;
}

#game-history .pagination a,
#my-history .pagination a,
#my-transactions .pagination a,
#my-active-bets .pagination a {
    display: inline-block;
    padding: 5px 15px;
    margin: 0 2px;
    text-decoration: none;
    color: #ff9800;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Hover effect */
#game-history .pagination a:hover,
#my-history .pagination a:hover,
#my-transactions .pagination a:hover,
#my-active-bets .pagination a:hover {
    background-color: #e9ecef;
    /* Slightly darker */
    color: #ff9800;
    /* Darker blue */
}

/* Active page style */
#game-history .pagination a.active,
#my-history .pagination a.active,
#my-transactions .pagination a.active,
#my-active-bets .pagination a.active {
    background-color: #ff9800;
    color: white;
    border-color: #ff9800;
    font-weight: bold;
}

/* Prev/Next buttons */
#game-history .pagination a.previous,
#game-history .pagination a.next,
#my-history .pagination a.previous,
#my-history .pagination a.next,
#my-transactions .pagination a.previous,
#my-transactions .pagination a.next,
#my-active-bets .pagination a.previous,
#my-active-bets .pagination a.next {
    font-weight: bold;
}

/* Botom bar */
.bottom-bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #f8f9fa;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.balance {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.balance span {
    color: #ff6600;
    /* Orange color for balance amount */
}

.ti-files {
    cursor: pointer;
}

.deposit-btn {
    background-color: #ff6600;
    color: #fff;
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    text-decoration: none;
}

.deposit-btn:hover {
    background-color: #e65500;
}

.bet-history {
    font-size: 14px;
    color: #007bff;
    text-decoration: none;
}

.bet-history:hover {
    text-decoration: underline;
}

.m-6 {
    margin: 10px;
}

/* Custom styles */
.balance-btn-group button,
.multiplier-btn-group button {
    width: 60px;
    height: 40px;
    margin: 1px;
    border-radius: 20px;
    border-right: 1px solid;
    font-weight: bold;
    background: #0000004f;
    color: #fff;
}

.balance-btn-group .active,
.multiplier-btn-group .active,
.balance-btn-group button:hover,
.multiplier-btn-group button:hover {
    background: #ff6600;
    color: #fff;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* For Firefox */
/* input[type="number"] {
    -moz-appearance: textfield;
} */

.quantity-group {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0px 10px 0px 5px;
}

.quantity-group input {
    width: 150px;
    text-align: center;
}

#placeBet .reset-btn,
#placeBet .total-btn,
#placeBet .login-btn {
    padding: 10px;
    border: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
}

#placeBet .reset-btn {
    background: #f2f2f2;
    color: #333;
}

#placeBet .total-btn,
#placeBet .login-btn {
    background: linear-gradient(to right, #ff9900, #ff6600);
    color: white;
}

.form-control:focus {
    box-shadow: none;
}

.alert.icons-alert p {
    padding-left: 10px;
    margin: 0;
}

.alert.icons-alert {
    display: flex;
}

.totalBetsCheckResult {
    background-color: #fff;
    border: 1px solid #ff9800;
    border-radius: 5px;
    padding: 10px;
    list-style: none;
}

/* Responsive design for smaller screens */
@media (max-width: 576px) {

    #game-history .pagination a,
    #my-active-bets .pagination a {
        padding: 6px 12px;
        font-size: 14px;
    }

    #game-history .pagination,
    #my-active-bets .pagination {
        justify-content: center;
    }
}