@import url('https://fonts.googleapis.com/css2?family=Anuphan:wght@100..700&family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* สำหรับ Input โดยรวมทั้งหมด */
input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
textarea,
select {
    font-size: 16px !important;
}

#uid_player {
    font-size: 16px !important;
}

.form-control-lg {
    font-size: 16px !important;
}


.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: "Kanit", sans-serif;
}

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:#291266; */
    background: #ff7809;
    background: radial-gradient(circle, rgb(11, 11, 17) 0%, rgb(6, 6, 8) 100%);
    border-bottom: solid 1px rgba(105, 84, 44, 0.082);
}

/* 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: #121216;
    background-color: #ffffff;
    border: solid 1px #ececec;
    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: #ffffff;
    border-radius: 12px;
    font-weight: 600;
    color: #191824;
}

.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: rgb(74, 173, 66);
    border: solid 1px rgb(57, 117, 49);
    border-bottom: solid 3px rgb(57, 117, 49);
    color: #d5d6db;
    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, #381803 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: #d14040;
    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: 2px;
}

.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 1.5px var(--sub);
    box-shadow: rgba(30, 135, 255, 0.16) 0px 10px 36px 0px, rgba(43, 160, 255, 0.06) 0px 0px 0px 1px;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #12121cde 0%, #0e1016 50%, #08080de4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cardg-container>img {
    object-fit: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Placeholder icon for missing images */
.cardg-container::after {
    content: "🎮";
    font-size: 2rem;
    opacity: 0.4;
    position: absolute;
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.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: #0a0b1bc0;
}










.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;
}


.btn-shopx-off {
    color: #fff;
    border: none;
    background: #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;
}

.modal-bodyx {
    font-size: 1.2rem;
    font-weight: bold;
}

.model-backend {
    background-color: #00000000;
    backdrop-filter: blur(10px);
}

/* 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;
}




/* 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;
}


.card-spingame {
    background-color: #1b1b1f00;
    border-radius: 14px;

}

.spin-game {
    border: solid 1px #1a1b1f;
    border-radius: 12px;
}


.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
    /* จัดให้ modal อยู่ตรงกลาง */
}

.card-list-check {
    background-color: #111216;
    border: solid 1px #343750;
    border-radius: 16px;
    margin-bottom: 20px;
    padding: 1rem;
}

.card-list-check:hover {
    border: solid 1px #343747;
}



.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 var(--sub);
    overflow: hidden;
    border-radius: 18px;
    text-align: center;
    background: #0b0b11;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: rgba(255, 163, 42, 0.16) 0px 10px 36px 0px, rgba(214, 118, 9, 0.06) 0px 0px 0px 1px;
}

.checkmark-icon {
    position: absolute;
    top: 5px;
    /* Adjust as needed for desired spacing from top */
    right: 10px;
    /* Adjust as needed for desired spacing from right */
    color: #6df871;
    /* Green color for the checkmark */
    font-size: 14;
    /* Adjust size as needed */
    display: none;
    /* Hidden by default */
    z-index: 10;
    /* Ensure it's above other content */
}

.cps2.active .checkmark-icon {
    display: block;
    /* Show the icon */
}

.checkmark-icon {
    position: absolute;
    top: 5px;
    /* Adjust as needed for desired spacing from top */
    right: 10px;
    /* Adjust as needed for desired spacing from right */
    color: #6df871;
    /* Green color for the checkmark */
    font-size: 14;
    /* Adjust size as needed */
    display: none;
    /* Hidden by default */
    z-index: 10;
    /* Ensure it's above other content */
}

.cps2.active .checkmark-icon {
    display: block;
    /* Show the icon */
}

.cps2.active {
    background-color: #0a0813;
    border-bottom: solid 3px var(--sub);
}

.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: #50a752;
    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;
}


.bgx-discorduser {
    background-color: #5b2db1;
    color: #ffffff;
    border-radius: 12px;
    border: solid 1px #bb96ff;
    font-size: 12px;
}

.bgx-lineuser {
    background-color: #589745;
    color: #ffffff;
    border-radius: 12px;
    border: solid 1px #baffb3;
    font-size: 12px;
}

.bgx-googleuser {
    background-color: #d64242;
    color: #ffffff;
    border-radius: 12px;
    border: solid 1px #e68585;
    font-size: 12px;
}

