@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
html,
body { font-family: "Open Sans", sans-serif; }
body { background-color: rgb(23, 23, 23); }
.head { z-index: 9; }
nav { background: #393939 !important; }
.bg-primary { background: #16416e !important; }
.bg-dark { background: #111 !important; }
.bg-secondary { background: #1e1e1e !important; }
.bg-tertiary { background: #393939 !important; }
.text-primary { color: #fff !important; }
.text-light { color: #c4c4c4 !important; }
.btn-outline-light { border-color: #c4c4c4 !important; color: #c4c4c4 !important; }
.bg-red { background: #ad3333; }
.border-primary { border-color: #16416e !important; }
.btn-primary { background: #16416e; border-color: #16416e; color: #fff; }
.form-control { border-radius: 3px; height: 50px; font-size: 14px; }
p { font-size: 12px; }
a{text-decoration: none;}
.head .navbar-brand { width: 150px; }
.head .btn-sm { font-size: 10px; }
.hm-bnr .card { min-width: 70px; }
.hm-bnr .card.balance { width: 140px; }
.hm-bnr .card .label { font-size: 10px; font-weight: 600; }
.hm-bnr .deposit img,
.hm-bnr .withdraw img { width: 28px; }
.create { font-size: 13px; }
.create i { font-size: 24px; }
.modal-close { top: 15%; right: 4%; cursor: pointer; }
.accordion-collapse,
.accordion-collapse .btn { font-size: 12px !important; }
.accordion-button.collapsed { background: #111 !important; }
.accordion-collapse.show { background: #393939 !important; border-bottom: 2px solid #fff; }
.accordion-button::after { filter: brightness(100); }
.accordion-button:focus { box-shadow: none; }
.back-btn { font-size: 30px; line-height: 30px; }
::placeholder { color: #5a5a5a !important; }
#myTab button,
#transaction-tabs button { font-size: 12px; font-weight: 500; }
.list_item .item_img,
.game_panel .item_img { width: 50px; height: 50px; }
.list_item .game-image,
.game_panel .game-image { width: 42px; height: 42px; object-fit: cover; background-color: #000; }
.list_item .name { font-size: 14px; }
.list_item .link,
.list_item .rate,
.list_item .btn,
.list_item .paneltype,
.panel-info,
.list_item .dropdown li a { font-size: 12px; }
.list_item .dropdown .btn { font-size: 20px; }
.game_panel .detail .name { font-size: 14px; }
.game_panel .detail .link { font-size: 12px; }
#purchase-form label { font-size: 12px; }
#purchase-form input,
#purchase-form select { font-size: 12px; }
.mypanel .item_img { width: 40px; height: 40px; }
.mypanel .detail .name { font-size: 14px; }
.mypanel .detail .link { font-size: 12px; }
.foot-text a i { font-size: 20px; }
.foot-text a span { font-size: 12px; padding-top: 3px; }
#buy-now { font-size: 14px; }

/* Minimal custom CSS for custom radio dot */
.rate-type-group input[type="radio"] { display: none; }
.rate-type-group label.d-flex { position: relative; width: 160px; padding: 5px 35px; border: 2px solid #5a5a5a; border-radius: 25px; cursor: pointer; transition: all 0.3s ease-in-out; }
.rate-type-group label.d-flex::before { content: ''; position: absolute; left: 15px; width: 15px; height: 15px; border-radius: 50%; border: 2px solid #fff; background-color: transparent; }
.rate-type-group input[type="radio"]:checked+label { border-color: #fff; color: #fff; }
.rate-type-group input[type="radio"]:checked+label::before { background-color: #16416e; }

/* Custom dropdown style */
.form-label { font-size: 14px; }
.input-group-text { font-size: 12px; }
.form-select { height: 30px; background-color: #111; color: #fff; border: none; border-radius: 5px; box-shadow: none; font-size: 12px; }
.form-select:focus { border-color: #fe5001; box-shadow: 0 0 0 0.2rem rgba(255, 206, 51, 0.25); }

/* Custom CSS for bottom alignment */
.modal-dialog-bottom { position: fixed; bottom: 0; left: 0; right: 0; margin: 0; width: 100%; }
.remain-bal { font-size: 15px; }
.game_panel .card-footer { bottom: 62px; }
.header .logo img { max-width: 110px; }
#myTab #createpanel1-1-tab { position: relative; overflow: hidden; }
#myTab #createpanel1-1-tab::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 2px solid transparent; border-image: linear-gradient(45deg, #16416e, rgba(22, 65, 110, 0)) 1; animation: gradientAnimation 2.5s linear infinite; }
@keyframes gradientAnimation {
    0% { border-image-source: linear-gradient(45deg, rgba(22, 65, 110, 0), rgba(22, 65, 110, 0.8)); }
    50% { border-image-source: linear-gradient(45deg, rgba(22, 65, 110, 0.5), rgba(22, 65, 110, 0)); }
    100% { border-image-source: linear-gradient(45deg, rgba(22, 65, 110, 0), rgba(22, 65, 110, 0.8)); }
}
.root { height: 100%; max-width: 768px; margin: auto; background-color: #111111; min-height: 100vh; }
.top_banner { margin-bottom: 0 !important; min-height: auto; max-height: unset; background-color: #16416e; background-size: auto 360px; background-repeat: repeat;    /*background-image: url(images/wallet-img.svg);*/ }
.header {    /*background-color: #1e1e1e;*/
color: white; padding: 10px 20px; display: flex; justify-content: space-between; align-items: center; width: 100%; /* Take full width */ }
.header .logo { font-size: 1.5em; font-weight: bold; display: flex; gap: 10px; }
.panel_footer { max-width: 768px; right: 0; }
.header .auth .login,
.header .auth button { background-color: #fff; color: #000; border: none; border-radius: 7px; cursor: pointer; font-size: 10px; }
.globe_img { margin-left: 7px; float: right; text-align: center; }
.globe_img a,
.globe_img span { text-decoration: none; color: #fff; }
.globe_img img { max-width: 20px; }
.globe_img span { display: block; font-size: 12px; }
.wallet {    /*background: linear-gradient(135deg, #6a11cb, #2575fc);*/
color: white; padding: 20px; text-align: center; width: 100%; /* Take full width */ }
.auth .btn-sm { font-size: 10px; color: #fff; }
.wallet .balance { display: flex; justify-content: center; align-items: center; }
.new-id { width: 100%; padding: 0 10px 120px; margin-top: 15px; }
.new-id button { width: 100%; background: #16416e; border: none; color: #fff; min-height: 45px; border-radius: 11px; display: flex; align-items: center; justify-content: space-between; font-size: 14px; padding-left: 10px; padding-right: 10px; }
.new-id button .arrow { margin-left: 10px; }
.sports { margin: 20px; background-color: white; border-radius: 5px; overflow: hidden; width: calc(100% - 40px); /* Take full width minus margins */ }
.sports .sports-header { background-color: #f0f0f0; padding: 10px 20px; display: flex; justify-content: space-between; align-items: center; }
.sports .sports-header h2 { margin: 0; }
.sports .sports-header a { text-decoration: none; color: #007bff; }
.sports .sports-table .table-row { display: grid; grid-template-columns: 2fr 1fr 1fr; padding: 10px 20px; border-bottom: 1px solid #eee; }
.sports .sports-table .table-row:last-child { border-bottom: none; }
.bottom-nav {background-color: #000000 !important;color: white;display: flex;justify-content: space-around;padding: 12px 0 !important;width: 100%;position: fixed;bottom: 0;max-width: 768px;border-radius: 20px 20px 0 0;z-index: 1;width: 100%;}
.bottom-nav a { color: white; text-decoration: none; }

/* Adjustments for wallet section size */
.wallet { min-height: 180px; padding: 10px 0; position: relative; display: flex; align-items: center; justify-content: center; }
.wallet .balance { background: #1e1e1e; margin: 5px auto 0; border-radius: 15px; padding: 0; width: 300px; display: grid; grid-template-columns: 1fr 2fr 1fr; justify-content: center; align-items: center; }
.wallet .balance button { color: #fff; cursor: pointer; min-height: 6.2rem; display: flex; flex-direction: column; align-items: center; justify-content: center; background: transparent; border: 0; }
.wallet .balance .amount { position: relative; }
.wallet .img-wrap img { width: 30px; display: block; margin: auto; }
.wallet .wallet-balance { position: absolute; width: 100%; min-height: 160px; border-radius: 15px; inset: 50% 0; margin: auto; padding: 0; display: flex; align-items: center; justify-content: space-around; flex-direction: column; background: #1e1e1e; box-shadow: 0 1px 15px 1px #330d0099; }
.wallet .wallet-balance img { display: flex; align-items: center; column-gap: 6px; }
.wallet .wallet-balance .logo-wrap img { width: 55%; padding-top: 5px; display: block; margin: auto; }
.wallet .wallet-balance h3 { color: #fff; text-transform: uppercase; margin: 0 0 5px; font-size: 10px; text-align: center; }
.wallet .balance-info p { font-size: 18px; margin: 0; display: flex; justify-content: center; align-items: center; cursor: pointer; column-gap: 5px; }
.wallet .wallet-balance .balance-info img { width: 18px; }
.wallet .balance p { margin: 0 0 5px; font-size: 10px; text-align: center; }
.swiperWrap { padding: 13px; }
.swiperWrap img { border-radius: 10px; }

/*Popup Css*/
.popup-container { display: none; /* Initially hidden */ position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent background */ justify-content: center; align-items: end; z-index: 1000; }
.popup-content { background-color: #1e1e1e; padding: 15px; border-radius: 5px 5px 0 0; width: 300px; position: relative; }
.popup-close { position: absolute; top: 10px; right: 10px; font-size: 20px; cursor: pointer; }
.popup-form input { width: calc(100% - 22px); /* Adjust for padding and border */ padding: 10px; margin-bottom: 10px; border: 1px solid #ccc; border-radius: 4px; }
.popup-form button { background-color: #007bff; color: white; border: none; padding: 10px 15px; border-radius: 4px; cursor: pointer; width: 100%; margin-bottom: 5px; }
.popup-form p { text-align: center; margin: 10px 0; }
.popup-content img { max-width: 150px; }
.popup-content .text-center { text-align: center; }
.popup-content h2 { color: #c4c4c4 !important; font-size: 1.25rem; }
.modal-close { top: 15%; right: 4%; }
.bg-secondary { background: #1e1e1e !important; }
.text-light { color: #c4c4c4 !important; }
.form-label { font-size: 14px; }
.margin-bottom-60 { margin-bottom: 60px; }
form .btn {min-height: auto;}
button.create-id i { font-size: 20px; }
.btn-check:checked+.btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check)+.btn:active { border-color: transparent; }
.gree { color: #138807; }
.checkbox_label { font-size: 12px; line-height: 1; }
.form-check.checkbox_wrap { display: flex; align-items: center; gap: 0 10px; margin: 12px 0 20px; }
.gap_2 {
    margin-left: -5px;
    margin-right: -5px;    flex-wrap: wrap;
}
.gap_2 .mypanel {margin-left: 5px; margin-right: 5px; background-color: #16416e !important;}
.width_25{width: calc(33.33% - 10px);}
.toast-header i {
    color: #16416e;
    padding: 0 3px;
    background: #fff;
    font-size: 22px;
    border-radius: 5px;
    line-height: normal;
    margin-right: 5px;
}
.close_btn_img{
    cursor: pointer;
}
.small-text{
    font-size: 14px;
}
.detail.text-end{
    font-size: 14px;
}
.passbook_listig .panel-info {
    display: none;
    padding: 10px;
    background-color: #111111;
    margin: 10px 0px;
    border-radius: 10px;
}
.passbook_listig .panel-info p{
    margin-bottom: 0;
}
.passbook_listig .list_item .cursor{cursor: pointer;}
.passbook_listig .list_item img{
    width: 50px;
    height: 50px;
    object-fit: cover;
    background-color: #fff;
    border-radius: 4px;
}
.passbook_listig .list_item .img_div{
    margin-top: 10px;
}
.new-id .item_img img{
        height: 100%;
    width: 100%;
    object-fit: cover;
}
.height-auto{
    height: auto;
}
.form-control:focus{
    box-shadow: unset;
}
.contry_code.form-control{
    flex: 0 0 50px !important;
}
.toast-container .modal-header .btn-close{
    filter: invert(1) grayscale(100%) brightness(200%);
}
.home_panel .inner {
    display: flex;
    justify-content: space-between;
}
.copy-btn { cursor: pointer; transition: color .2s; }
.copy-btn.copied { color: green; }
@media(max-width: 767px){
    .width_25{
        width: calc(50% - 10px);
    }
}

@media(max-width: 420px){
    .width_25{
        width: calc(100% - 10px);
    }
}
