@import url('https://fonts.googleapis.com/css2?family=Anuphan:wght@100..700&display=swap');
.text-main{
    color: var(--main)!important;
}
.text-sec{
    color: var(--sub)!important;
}
.bg-main{
    background-color: var(--main)!important;
}
.bg-main-gra{
    background: linear-gradient(90deg , var(--main) 0%, var(--sub) 100%)!important;
    border: none!important;
}
.border-main{
    border: 2px solid var(--main);
}
.border-top-main{
    border-top: 5px solid var(--main);
}
.border-main-gra{
    border: 2px solid;
    border-image-source: linear-gradient(90deg, var(--main) 0%, var(--sub) 100%);;
    border-image-slice: 1;
}
.btn-up:hover{
    transform: translateY(-10px);
    transition: 0.4s;
}
.underline-active {
    display: inline-block;
    color: var(--main);
    text-decoration: none;
}

.underline-active::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--main);
    transition: width .3s;
}
h4 {
    width: 100%;
    /* overflow: hidden;
    white-space: nowrap; */
    text-overflow: ellipsis;
}
.underline-active:hover::after {
    width: 100%;
}



*{
    font-family: 'Anuphan';
}
h1 , h2 , h3, h4 ,h5{
    font-weight: 200;
}
hr{
    border-top: 2px solid var(--main);
    opacity: 1;
}
.banner{
    background: url("<?php echo $config['bg'];?>");
    background-position:  0% 25% ;
    background-size: cover!important;
    padding: 35px;
    height: auto;
}
.not-dec{
    text-decoration: none;
}

.bg-hallo{
    background:  linear-gradient(180deg, rgba(51,54,62,0.9) 73%, rgba(88,93,106,0.6) 100%) , url("https://i.ibb.co/ct3xJRM/wallpapersden-com-batman-dark-theme-1920x1080.jpg");
    background-size: cover!important;
    background-position: center;
    background-attachment: fixed;
    height: auto;
}
.page-wrapper{
    background-color: transparent; 
    background-image: url(""); 
    background-size: cover; 
    background-repeat: no-repeat; 
    background-position: 50% 50%;
}

.m-cent{
    margin: 0% auto!important;
}
.text-strongest{
    font-family: 'line_seed_sans_th';
    font-weight: 600;
}
.text-nav{
    color: #c2c9da!important;
}
.border-pro{
    background: #18243d;
    border: 1px solid #000;
}
.border-spe{
    background: #233458;
    border: 1px solid #000;
}
.border-main{
    border-color: var(--main)!important;
}
.bg-new-dark{
    background-color: #18243d;
}

.top-spe{
    border-top: 2px solid #000;
}
.bottom-spe{
    border-bottom: 2px solid #000;
}
.btn-pro-hover:hover{
    background-color: #233458!important;
    color: var(--main);
    transition: 0.4s;

}
@keyframes glow {
    0%,
    100% {
        box-shadow: 0 0 10px 0 var(--sub-opa-50);
        /* -webkit-box-shadow: 0 0 10px 0 rgba(231, 135, 27, 0.5); */
    }
    40%,
    60% {
        box-shadow: 0 0 30px 10px var(--sub-opa-25);
        /* -webkit-box-shadow: 0 0 30px 10px rgba(231, 135, 27, 0.25); */
    }
}
/* 992 */
@media only screen and (max-width: 992px) {
    .nav-item{
        border-right: none!important;
    }
    .nav-item.first{
        border-left: none!important;
    }
}
.header-top{
    background-color: var(--sub);
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}



.card-table {
    border: solid 1px #e2e5ea;
    border-radius: 14px;
    padding: 3rem;
}

.my-custom-table{
    color: #fff; /* สีข้อความที่กำหนดเอง */
}



/* การแสดงผลมือถือ */
@media (max-width: 769px) {
    .container.d-block.d-sm-none.py-3 {
        display: block !important; /* แสดง container เมื่อหน้าจอมีขนาดไม่เกิน 769px */
    }
}

@media (min-width: 770px) {
    .container.d-block.d-sm-none.py-3 {
        display: none !important; /* ซ่อน container เมื่อหน้าจอมีขนาดมากกว่า 769px */
    }
}




.navbar {
    background-color:#0b0b0ee5;
    border-bottom: solid 1px rgba(20, 19, 32, 0.6);
}

/* Navbar color */
.color-fontnav {
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
    border-radius: 12px;
}

.color-fontnav:hover {
    color:rgb(255, 255, 255);
    background-color:var(--main, 0.9);
    border-radius: 12px;
}
.color-fontnav:focus{
    color:rgb(184, 184, 184);
    font-weight: 600;
}

/* Offcanvas background */
.offcanvas {
    background-color:rgba(13, 14, 20, 0.918);
    backdrop-filter: blur(10px);
}

/* Button close style */
.offcanvas .btn-close-x {
    font-size: 13px;
        background-color: var(--main);
        border: solid 1px var(--sub);
    border-radius: 8px;
    color:#ffffff;
}

/* Dropdown items style */
.card-user {
    color: #FFF;
    border: solid 1px #5ec053;
    background-color: #352c5190;
    border-radius: 8px;
}

.card-user:hover {
    background-color: #aa000000;
    border: none;
}

/* Button styles */
.btn-log {
    font-size: 14px;
    color: #fff;
    border: solid 1px transparent;
}
.btn-log-1 {
    font-size: 14px;
    color: #fff;
    background-color: #242624;
    border: solid 1px #3e3e3e;
    border-radius: 8px;
}
.btn-log:hover {
    background-color: #242624;
    border: solid 1px #3e3e3e;
    border-radius: 8px;
    color: #fff;
}
.btn-log-1:hover {
    background-color: #242624;
    border: solid 1px #3e3e3e;
    border-radius: 8px;
    color: #fff;
}
.btn-register {
    background-color: #4182f490;
    border: solid 1px #4182f4;
    border-radius: 8px;
    font-size: 14px;
    color: #fff;
}

.btn-register:hover {
    color: #fff;
    background-color: rgb(23, 44, 80);
}

@media only screen and (max-width: 600px) {
    .btn-log, .btn-register {
        text-align: center;
        width: 50%;
    }
    .btn-log {
        border: solid 1px #3e3e3e;
        border-radius: 8px;
    }
}

/* Search bar */
.search {
    outline: none;
    font-size: 14px;
    border: solid 1px #232c21;
    border-radius: 1.5vh;
    background-color: #232c21;
    color: #fff;
}

.link-dropcolor {
    color: #fff;
}
.link-dropcolor:hover{
    background-color: #4182f498;
    border-bottom: solid 2.2px #4182f4;
    color:#fff;
    border-radius: 3px;
}
.link-dropcolor:focus{
    color:rgb(216, 216, 216);
    border: none;
}