.bgx-facebookuser {
    background-color: #3d91ff;
    color: #ffffff;
    border-radius: 12px;
    border: solid 1px #a8bfff;
    font-size: 12px;
}

.bgx-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-login-card {
    display: block;
    width: 100%;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    color: white;
    font-size: 0.8em;
    font-weight: bold;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.social-login-card:hover {
    text-decoration: none;
    color: #fff;
}

.social-login-card.line {
    background-color: #06C755;
    /* LINE green */
}

.social-login-card.line:hover {
    background-color: #05ae4a;
    /* Darker green on hover */
}

.social-login-card.google {
    background-color: #4285F4;
    /* Google blue */
}

.social-login-card.google:hover {
    background-color: #357ae8;
    /* Darker blue on hover */
}

.social-login-card.discord {
    background-color: #7289DA;
    /* Discord purple */
}

.social-login-card.discord:hover {
    background-color: #677bc4;
    /* Darker purple on hover */
}

.social-login-card svg {
    vertical-align: middle;
    /* จัดไอคอนให้อยู่กึ่งกลางกับข้อความ */
}

/* Optional: Adjust icon size if needed */
.social-login-card i.fa-brands {
    font-size: 1.5em;
    /* ทำให้ไอคอนใหญ่ขึ้น */
}



.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%);
}




.separator {
    display: flex;
    align-items: center;
    /* Vertically aligns the text in the middle of the line */
    text-align: center;
    /* Ensures the text inside the span is centered */
    color: #ececec;
    /* Your desired text color */
    font-size: 14px;
    /* Your desired font size */
    margin: 20px 0;
    /* Adds some space above and below the separator */
}

.separator::before,
.separator::after {
    content: '';
    flex-grow: 1;
    /* Allows the lines to take up available space */
    height: 1px;
    /* Thickness of the line */
    background-color: #2d303a;
    /* Color of the line */
}

.separator::before {
    margin-right: 15px;
    /* Space between the left line and the text */
}

.separator::after {
    margin-left: 15px;
    /* Space between the right line and the text */
}

.separator .text {
    padding: 0 10px;
    /* Optional: adds a little padding around the text if needed */
    white-space: nowrap;
    /* Prevents the text from wrapping */
}


.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;
}


.contact-index {
    text-decoration: none;
    font-size: 13px;
    color: #adadad;
}

.contact-index:hover {
    color: #fff;
}















/* swal2 */
.swal2-popup {
    border-radius: 50px;
    background: #070708;
    background: linear-gradient(9deg, rgba(7, 7, 8, 1) 0%, rgba(38, 39, 43, 1) 50%, rgba(18, 18, 20, 1) 100%);
    border: solid 1px #3D414A;
    color: #fff;
}

.success-popupSwal {
    border-radius: 50px;
    background: #172b17;
    background: linear-gradient(5deg, rgba(23, 43, 23, 1) 0%, rgba(86, 179, 107, 1) 66%);
    border: solid 1px #447244;
    color: #fff;
}

.warning-popupSwal {
    border-radius: 50px;
    background: #0e1326;
    background: linear-gradient(15deg, rgba(14, 19, 38, 1) 0%, rgba(58, 60, 99, 1) 50%, rgba(15, 13, 38, 1) 100%);
    border: solid 1px #565991;
    color: #fff;
}

.error-popupSwal {
    border-radius: 50px;
    background: #381616;
    background: linear-gradient(15deg, rgba(56, 22, 22, 1) 0%, rgba(143, 63, 63, 1) 50%, rgba(38, 13, 13, 1) 100%);
    border: solid 1px #9d4545;
    color: #fff;
}

.swal2-confirm {
    border-radius: 16px;
    background-color: #13131798;
    border: solid 1px #35373e;
}

.swal2-cancel {
    border-radius: 16px;
    background-color: #5d2323;
    border: solid 1px #a92525;

}

.swal2-icon {
    background-color: #13131798;
    border: solid 2px #fff;
}




.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 2147483645;
    box-sizing: border-box;
    width: 100%;
    background-color: #0d1014b7;
    backdrop-filter: blur(10px);

    /* กำหนดสถานะเริ่มต้นให้โปร่งใสและเลื่อนลงเล็กน้อย */
    opacity: 0;
    transform: translateY(20px);
    display: none;
    /* ซ่อนไว้ก่อน */
}

.cookie-consent-banner.show-animation {
    display: block;
    /* แสดงผล */
    animation: slideInUp 0.3s ease-out forwards;
    /* เรียกใช้ animation ตอนแสดง */
}

.cookie-consent-banner.hide-animation {
    animation: slideOutDown 0.3s ease-in forwards;
    /* เรียกใช้ animation ตอนซ่อน */
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOutDown {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

.cookie-consent-banner__inner {
    margin: 0 auto;
    padding: 32px 0;
}

.cookie-consent-banner__copy {
    margin-bottom: 16px;
}

.cookie-consent-banner__actions {}

.cookie-consent-banner__header {
    margin-bottom: 8px;
    font-weight: normal;
    font-size: 18px;
    line-height: 24px;
    color: #fff;
    font-weight: 600;
}

.cookie-consent-banner__description {
    font-weight: normal;
    color: #646872;
    font-size: 13px;
    line-height: 24px;
}

.cookie-consent-banner__cta {
    box-sizing: border-box;
    display: inline-block;
    min-width: 164px;
    padding: 11px 13px;
    border-radius: 12px;
    background-color: #19b863;
    border: none;
    color: #FFF;
    text-decoration: none;
    text-align: center;
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;
    transition: background-color 0.2s ease-in-out;
    /* เพิ่ม transition สำหรับ hover */
}

.cookie-consent-banner__cta--secondary {
    padding: 9px 13px;
    border: 2px solid #3A4649;
    background-color: transparent;
    border-radius: 12px;
    color: #19b863;
    transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out;
    /* เพิ่ม transition สำหรับ hover */
}

.cookie-consent-banner__cta:hover {
    background-color: #26794d;
}

.cookie-consent-banner__cta--secondary:hover {
    border-color: #19b863;
    background-color: transparent;
    color: #22C870;
}

.cookie-consent-banner__cta:last-child {
    margin-left: 16px;
}

.cookie-consent-banner.hidden-initial {
    display: none !important;
}


.btn-messger {
    background-color: #19b863;
    border: solid 1px #66ffad;
    border-radius: 12px;
}

.bg-messger {
    background-color: #0f1016a4;
    border: solid 1px #111114;
    border-radius: 12px;
    color: #afb0b6;
}

.bg-messger:focus {
    border: none;
}



#messages {
    position: fixed;
    /* ให้ติดอยู่กับหน้าจอ */
    bottom: 20px;
    right: 20px;
    left: 20;
    z-index: 9999;
    /* ให้แสดงทับเนื้อหาอื่น */
    display: flex;
    /* ใช้ flexbox เพื่อจัดเรียงในแนวตั้ง */
    align-items: flex-end;
    /* จัดชิดขวา */
    flex-direction: column-reverse;
}

.notification-message {
    font-size: 12px;
}

.notification-close-button {
    cursor: pointer;
    float: right;
    margin-top: -5px;
    margin-right: -5px;
    font-weight: bold;
    color: #d8d8d8;
}

.message-box {
    background-color: #0f1116de;
    border: 1px solid #191b1d;
    font-size: 12px;
    color: #727a8a;
    padding: 8px 12px;
    margin-bottom: 10px;
    border-radius: 5px;
    backdrop-filter: blur(10px);
    opacity: 1;
    /* ค่าเริ่มต้นความโปร่งใส */
    transition: opacity 1s ease-in-out;
    /* เพิ่ม transition เอฟเฟกต์ */
}

.red-dot {
    position: absolute;
    top: -3.5px;
    /* ปรับตำแหน่งแนวตั้ง */
    right: 5px;
    /* ปรับตำแหน่งแนวนอน */
    width: 8px;
    /* ขนาดของจุด */
    height: 8px;
    /* ขนาดของจุด */
    background-color: red;
    border-radius: 50%;
    /* ทำให้เป็นวงกลม */
    box-shadow: 0 0 5px red;
    /* เงาเริ่มต้น */
    animation: pulse-red 0.2s infinite alternate;
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 4px red;
    }

    100% {
        box-shadow: 0 0 15px red;
        /* เงาที่สว่างขึ้น */
    }
}

.hidden {
    opacity: 0;
}