.dezen-manu {
    background: rgb(255, 255, 255);
    background: linear-gradient(12deg, #000000dc 0%, var(--sub) 66%, var(--main) 95%);
    border-radius: 18px 18px 0px 0px;
  }
  


.btn-regis {
    background: rgb(255, 255, 255);
    background: linear-gradient(12deg, var(--main) 0%, var(--sub) 66%, var(--sub) 95%);
    border: solid 1px var(--sub);
    border-radius: 12px;
    font-weight: 600;
    color:#ffffff;
  }
  .btn-regis:hover {
    color: #ffffff;
  }
  .btn-regis:focus{
    box-shadow: none;
    cursor: pointer;
  }
  .btn-login {
    background-color: #323435;
    border-radius: 12px;
    font-weight: 600;
  }
  .btn-login:focus{
    box-shadow: none;
    background-color: #1e1f27;
  }


  .dropdown-menu {
    display: none;
    position: absolute;
    z-index: 1000;
}

/* แสดงเมนูเมื่อ hover ที่ div */
.profile-dropdown:hover .dropdown-menu {
    display: block;
}

/* จัดการลำดับการวาง */
.profile-dropdown {
    position: relative;
    display: inline-block;
}




 .btn-manutab {
     background: rgba(26, 30, 42, 0.308);
     border-radius: 12px;
 }

 .btn-manutab:focus {
     background-color: var(--main);
     border: none;
     box-shadow: none;
 }

 .btn-section-2 {
     font-size: 14px;
     color: #fff;
     background: #471ed8;
     background: linear-gradient(210deg, var(--main) 2%, var(--sub) 48%, var(--main) 100%);
     border: solid 1px var(--sub);
     border-radius: 8px;
 }

 .btn-section-2:hover {
    background: #471ed8 ;
        background: linear-gradient(210deg, rgb(23, 24, 26) 2%, rgb(17, 18, 19) 48%, rgb(15, 16, 17) 100%);
     color: #fff;
 }



.logout-btn, .admin-btn, .edit-pro,  .circle , .logout-page {
    border-radius: 12px;
    border-width: 1px;
    font-weight: bold;
    display: inline-flex; /* ใช้ flexbox เพื่อให้แนวตั้งและแนวนอนจัดตำแหน่ง */
    justify-content: center;
    align-items: center;
    border: solid 1px #fbb151;
}


.coin {
    font-weight: 500;
    border-radius: 1vh;
}

/* ปุ่ม Logout */
.logout-btn {
    background-color: #ee363690;
    border-color: #ee3636;
}
.logout-btn:hover {
    border: solid 1px #ee3636;
}

/* ปุ่ม Admin */
.admin-btn {
    background-color:rgba(18, 21, 27, 0.6);
    border-color:rgb(39, 36, 29);
}

/* ปุ่ม Edit Profile */
.edit-pro {
    color:rgb(49, 49, 49);
    background-color:rgb(18, 19, 24);
    border: solid 1px rgba(29, 23, 18, 0.411);         
}

/* รูปโปรไฟล์ */
.img-profile {
    border-radius: 50%;
    width: 25px;
    border: solid 1px rgb(68, 68, 68);
}

/* ปุ่ม Coin */
.coin {
    background-color: rgba(16, 19, 24, 0.6);
    border: solid 1px rgb(29, 32, 39);
    color: #83858a;
    padding: 8px 10px;
    font-size: 12px;
}

.coin:hover {
    border: solid 1px rgb(48, 52, 65);
}


/* ปุ่ม Circle สำหรับโปรไฟล์ */
.circle {
    width: 40px;
    height: 40px;
    background-color: rgb(23, 23, 26);
    border: solid 1px rgb(37, 36, 36);
    color:#fff;
    font-size: 14px;
    text-transform: uppercase;
}

.logout-page {
    width: 40px;
    height: 40px;
    background-color: rgba(75, 15, 15, 0.233);
    border: solid 1px rgb(121, 34, 34);
    color:#d62b2b;
    font-size: 14px;
    text-transform: uppercase;
}

/* ลิงก์ที่กำหนด */
.tout, .tout:hover {
    color: #f1f1f1;
}

.tout:hover {
    color: #FDFF69;
    border-bottom: solid 2px #FDFF69;
}

/* สไตล์สำหรับอุปกรณ์ที่มีหน้าจอเล็กกว่า 767px */
@media screen and (max-width: 767px) {
    .profile-link, .logout-link, .taghr, .topup-link, .coin, .xd {
        display: none;
    }
}

/* สไตล์สำหรับลิงก์ */
.custom-link {
    display: inline-block;
    max-width: 150px;
    width: auto;
}



.payment-card {
    background-color:#fff;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    border-radius: 14px;
    text-align: center;
    margin-bottom: 20px;
}
.payment-card img {
    max-width: 100px;
    margin-bottom: 10px;
}
.payment-status {
    font-size: 11px;
    color:#1fb81f;
    width: 100%;
}
.nav-bg {
background-image: linear-gradient(to right, #151511 0%, var(--main) 51%, var(--sub) 100%);
}
.btn-prompay {
background-color:#42568a;
color:#fff;
}
.btn-redeem {
background-color:#212225;
color:#fff;
}
.btn-redeem:hover {
background-color:#f2f2f2;
color:#151715;
}
.btn-slip {
background-color:#24ae35;
color:#fff;
}




#loading_spinner i {
vertical-align: middle;
}

.btn-back {
color: #fff;
background-color: #22242c;
border-radius: 10px;
}

.from-link {
color: #000;
background-color: #fff;
border: solid 1px #f4f4f4;
border-radius: 10px;
}
.from-link:focus{
color:#000;
border: solid 1px #eeeeee;
}
.btn-topup {
color: #fff;
background: rgb(65, 78, 151);
background: linear-gradient(165deg, #161618 8%, #2e2e32 100%);
border: solid 1px #404046;
border-radius: 10px;
}
.btn-topup:hover {
background-color: #3e823e;
}


.btn-topup-open {
background-color: #1e351d98;

border-radius: 16px;
font-size: 8px;
width: 50px;
text-align: center;
float: left;
}

.btn-topup-off {
color:#e24848;
background-color: #5d2e2e98;
border-radius: 16px;
font-size: 8px;
width: 50px;
text-align: center;
float: left;
}



.text-header-index{
    color: var(--sub);
    
}



.cardg {
    max-width: 100%;
    height: auto;
}

.cardg-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: solid 2px #24242f;
}

.cardg-container>img {
    object-fit: cover;
    background-position: center;
}

.cardg-container>.discount-badge {
    left: -2px;
    width: fit-content;
}


.productscorllfor-gp {
    display: flex;
    gap: 20px;
    height: auto;
    max-width: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
}

.productscorllfor-gp::-webkit-scrollbar {
    width: 3px;
    height: 5px;
}

.productscorllfor-gp::-webkit-scrollbar-track {
    background: none;
}

.productscorllfor-gp::-webkit-scrollbar-thumb {
    border-radius: 25px;
    background: -webkit-linear-gradient(360deg, var(--tran) 0%, var(--main) 100%);
}
.badge-x {
    background-COLOR:#de2727;
    font-size: 12px;
    padding: 1px 8px;
    border-radius: 50px;
    color:#fff;
    font-weight: 400;
    }
 .dis-x {
        font-size: 11px; 
        border-radius: 0px 0px 14px 0px;
        background-color:#24242f95;
}   










    .carousel-control-prev,
    .carousel-control-next {
        opacity: 0.5;
        transition: opacity 0.5s ease;
    }

    .carousel-control-prev:hover,
    .carousel-control-next:hover {
        opacity: 0.9;
    }

    /* ปรับแต่งไอคอน Previous */
    .carousel-control-prev-icon {
        background-image: url("data:image/svg+xml,%3Csvg width='64px' height='64px' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3cg id='SVGRepo_bgCarrier' stroke-width='0'%3E%3c/g%3E%3cg id='SVGRepo_tracerCarrier' stroke-linecap='round' stroke-linejoin='round'%3E%3c/g%3E%3cg id='SVGRepo_iconCarrier'%3E%20%3cpath d='M15 19.9201L8.47997 13.4001C7.70997 12.6301 7.70997 11.3701 8.47997 10.6001L15 4.08008' stroke='%23ffffff' stroke-width='1.5' stroke-miterlimit='10' stroke-linecap='round' stroke-linejoin='round'%3E%3c/path%3E%20%3c/g%3E%3c/svg%3E");
        background-size: 13px 13px;
        background-color: rgba(0, 0, 0, 0.3);
        border-radius: 50%;
        padding: 10px;
    }

    /* ปรับแต่งไอคอน Next */
    .carousel-control-next-icon {
        background-image: url("data:image/svg+xml,%3Csvg width='64px' height='64px' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3cg id='SVGRepo_bgCarrier' stroke-width='0'%3E%3c/g%3E%3cg id='SVGRepo_tracerCarrier' stroke-linecap='round' stroke-linejoin='round'%3E%3c/g%3E%3cg id='SVGRepo_iconCarrier'%3E%20%3cpath d='M8.91003 19.9201L15.43 13.4001C16.2 12.6301 16.2 11.3701 15.43 10.6001L8.91003 4.08008' stroke='%23ffffff' stroke-width='1.5' stroke-miterlimit='10' stroke-linecap='round' stroke-linejoin='round'%3E%3c/path%3E%20%3c/g%3E%3c/svg%3E");
        background-size: 13px 13px;
        background-color: rgba(0, 0, 0, 0.3);
        border-radius: 50%;
        padding: 10px;
    }

    /* ปรับตำแหน่งของปุ่ม */
    .carousel-control-prev {
        left: 5px;
    }

    .carousel-control-next {
        right: 5px;
    }
    
    




    /* ปุ่มสั่งซื้อ */
    .btn-shopx {
        color:#fff;
        border: none;
            background: var(--main);
            background: linear-gradient(12deg, var(--main) 0%, var(--sub) 66%, var(--sub) 95%);
    }

    .btn-shopx:hover {
        background-color: #25252a;
    }


    .img-popup {
        border-radius:10px; 
        box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    }

    /* Custom modal content styling */
    .custom-modal-content {
        background-color: #00000000; 
        background-size: cover;
        background-position: center;
        border-radius: 15px;
        border: none;
        color: #fff;
    }

    .modal-body {
        text-align: center;
        font-size: 1.2rem;
        font-weight: bold;
    }

    /* Close button styling */
    .btn-close-white {
        filter: invert(1);
    }
    .btn-light-x {
        color:#fff;
        background-color:#3d3d3d98;
    }
    .checkbox-x {
        background-color:#1c1d20;
    }
    .off-model-x {
        font-size:12px;
        
    }


    .btn-all {
        border-radius: 8px;
        text-decoration: none;
        font-size: 13px;
        color:#ffffff;
        border: solid 1px var(--sub);
        background: var(--main);
        background: linear-gradient(12deg, var(--main) 0%, var(--sub) 66%, var(--sub) 95%);
    }
    .btn-all:hover{
        color: #fff;
    }


    .manu-drop-index {
        border: solid 1px #232327; border-radius:0px 0px 18px 18px; 
        background-color:#0b0b0ef6;
    }
    .bg-hovermanu {
        color: #7d7e85;
    }

    .bg-hovermanu:hover{
        color: #fff;
        background-color: #101014dc;
        border-radius: 12px;
        border: solid 1px #18191b;
    }




    .status-badge {
        padding: 5px 10px;
        font-size: 14px;
        font-weight: bold;
        border-radius: 12px;
        display: inline-block;
    }

    .bg-pending-custom {
        background-color: rgba(73, 50, 14, 0.185);
            font-size: 11px;
            font-weight: 300;
            color: rgb(241, 174, 28);
    }

    .bg-success-custom {
        background-color: rgba(42, 107, 12, 0.185);
            font-size: 11px;
            font-weight: 300;
            color: rgb(44, 158, 34);
    }

    .bg-failed-custom {
        background-color: rgba(107, 12, 12, 0.185);
            font-size: 11px;
            font-weight: 300;
            color: rgb(182, 21, 21);
    }

    .text-table-custom {
        color:#ffffff
    }









    .shopbtn {
        border-radius: 1vh;
        background-color: #e34343;
        color: #fff;
    }

    .shopbtn:hover {
        background-color: #560000;
        color: #fff;
        filter: drop-shadow(8px 8px 20px red) invert(15%);
    }

    .tblu {
        text-transform: uppercase;
        background: linear-gradient(to right, #d51f1f 0%, #ff9f00 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-decoration: none
    }

    .tbbg {
        text-decoration: none;
        font-size: 13px;
        color: #4d4d4d;
    }

    .tbbg:hover {
        text-transform: uppercase;
        background: linear-gradient(to right, #d51f1f 0%, #ff9f00 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }


    .success-popupSwal {
        border-radius: 50px;
        background-color: #223320;
        border: solid 1px #447244;
        color:#fff;
    }

    .warning-popupSwal {
        border-radius: 50px;
        background-color: #342d1c;
        border: solid 1px #695532;
        color:#fff;
    }


    .error-popupSwal {
        border-radius: 50px;
        background-color: #3d2323;
        border: solid 1px #9d4545;
        color:#fff;
    }

    .Swal-Button {
        background-color: #14151696;
        border: solid 1px #323435;
        color:#fff;
        border-radius: 2.5vh;
        padding: 1rem 6rem;

    }

    .Swal-cButton {
        background-color: #84414198;
        border: solid 1px #b94242;
        color:#fff;
        border-radius: 1.5vh;

    }

   /* Inbox Button */
   .to-top {
        z-index: 999;
        color:#fff;
        font-size: 20px;
        position: fixed;
        bottom: 50px;
        left: 50px;
        width: 50px;
        border-radius: 50%;
        cursor: pointer;
        justify-content: center;
        align-items: center;
        transition: background-color 0.3s ease;
    }
    .to-top:hover{
        contain: 'ขึ้นไปด้านบน';
        color: #e0b420;
    }

    .text-contact {
        color:#fff;
        font-size: 13px;
        z-index: 999;
        position: fixed;
        bottom: 10px;
        right: 30px;
        font-weight: 600;
    }

    /* Inbox Button */
    .inbox-link {
        z-index: 999;
        position: fixed;
        bottom: 55px;
        right: 30px;
        width: 50px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #545454;
    }

    .inbox-link:hover {
        background-color: #63fb7e;
    }

    .inbox {
        max-width: 100%;
        height: auto;
        border-radius: 50%;
    }

    .text-muted {
        font-size: 13px;
    }


     /* สำหรับขนาดหน้าจอมือถือ */
     @media (max-width: 768px) {
        .left, .right {
            text-align: center;
        }
    }
    .footer {
        background-color:#141416;
        border-bottom: solid 1px rgba(46, 31, 26, 0.6);
        padding: 40px 0;
        }
        .footer h5 {
            color: #fff;
        font-weight: bold;
        }
        .social-img {
        width: 100%;
        max-width: 200px;
        }

        .footer p,
        .font-link {
            text-decoration: none;
            font-size: 13px;
            color:rgb(110, 112, 121);
        }
      
        .font-link:hover {
            color:rgb(253, 173, 80);
        }

        .fire-animation{
            margin-top: -10px
        }


        @media (min-width: 992px) {
            .col-lg-7ths {
            flex: 0 0 auto;
            width: calc(100% / 7);
            }
            .col-lg-8ths {
                flex: 0 0 auto;
                width: calc(100% / 8);
                }
        }


        .img-x {
            border-radius: 10px;
        }


                
        .zoomx {
            transition: all 0.3s;
        }
        .zoomx:hover {
            transform: translateY(-10px);
        }
            
    .product {
        position: relative;
        text-align: center;
        overflow: hidden;
        border-radius: 10px;
        /* border: 1px solid #ccc; */
        transition: all 0.3s ease;
        transition: all 0.5s;
    }

    #product-name {
        font-weight: bold;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #product-description {
        font-size: 13px;
        font-weight: lighter;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .product .product-img {
        height: auto;
        margin-left: auto;
        width: 100%;

        border-radius: 20px;
        transition: all 0.5s;
    }

    .product .product-imgx {
        height: auto;
        margin-left: auto;
        width: 100%;

        border-radius: 20px;
        transition: all 0.5s;
    }

    .product:hover .product-img,
    .product:focus .product-img {
        opacity: 0.3;
        filter: grayscale(100%) blur(1px);
    }

    .product:hover .product-imgx,
    .product:focus .product-imgx {
        opacity: 0.3;
    }

    .product:hover .view-label,
    .product:focus .view-label {
        top: 50%;
        transform: translate(-50%, -50%) scale(1);
    }
    .product:hover .view-labelx,
    .product:focus .view-labelx {
        top: 50%;
        transform: translate(-50%, -50%) scale(1);
    }

    .view-label {
        position: absolute;
        width: fit-content;
        height: 35px;
        padding-left: 12px;
        padding-right: 12px;
        padding-top: 6px;
        top: 50%;
        left: 50%;
        z-index: 99;
        font-size: 15px;
        text-align: center;
        border-radius: 8px;
        transform: translate(-50%, -50%) scale(0);
        transition: all 0.3s ease-in-out;
        color: var(--main);
        border: 1px solid var(--main);
    }
    .view-labelx {
        position: absolute;
        width: 100%;
        height: 35px;
        padding-left: 7px;
        padding-right: 7px;
        padding-top: 6px;
        top: 50%;
        left: 50%;
        z-index: 99;
        font-size: 14px;
        text-align: center;
        border-radius: 90px;
        transform: translate(-50%, -50%) scale(0);
        /* transform: translate(-50%, -50%); */
        transition: all 0.3s ease-in-out;
        color: black;
        border: 0px solid var(--main);
        line-height: 1.2;
    }

    .dezen-text-p{
        font-size: 13px;
        color:#ff9c04;
    }


    .cardg iframe {
        pointer-events: none;
      }






    .card-dezen {
        border: solid 1px #1c1d22;
        border-radius: 22px;
        background-color: #101013;
    }

    .card-dezen:hover {
        border: solid 0.5px var(--sub);
        transform: translateY(-10px);
    }

    .card-dezen img {
        border-radius: 20px 20px 0 0;
    }

    .card-box {
        background: var(--sub);
        background: linear-gradient(210deg, #0a0b0e 2%, #111216 100%);
        border-radius: 16px;
    }

    .card-box:hover {
        background: rgb(22, 23, 27);
    }

	 .card-box-2 {
			background: var(--sub);
			background: linear-gradient(210deg, var(--main) 2%, var(--sub) 50%, var(--main) 100%);
			border-radius: 16px;
		}

		.card-bo-2x:hover {
			background: rgb(22, 23, 27);
		}

  
    .card-box-1 {
        background-color: #040405d3;
        border-radius: 18px;
    }

    .card-box-1:hover {
        background: rgb(22, 23, 27);
    }


    .des-text {
        color: #858585;
        font-size: 12px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .des-comment {
        background-color: #141b16;
        color: #fff;
        border-radius: 18px;
        border: solid 1px #253229;
        padding: 2px 0;
    }




      .btn-close-dezen {
        background-color:#a4a4a4;
        color:#000;
        border-radius: 16px;
        border: none;
    }
    .custom-card {
        position: relative; /* เพิ่ม position: relative ให้กับ Card */
        margin-top: 20px;
        background-color: #131416;
        border: 1px solid #17181b; /* เส้นขอบของ Card */
        padding: 20px;
        border-radius: 14px;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
    }

    .custom-card .rounded-circle {
        position: absolute; /* กำหนดตำแหน่งแบบ absolute */
        top: -15px; /* ปรับค่านี้เพื่อให้วงกลมขึ้นไปทับเส้นขอบ */
        left: 2rem; /* จัดกึ่งกลางในแนวนอน */
        transform: translateX(-50%); /* จัดกึ่งกลางในแนวนอน */
    }
    .bg-circle {
        background-color:#12141a;
        border: solid 3px #ffc933;
    }
    .howtogame {
        text-decoration: none;
        color:#eb2727;
        font-size: 12px;

    }
    







    /* callout */
    .bd-callout {
        padding: 0.85rem;
        margin-bottom: 1.25rem;
        border: 1px solid #17181d;
        border-left-width: .25rem;
        border-radius: 1rem
    }

    .bd-callout h6 {
        color: #ffb835;
        font-size: 12px;
        margin-bottom: .50rem
    }

    .bd-callout h5{
        color:#fff;
        font-weight: 600;
        margin-top: 0;
        margin-bottom: .25rem
    }

    .bd-callout p:last-child {
        margin-bottom: 0;
        color:#69696d;
    }
   




    /* card-dezen-backend */
    .card-dezen-backend h4 {
        font-weight: 600;
    }
    .card-dezen-backend p {
        font-size: 13px;
        color: #dadada;
    }
    .card-dezen-backend {
        color: #fff;
        background-color: #1113186e;
        border: solid 1px #13131a;
        border-radius: 18px;
    }
    .card-dezen-backend .text-num {
        color: #476ce7;
    }
    .card-dezen-backend .alaet-help {
    background-color: #23233f63;
    font-size: 13px;
    border: solid 1px #394ec9;
    color: #82e77f;
    border-radius: 18px;
    padding: 4px 10px;
    text-decoration: none;
    }
    .card-dezen-backend .alaet-help:hover {
    background-color: #62ad5f63;
    }


    /* card-dezen-backend */
    .card-dezen-backend-1 h4 {
        font-weight: 600;
    }
    .card-dezen-backend-1 p {
        font-size: 13px;
        color: #a3a3a3;
    }
    .card-dezen-backend-1 {
        color: #fff;
        background-color: #1012166e;
        border: solid 1px #1a1c20;
        border-radius: 18px;
        box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 3px 0px;
    }
    .card-dezen-backend-1 .text-num {
        color: #476ce7;
    }
    .card-dezen-backend-1 .alaet-help {
    background-color: #23233f63;
    font-size: 13px;
    border: solid 1px #394ec9;
    color: #82e77f;
    border-radius: 18px;
    padding: 4px 10px;
    text-decoration: none;
    }
    .card-dezen-backend-1 .alaet-help:hover {
    background-color: #62ad5f63;
    }


    
    .modal-dialog-centered {
        display: flex;
        align-items: center;
        min-height: calc(100% - 1rem); /* จัดให้ modal อยู่ตรงกลาง */
    }
    .card-list-check {
        background-color:#111216;
        border: solid 1px #221a0d;
         border-radius: 16px;
        margin-bottom: 20px;
        padding: 1rem;
    }   
    .card-list-check:hover {
        border: solid 1px #f1a324;
    }   

    

    .price-card {
        border: 1px solid #dee2e6;
        border-radius: 5px;
        padding: 10px;
        text-align: center;
        margin-bottom: 10px;
    }


.lebel-seller {
    position: absolute;
    top: -10px;
    right: 10px;
    background-color: var(--main);
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 5px;
    z-index: 1;
}

@media (max-width: 768px) {
    .lebel-seller {
        top: -5px;
        right: 5px;
        padding: 3px 6px;
        font-size: 10px;
    }
}

.cps2 {
    position: relative;
    border: 1px solid #17181d;
    overflow: hidden; 
    border-radius: 18px;
    text-align: center;
    background-color: #0f1013;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cps2.active {
    background-color:#ff961d42;
    border: solid 1px #ffb923;
}

.cps2 h5 {
    color: #007bff;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.cps2 p {
    font-size: 0.85rem;
    color: #ebebeb;
}



.cps2 span.discounted {
    text-decoration: line-through;
    color: red;
    font-size: 1rem;
}

.cps2:hover {
    transform: translateY(-10px);
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    flex: 1 1 calc(33.33% - 20px);
    text-align: center;
}

.btn-disabled-v2 {
    background-color: #f8f9fa;
    color: #adb5bd;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-disabled-v2:hover {
    color: #adb5bd;
}

.btn-primary-v2 {
    background-color: var(--main);
    color: #fff;
}

.btn-primary-v2:hover {
    background-color: var(--main);
    color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-discount-v2 {
    background-color: var(--main);
    color: #fff;
}

.btn-discount-v2:hover {
    background-color: var(--main);
    color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .btn {
        flex: 1 1 100%;
        margin-bottom: 10px;
    }
}

.form-control {
    border-radius: 12px;
    font-size: 12px;
}

.form-select {
    border-radius: 10px;
    font-size: 12px;
}

.badge-discount {
    position: absolute;
    top: 10px;
    right: 50px;
    background-color: red;
    color: white;
    padding: 2px 5px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 12px;
}
        .tab {
            display: flex;
            gap: 2.5px;
            padding: 0.25rem;
            border-radius: 20px;
            background-color: rgba(8, 9, 14, 0.719);
        }

        .tab>.tab-item {
            color: #fff;
            cursor: pointer;
            padding: 6px 12px;
            border-radius: 20px;
            background: var(--sub);
            transition: all .75s ease;
        }

        .tab>.tab-item:hover {
            transform: scale(1.025);
        }

        .tab>.tab-item.active {
            background-color: #13161fb9;
        }

        .pritem {
            opacity: 1;
            visibility: visible;
            transition: all .55s ease;
        }


        .top-right {
            position: absolute;
            top: 2px;
            left: 10px;
        }

        .top-right1 {
            position: absolute;
            bottom: 10px;
            right: 10px;
        }

      
        .bg-glass {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
            backdrop-filter: blur(30px);
            -webkit-backdrop-filter: blur(30px);
            box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
        }

        .bg-glassx {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.396));
            backdrop-filter: blur(30px);
            -webkit-backdrop-filter: blur(30px);
            box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
        }

        .border-ys {
            border: 2px solid rgba(0, 0, 0, 0);
            transition: all .5s ease;
        }

        .border-ys:hover {
            border: 2px solid #2fa41c;
        }


        .text-deda {
            text-transform: uppercase;
            background: linear-gradient(to right, #ffb900 0%, #e31b1b 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .dd-99 {
            font-size: 13px;
            margin-top: -0.5rem;
            color: #a2a2a2;
        }

        .img-app {
            background-image: url(https://udeetopup.com/image/appremium1.png);
            background-repeat: no-repeat;
            background-position: center;
            background-size: cover;
            border-radius: 6px 6px 0px 0px;
            width: 100%;
        }

        .text-app {
            color: #606060;
        }

        .dedazen {
            background-color: #20c122;
            color: #fff;
        }

        .dedazen:hover {
            background-color: #ffcd00;
            border: solid 1px #ffbd00;
            color: #87ff57;
        }


        /* สถานะสินค้า */
        .btn-out {
            background-color: #521d1d98;
            border-radius: 8px;
        }

        .btn-out:hover {
            color: #de3535;
        }

        .app-strock {
            color: #55d131;
            font-size: 14px;
        }

        .text-x {
            color: #c42323;
        }

      

        .btn-dezen {
            background-color: #404040;
            border-radius: 8px;
            color: #000000;
            color: #f7f7f7;
            border: solid 1px #363636;
        }


        .bg-discorduser {
            background-color: #ae8af195;
            color: #4e20a5;
            border-radius: 12px;
            border: solid 1px #a785e6;
            font-size: 12px;
        }
    
        .bg-lineuser {
            background-color: #8ed47c9a;
            color: #54a130;
            border-radius: 12px;
            border: solid 1px #7dd375;
            font-size: 12px;
        }
    
        .bg-googleuser {
            background-color: #f18a8a95;
            color: #a52020;
            border-radius: 12px;
            border: solid 1px #e68585;
            font-size: 12px;
        }
    
        .bg-usernone {
            color: #cccccc;
            font-size: 10.5px;
        }
        .cus-alert-danger {
            background-color: #490e0e49;
            font-weight: 300;
                color: #a52020;
                border-radius: 12px;
                font-size: 10px;
        }
        .cus-alert-success {
            background-color: #237a1b49;
            font-weight: 300;
                color: #359432;
                border-radius: 12px;
                font-size: 10px;
        }
        .cus-alert-warring{
            background-color: #7a591b49;
                font-weight: 300;
                color: #eea825;
                border-radius: 12px;
                font-size: 10px;
        }
        .cus-alert-vip {
            background-color: #9030bd2c;
            font-weight: 300;
            color: #9544ff;
            border-radius: 12px;
            font-size: 10px;
        }
        .cus-alert-secondary {
            background-color: #20232c96;
                font-weight: 300;
                color: #a8a8a8;
                border-radius: 12px;
                font-size: 10px;
        }
        .btn-del {
            background-color: #b42c2c;
        }








        .tt {
            color: #3b3b3b;
          }
        
          .savebtn {
            color: #ca2525;
            background-color: #ffb3b3;
            border: none;
            padding: 0.4rem 1rem;
            border-radius: 1vh;
          }
        
          .ht {
            float: left;
            color: #cfcfcf;
          }
        
          .prodile-img {
            border: solid 1px var(--main);
            border-radius: 100%;
            background-color: #2c492f;
          }
        
        
            .link_menu{
                color:#dddddd;
                text-decoration: none;
            }
        
            .link_menu:hover{
                color: var(--main);
                border-bottom: solid 1px var(--sub);
            }
        
        
          .card-dz {
            background-color: #0b0b0fc4;
            border-radius: 18px;
            border: solid 1px #14131a;
          }
        
          .btn-dz {
            background-color: var(--main);
            color: #fff;
            border-radius: 16px;
          }
          .btn-dz:hover {
            background-color:#4cb937;
            color:#fff;
          }
        
          .name {
            font-weight: 600;
            color: #ebebeb;
          }
        
          .link-profile {
            text-decoration: none;
            color: #000;
          }
        
          .name-profile {
            color: #a78de1;
            font-weight: 500;
          }
        
          .btn-topup {
            color: #e5e5e5;
            background-color: #2a2e3d;
            border-radius: 5vh;
            border: solid 1px #3b3d4a;
            font-size: 12px;
          }
        
          .btn-topup:hover {
            color: #ff9f00;
          }
        
          .text-buy {
            color: #d3d3d3;
          }
        
          .name-buy {
            color: #63656d;
          }
        
          .btn-id {
            background-color: #141416;
            border-radius: 50px;
            color: #75bb5a;
            font-size: 13px;
          }
        
          .hr-line {
            border-top: solid 1px #5a616a;
            width: 90%;
            align-items: center;
          }





        .social-icon {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 50px; /* ปรับขนาดตามต้องการ */
            height: 50px; /* ปรับขนาดตามต้องการ */
            border-radius: 50%;
            background-color: rgb(17, 19, 22);
            box-shadow: 0 2px 4px rgba(30, 31, 39, 0.445); /* เพิ่มเงาเล็กน้อย */
            color: #888; /* สีไอคอนเริ่มต้น */
            text-decoration: none;
        }
    
        .social-icon i {
            font-size: 24px; /* ปรับขนาดไอคอน */
        }
    
        .social-icon.facebook {
            color: #1877f2; /* สี Facebook */
        }
         .social-icon.discord {
            color: #8a53a7; /* สี Discord */
        }
    
        .social-icon.line {
            color: #00c300; /* สี LINE */
        }
    
        .social-icon.google {
            color: #db4437; /* สี Google+ */
        }

        .custom-btn{
            background: var(--main);
            background: linear-gradient(210deg, var(--main) 2%, var(--sub) 48%, var(--main) 100%);
            border: solid 1px var(--sub);
            color:#ffffff;
            font-weight: 600;
            font-size: 18px;
        }
        .custom-btn:hover{
            border: solid 1px #19191f;
            color:#fff;
            background-color: #0f1013;
                background: linear-gradient(210deg, #0d0d11 2%, #19191f 48%,#0d0d11 100%);
        }


        .custom-card {
            background-color: #131416;
            border-radius: 18px; /* มุมโค้ง */
            box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
        }
    
        .custom-label {
            font-size: 14px;
            font-weight: 500;
            color: #e4e4e4; /* สีตัวอักษร */
        }
    
        .custom-input {
            border-radius: 12px;
            padding: 10px;
            font-size: 14px;
            color:#ebedf3;
            border: 1px solid #191a1f;
            background-color: #15161a;
            transition: all 0.3s ease; /* เพิ่มการเปลี่ยนแปลงที่นุ่มนวล */
        }   
    
        .custom-input:focus {
            background-color: #212227;
            color: #fafafa;
            border-color:#ff9900; /* สีกรอบเมื่อมีการเลือก */
            box-shadow: 0 0 5px #ffcd00; /* การเงาของช่องกรอก */
        }
    
    
        .custom-btn:focus {
            outline: none;
            box-shadow: 0 0 5px #4FC564;
        }
        
        .item .label-sold {
            position: absolute;
            top: 10px;
            left: 10px;
            color: #585858;
            padding: 5px;
            border-radius: 8px;
            font-size: 8px;
        }

        .card-anim-main {
            border: solid 1px #17171b;
            border-radius: 2vh;
            height: fit-content;
            background-color: #101013;
            box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
        }

                


        /* แถบนำทางครับ */
        .fixed-bottom {
            margin-top: 35rem;
            background-color: #08080af5;
            backdrop-filter: blur(-15px);
            /* สีพื้นหลัง */
            border-top: 1px solid #101113;
            /* เส้นขอบด้านบน */
            box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
            /* เงา */
        }

        .fixed-bottom a {
            display: flex;
            flex-direction: column;
            align-items: center;
            color: #495057;
            /* สีข้อความ */
        }

        .fixed-bottom a svg {
            margin-bottom: 5px;
            /* ระยะห่างระหว่างไอคอนกับข้อความ */
        }

        .fixed-bottom a.active {
            color: #ffffff;
            /* สีข้อความเมื่อเลือก */
        }

        /* แสดงผลบน iPad (ขนาดหน้าจอ 768px ขึ้นไป) */
        @media (min-width: 768px) {
            .fixed-bottom {
                display: flex;
                justify-content: center;
                /* จัดให้อยู่ตรงกลาง */
            }

            .fixed-bottom .container {
                width: 768px;
                /* กำหนดความกว้างของคอนเทนเนอร์ */
            }
        }

.btn-edit-backend{
    background-color: #ecb223;
    border: none;
    padding: 0.65rem;
    border-radius: 14px;
}



/* แถบนำทางครับ */
.fixed-bottom {
    border-radius: 18px 18px 0 0;
    background: rgb(0, 147, 255);
    background: linear-gradient(6deg, #0e0f113b 2%, #0f1013b0 100%);
    backdrop-filter: blur(15px);
    border: none;
    /* เส้นขอบด้านบน */
    box-shadow: rgba(20, 40, 70, 0.2) 0px 7px 29px 0px;
}
.text-nav-bottom {
    font-size: 10px;
    color: #d0d7dd;
    margin-top: 4px;
    transition: color 0.3s ease;
}
.text-nav-bottom:hover {
    font-size: 10px;
    color: var(--main);
    margin-top: 4px;
    transition: color 0.3s ease;
}

.fixed-bottom a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #495057;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.fixed-bottom a:hover,
.fixed-bottom a:focus {
    transform: scale(1.2);
}

.fixed-bottom a.active {
    color: #ffffff;
    /* สีข้อความเมื่อเลือก */
}

/* แสดงผลบน iPad (ขนาดหน้าจอ 768px ขึ้นไป) */
@media (min-width: 768px) {
    .fixed-bottom {
        display: flex;
        justify-content: center;
        /* จัดให้อยู่ตรงกลาง */
    }

    .fixed-bottom .container {
        width: 768px;
        /* กำหนดความกว้างของคอนเทนเนอร์ */
    }
}



#table_filter input[type="search"] {
		border-radius: 13px;
		border: solid 1px #373a42;
	 	 color: #fff ;/* แทนที่ #ของคุณต้องการ ด้วยรหัสสีที่คุณต้องการ */
		padding: 0.5rem;
		font-size:12px;
	}

:root {
    --or : #c2c9da;
    --pro : #585d6a;
    --border-dark: rgba(51,54,62,1);
    --new-dark: rgba(38,41,47,1);
    --new-gray: rgb(242,242,242);
    --blue: #007bff;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #e83e8c;
    --red: #dc3545;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --green: #28a745;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #fff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --primary: #007bff;
    --secondary: #6c757d;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --sec-color: #ff94b1;
    --dark-light:  rgb(169,174,186);
}
.hover-nav:hover{
    color: #000!important;    
    transition: 0.4s;
}
.bg-main{
    background-color: var(--or);
}
.text-strong{
    font-weight: 800;
}
.bottom-new-dark{
    border: 2px solid var(--border-dark);
}
@keyframes float{
    0% {
       transform: translatey(0px);
    }
    50% {
       transform: translatey(-50px);
    }
    100% {
       transform: translatey(0px);
    }
}
.btn-menu:hover{
    transform: scale(1.1);
    transition: 0.4s;
}
.img-radius{
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
}
.bg-pro{
    background-color: var(--new-gray);
    color: #fff!important;
}
.main-badge{
    padding-left: 20px;
    padding-right: 20px;
    background-color: var(--or);
    border-radius: 10px;
}

.statistic-hover:hover{
    transform:  scale(1.05);
}
.border-sta{
    border: 2px solid var(--dark-light);
}
.bg-nav-bar{
    /* background: rgb(99,11,11);
    background: linear-gradient(0deg, rgba(99,11,11,1) 0%, rgba(255,38,38,1) 90%); */
    background-color: #000;
}
.float-ani{
    animation: float 4s ease-in-out infinite;
}
.bg-yw-gra{
    background: rgb(99,11,11);
    background: linear-gradient(0deg, rgba(99,11,11,1) 0%, rgba(255,38,38,1) 90%);
}
.bg-yw-gra-flip{
    background: rgb(99,11,11);
    background: linear-gradient(180deg, rgba(99,11,11,1) 0%, rgba(255,38,38,1) 90%);
}
.btn-contain .card-body img{
    margin-bottom: 20px;
}
.btn-or-gra{
    background: rgb(80,93,255);
background: linear-gradient(90deg, rgba(80,93,255,1) 0%, rgba(106,180,255,1) 100%);
}
.bottom-or{
    
    border-bottom: 3px solid rgba(255,38,38,1);
    border-radius: 6px;
}
.border-wrap {
    border-style: solid;
    border-width: 5px;
    border-image:  linear-gradient(rgba(244,125,51,1), rgba(255,234,30,1)) 1;
    border-radius: 10px;
}
.text-or{
    color: var(--or);
}
.btn-hover-action-red:hover{
    filter: grayscale(50%);
    transition: 0.7s;
}
.border-or{
    border: 3px solid rgba(255,38,38,1)!important;
}
hr{
    opacity: 1.0;
    border-top: 2px solid rgb(255,255,255);
}



.sidebar {
  position: fixed;
  top: 0;
  left: -260px; /* ซ่อนอยู่ทางซ้ายตามค่าเริ่มต้น */
  height: 100%;
  width: 260px;
  display: flex;
  flex-direction: column;
  background-color: rgb(9, 10, 12);
  border-right: 1px solid #181b20;
  overflow: hidden;
  z-index: 99998;
}

.sidebar .sidebar-header {
  display: flex;
  align-items: center;
}
.sidebar .sidebar-header img {
  width: 44px;
  border-radius: 50%;
  border: solid 2px #656cac
}
.sidebar .sidebar-header h2 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  white-space: nowrap;
  margin-left: 12px;
}
.sidebar-links h4 {
  color: #9ca3af;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  margin: 16px 0 6px;
  position: relative;
}
.sidebar-links h4 span {
  opacity: 1;
}
.sidebar-links .menu-separator {
  display: none;
}
.sidebar-links {
  list-style: none;
  margin-top: 12px;
  margin-left: 0;
  height: 100%;
  overflow-y: auto;
  scrollbar-width: none;
  z-index: 9999;
}
.sidebar-links::-webkit-scrollbar {
  display: none;
}
.sidebar-links li a {
  display: flex;
  align-items: center;
  gap: 0 14px;
  color: #fff;
  font-weight: 500;
  font-size: 13px;
  white-space: nowrap;
  padding: 10px 12px;
  text-decoration: none;
  transition: 0.2s ease;
}
.sidebar-links li a:hover {
  color: #e5f0ff;
  background: #0d0f13c0;
  border-right: 3px solid #3eaa47;
}
.user-account {
  margin-top: auto;
  padding: 10px 8px;
}
.user-profile {
  display: flex;
  align-items: center;
  color: #fcfcfc;
}
.user-profile img {
  width: 42px;
  border-radius: 50%;
  border: 2px solid #3ccc48;
}
.user-profile h3 {
  font-size: 1rem;
  font-weight: 600;
}
.user-profile span {
  font-size: 0.600rem;
  font-weight: 500;
  margin-top: -10px;
}
.user-detail {
  margin-left: 10px;
  white-space: nowrap;
}
.user-profile .role {
  background-color: #111827;
  font-size: 10px;
  border-radius: 999px;
  color: #60a5fa;
  padding: 2px 6px;
}
.sidebar .user-account {
  background: #0a0b0f;
  border-radius: 12px;
  border: 1px solid #171c24;
}

.btn-manu {
    background-color: #17181d;
    border: solid 1px #282930;
    border-radius: 8px; 
    color:#fff;
}
.btn-manu:focus{
    color: #6375dd;
    border: solid 1px #383d5e;
}



/* Sidebar when opened */
.sidebar.open {
  left: 0;  /* เมื่อคลิกปุ่มให้แสดง Sidebar */
  box-shadow: 0 0 24px rgba(15, 23, 42, 0.7);
}

/* Toggle button */
#sidebar-toggle {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1000;
}

/* Hide toggle button when Sidebar is open */
#sidebar-toggle.hide {
  display: none;  /* ซ่อนปุ่มเมื่อ Sidebar เปิด */
}


.tblu-1 {
  border:none;
  padding:0.5rem;
  border-radius:1vh;
  color:#f4f4f4;
  background: linear-gradient(to right,rgb(51, 73, 199) 0%,rgb(33, 36, 48) 100%);
}
.bg-from {
background-color:#030508; 
border:none;
margin-top:0.5rem;
border-radius:1vh;
font-size: 14px;
}
.dedazen_boder {
border: solid 1px rgb(38, 40, 51);
color:#cecece;
}  




/* card-dezen-topup */
.card-dezen-topup {
  text-decoration: none;
  color: #fff;
  background-color: #0f0f11;
  border: solid 1px #1b1c1e;
  border-radius: 18px;
}
.card-dezen-topup img {
  width: 95px;
}
.card-dezen-topup h3{
  float: right;
  font-weight: 600;
}
.card-dezen-topup p {
  float: right;
  font-size: 13px;
  color: #969696;
  margin-top: -3.5rem;
}

.card-dezen-topup .btn-topup-open {
    background-color: #3e922849;
    color: #5bdd41;
}


/*  card-popup  */
.card-popup  {
    backdrop-filter: blur(15px);
    background-color: #1011145b;
    border: solid 1px #202127;
    border-radius: 16px;
}

.modal-body .card-box {
    border: solid 1px #3d3d3d00;
    background-color: #13141a95;
    border-radius: 10px;
}


.hr-border {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent 50%, #33333d 50%);
  background-size: 10px 100%; 
  margin-top: 20px; 
  margin-bottom: 20px;
}

.font-des-text {
    color: #7f7f7f;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-clamp: 2; /* กำหนดจำนวนบรรทัดที่ต้องการ */
    -webkit-line-clamp: 2; /* รองรับสำหรับ Webkit-based browsers */
    max-height: calc(1.1em * 2); /* 1.2em คือความสูงต่อบรรทัด, คูณด้วยจำนวนบรรทัด */
}
.contact-dezen {
    background-color: #1d1d22;
    border: solid 1px #343a40;
    border-radius: 14px;
    color: #fff;
    padding: 1rem;
}

.contact-dezen:hover {
    border-left: solid 1.5px var(--main)
}

.img-dezen {
    border-radius: 1vh;
}
/* Contact Style */
.cr-contact {
    background-color: #1d1d22;
    font-size: 10px;
    color: #fff;
    border-radius: 12px;
}
.btn-dezen {
    color: #fff;
    background-color: #34343d;
    border-radius: 12px;
    border: solid 1px #2d2d36;
    text-decoration: none;
}

.btn-dezen:hover {
    color: #585d6a;
}







@layer demo {
    #pie {
      --ng: 120deg; /* can be set via slider */
      --thickness: 3px;
      --_inner: calc(70% - var(--thickness));
      --_outer: calc(var(--_inner) + 1px); /* fixes aliasing */
      
      /* hides the inner part of the conic gradient */
      mask: radial-gradient(circle, #0000 var(--_inner), #000 var(--_outer));
      
      /* the conic gradient, transparent after --ng */
      background-image: conic-gradient(#476ce7, #242744 var(--ng), #0000 0);
    }
  }
  
  @layer demo.support {
    #pie {
      aspect-ratio: 1;
      inline-size: 20vh;
      border-radius: 50%;
    }
    
    .chart {
      display: grid;
      place-items: center;
    }
    
    .chart > * {
      grid-area: 1/1;
    }
    
    .chart > h3 {
      font-variant-numeric: tabular-nums;
    }
}






/* Custom Css */

.close-btndezenx {
  background: rgb(65, 95, 151);
        background: linear-gradient(165deg, rgb(17, 43, 100) 8%, rgb(33, 155, 255) 100%);
  border: solid 1.5px #4f81ff;
  border-radius: 8px;
}
.menu-text {
  font-size: 16px;
  color: #fff;
}


.bg-discorduser,
.bg-lineuser,
.bg-googleuser {
    display: inline-block;
    width: 80px;
    /* ปรับขนาดความกว้างตามต้องการ */
    text-align: center;
    padding: 5px 10px;
    margin: 2px;
    border-radius: 12px;
}

/* Marquee for announcement text */
.font-des-text-wrapper {
  overflow: hidden;
  white-space: nowrap;
  text-align: left;
}

.font-des-text-inner {
  display: inline-block;
  animation: marquee-ann 20s linear infinite;
}

@keyframes marquee-ann {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Ensure announcement text starts from left inside card */
.css-1nfkag8 .chakra-text.css-0 {
  text-align: left;
}

 .popup-card {
        background-color: #0e0e11;
        border: 1px solid #1f1f24;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 20px 60px rgba(0,0,0,0.8);
        position: relative;
    }
    .btn-close-popup {
        position: absolute;
        top: 12px;
        right: 12px;
        z-index: 1055;
        background: rgba(14, 14, 17, 0.7);
        border: 1px solid #1f1f24;
        color: #8a8a93;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        backdrop-filter: blur(4px);
        transition: all 0.2s;
    }
    .btn-close-popup:hover {
        background: #1f1f24;
        color: #fff;
        transform: scale(1.05);
    }
    .popup-caption {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        font-size: 14px;
        font-weight: 500;
        color: #f5f5f5;
        padding: 30px 20px 15px;
        background: linear-gradient(0deg, rgba(14, 14, 17, 0.95) 0%, rgba(14, 14, 17, 0.6) 50%, transparent 100%);
        text-align: center;
    }
    .popup-footer {
        padding: 15px 20px;
        background-color: #121216;
        border-top: 1px solid #1f1f24;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }
    .btn-popup-enter {
        background-color: #fff;
        color: #000;
        border: none;
        font-weight: 600;
        font-size: 14px;
        border-radius: 8px;
        padding: 9px 15px;
        flex: 1;
        transition: all 0.2s;
    }
    .btn-popup-enter:hover {
        background-color: #e4e4e7;
    }
    .btn-popup-hide {
        background-color: transparent;
        color: #ef4444;
        border: 1px solid #ef4444;
        font-weight: 500;
        font-size: 13px;
        border-radius: 8px;
        padding: 9px 15px;
        transition: all 0.2s;
    }
    .btn-popup-hide:hover {
        background-color: rgba(239, 68, 68, 0.1);
    }
    .custom-carousel-btn {
        width: 40px;
        height: 40px;
        background: rgba(14, 14, 17, 0.5);
        border: 1px solid #1f1f24;
        border-radius: 50%;
        top: 50%;
        transform: translateY(-50%);
        backdrop-filter: blur(4px);
        opacity: 0.7;
        margin: 0 15px;
    }
    .custom-carousel-btn:hover {
        opacity: 1;
        background: rgba(14, 14, 17, 0.8);
    }

    #popupCarousel .carousel-item {
        transition: transform .6s ease-in-out, opacity .6s ease-in-out;
    }
    #popupCarousel img {
        backface-visibility: hidden;
        transform: translateZ(0);
        border-radius: 16px 16px 0 0;
    }

    .home-hero {
        position: relative;
        min-height: 30vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 3rem 1rem;
        overflow: hidden;
    }
    .home-hero-bg {
        position: absolute;
        inset: 0;
        background-image:
            linear-gradient(to top, rgba(5, 6, 8, 0.92), transparent),
            linear-gradient(to top, rgba(5, 6, 8, 0.75), transparent),
            linear-gradient(to top, rgba(5, 6, 8, 0.5), transparent),
            url(<?= json_encode($config['bg'] ?? '') ?>);
        background-size: cover;
        background-position: center;
        z-index: -1;
        filter: blur(8px);
        transform: scale(1.03);
    }

    .gaming-title {
        font-size: 3.5rem;
        font-weight: 900;
        letter-spacing: 4px;
        position: relative;
        color: white;
        animation: glitch-skew 2s infinite linear alternate-reverse;
    }
    .gaming-title::before,
    .gaming-title::after {
        content: attr(data-text);
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        overflow: hidden;
    }
    .gaming-title::before {
        color: var(--main);
        z-index: -1;
        animation: glitch-top 1.5s infinite linear alternate-reverse;
    }
    .gaming-title::after {
        color: var(--sub);
        z-index: -2;
        animation: glitch-bottom 1.5s infinite linear alternate-reverse;
    }
    @keyframes glitch-top {
        0% { clip-path: inset(0 0 80% 0); transform: translate(-2px,-2px); }
        50% { clip-path: inset(10% 0 60% 0); transform: translate(2px,2px); }
        100% { clip-path: inset(0 0 80% 0); transform: translate(-2px,0); }
    }
    @keyframes glitch-bottom {
        0% { clip-path: inset(80% 0 0 0); transform: translate(2px,2px); }
        50% { clip-path: inset(60% 0 10% 0); transform: translate(-2px,-2px); }
        100% { clip-path: inset(80% 0 0 0); transform: translate(2px,0); }
    }
    @keyframes glitch-skew {
        0% { transform: skew(0deg); }
        100% { transform: skew(2deg); }
    }

    .announcement-bar {
        display: flex;
        align-items: center;
        background-color: #0e0e11;
        border: 1px solid #1f1f24;
        border-radius: 12px;
        padding: 4px;
        margin-bottom: 25px;
        position: relative;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    }
    .announcement-badge {
        background: linear-gradient(135deg, var(--main) 0%, var(--sub) 100%);
        padding: 16px 16px;
        border-radius: 8px;
        z-index: 2;
        display: flex;
        align-items: center;
        gap: 6px;
        box-shadow: 2px 0 10px rgba(0,0,0,0.5);
        white-space: nowrap;
    }
    .marquee-wrapper {
        flex: 1;
        overflow: hidden;
        position: relative;
        display: block;
        align-self: center;
        -webkit-mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
        mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
    }
    .marquee-track {
        color: #fff;
        display: inline-block;
        white-space: nowrap;
        padding-left: 100%;
        animation: marquee-scroll 15s linear infinite;
    }
    .marquee-wrapper:hover .marquee-track {
        animation-play-state: paused;
    }
    @keyframes marquee-scroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(-100%); }
    }
    .card-price-tag {
        z-index: 9999999;
        position: absolute;
        right: 15px;
        top: 0;
        color: #fff;
        font-size: 0.6rem;
        font-weight: 600;
        padding: 4px 8px;
        border: solid 1px #1c1e27;
        border-radius: 0 0 5px 5px;
        background: #101118;
    }
    .product-card-col {
        display: flex;
        flex-direction: column;
        position: relative;
    }
    .product-card-col .card-anim-main {
        flex: 1;
        min-height: 0;
        display: flex;
        flex-direction: column;
    }
    .product-card-col .card-anim-main .card-body {
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    .product-price-row {
        min-height: 2.25rem;
        display: flex;
        align-items: center;
    }
    .card-flash {
        border-color: #7a2115 !important;
        box-shadow: 0 0 18px rgba(187, 23, 23, 0.4);
    }
    .flash-sale-badge {
        position: absolute;
        left: 18px;
        z-index: 9999;
        padding: 3px 8px;
        font-size: 0.65rem;
        border-radius: 0 0 5px 5px;
        background: linear-gradient(90deg, #ad1919 0%, #ff4f09 100%);
        color: #fff;
        font-weight: 600;
    }
    .price-old {
        text-decoration: line-through;
        color: #a0a0a0;
        font-size: 12px;
        margin-right: 6px;
    }
    .price-new {
        color: #ffb600;
        font-size: 20px;
        font-weight: 700;
        animation: flashPulse 1.2s ease-in-out infinite alternate;
    }
    @keyframes flashPulse {
        from {
            transform: scale(1);
            text-shadow: 0 0 6px rgba(255, 182, 0, 0.6);
        }
        to {
            transform: scale(1.04);
            text-shadow: 0 0 14px rgba(255, 182, 0, 0.9);
        }
    }