 .text-red {
        color: red;
    }

 .text-truncate {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
 } 
.bg-transparent {
        background-color: transparent !important;
        color: white;
    }

 .wrapper {
        position: relative;
        overflow-x: hidden;
        max-width: 1000px;
    }

    .wrapper .icon {
        position: absolute;
        top: 0;
        height: 100%;
        width: 120px;
        display: flex;
        align-items: center;
    }

    .icon:first-child {
        left: 0;
        display: none;
        background: linear-gradient(90deg, #fff 70%, transparent);
    }

    .icon:last-child {
        right: 0;
        justify-content: flex-end;
        background: linear-gradient(-90deg, #fff 70%, transparent);
    }

    .icon i {
        width: 55px;
        height: 55px;
        cursor: pointer;
        font-size: 1.2rem;
        text-align: center;
        line-height: 55px;
    }

    .icon i:hover {
        background: #efedfb;
    }

    .icon:first-child i {
        margin-left: 0px;
    }

    .icon:last-child i {
        margin-right: 0px;
    }

    .wrapper .tabs-box {
        display: flex;
        gap: 12px;
        list-style: none;
        overflow-x: hidden;
        scroll-behavior: smooth;
    }

    .tabs-box {
        scroll-behavior: smooth;
        /* Enables smooth scrolling */
        overflow-x: auto;
        white-space: nowrap;
    }

    .tabs-box.dragging {
        /* scroll-behavior: auto; */
        cursor: grab;
    }

    .tab {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 4px;
    }

    .tabs-box .tab {
        cursor: pointer;
        font-size: 0.8rem;
        white-space: nowrap;
        /* border: 1px solid #d8d5f2; */
    }

    /*
    .tabs-box .tab:hover {
        background: #efedfb;
    }
*/

    .tabs-box.dragging .tab {
        user-select: none;
        pointer-events: none;
    }

    .tabs-box .tab.active {
        color: #fff;
        border-color: transparent;
    }

    .img-container {
        position: relative;
    }

    .img-border {
        position: absolute;
        top: 0;
    }

    .ps-rtp__dot {
        background-color: #e73812 !important;
        position: relative;
        display: inline-block;
        width: 10px;
        height: 10px;
        border-radius: 100%;
        vertical-align: middle;
        margin-right: 4px;
        background-color: #0573f3;
        transform: scale(1);
        box-shadow: 0 0 0 0 transparent;
    }


   .RotateTS {

        transition: transform 0.5s ease-in-out;
    }

    a {
        text-decoration: none;
    }

    body {
        font-family: 'Lato', sans-serif;
    }



    @media (max-width: 576px) {
        .offcanvas.show {
            width: 100%;
            max-width: 100%;
        }

    }

    @media (max-width: 430px) {
        .fs-sm {
            max-width: 144px;
        }

    }

    .container-fluid {
        max-width: 686px;
    }

    .fs-sm {
        font-size: 0.75rem !important;
        /* padding: 11px 6px !important; */
    }

    .navbar-toggler {
        border: 1px solid rgba(255, 255, 255, 0);
    }

    .navbar-toggler:focus {
        border: 1px solid rgba(255, 255, 255, 0);
        box-shadow: none;

    }

    .navbar-toggler-icon {
        font-size: 1.25rem;
        /* ปรับขนาดของไอคอนตามต้องการ */
        line-height: 1;
        /* ปรับขนาดของเส้นสูง */
    }

    .btn-theme-darkblue {
        background-color: #1c2131;
        color: #fff;
        border: none;
        box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, .5);
    }

    .btn-success {
        background-color: #83c556;
        color: #ffffff;
        border: none;
        box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, .5);
    }

    .btn-success:hover {
        background-color: #83c556;
        color: #ffffff;
        border: none;
        box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, .5);
    }

    .btn-success:focus {
        background-color: #83c556;
        color: #ffffff;
        border: none;
        box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, .5);
    }

    .btn-success:active {
        background-color: #83c556;
        color: #ffffff;
        border: none;
        box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, .5);
    }

    .btn-theme-line {
        background-color: #00c200;
        color: #ffffff;
        border: none;
        box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, .5);
        width: 100%;
        height: 38px;
    }

    .btn-light {
        box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, .5);
    }

    .bg-color {
        background-color: #1c2131;
    }

    .bg-dark {
        background-color: #141723 !important;
    }

    .navbar-dark {
        background-color: #141723 !important;
    }

    .text-bg-dark {
        background-color: #141723 !important;
    }

    .hr-line {
        background: #8c9098;
        height: 1px;
        width: 108px;
    }

    .fc-gary {
        color: #8c9098 !important;
    }

    .btn-label {
        position: absolute;
        left: 0;
        display: inline-block;
        padding: 6px 12px;
        background: rgba(0, 0, 0, 0.15);
        z-index: 1;
        font-size: 1.5rem;
        /* ตั้งค่า z-index เพื่อให้ btn-label อยู่หน้าสุด */
    }

    .btn-icon {
        position: relative;
        text-align: center;
        /* จัดให้ข้อความอยู่ตรงกลาง */
    }

    hr {
        margin: 0rem 0;
        color: #8c9098;
        border: 0;
        border-top: 1px solid;
        opacity: 0.5;
    }

    .btn-labeled {
        padding-top: 0;
        padding-bottom: 0;
    }

    .btn {
        border-radius: 10px !important;
    }

    .card {
        border-radius: 10px !important;
    }

    .div-click {
        position: absolute;
        width: 100%;
        height: 100%;
    }


    .mini-card {
        background-color: #1c2131;
        color: rgb(255, 255, 255) !important;
        font-size: 11px;
        padding: 3px 0px 0px;
        height: 57px;
        width: 57px;
        border-radius: 10px !important;
        box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, .5);
        border: 1px solid #707070;
    }

    .mini-card.active {
        background-color: #fff;
        color: rgb(0, 0, 0) !important;
    }

    .btn-border {
        border: 1px solid #707070;
    }

    .input-group-text {
        background-color: #141723;
        color: #fff;
        border: none;
        box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, .5);
    }

    .input-theme {
        background-color: #141723;
        color: #fff;
        border: none;
        box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, .5);
    }

    .input-theme:focus {
        background-color: #141723;
        color: #fff;
        border: none;
        box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, .5);
    }

    .m100 {
        display: flex !important;
        justify-content: center !important;
        margin-top: 100px;
        max-width: 686px;
        width: 100%;
    }

    .fixed-top-center {
        position: fixed;
        top: 0;
        z-index: 1030;
    }


    .card-game {
        max-width: 124.39px;
        min-height: 155.5px;
        background-color: #ffffff00;
        box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, .5);
        border-radius: 10px !important;
    }

    .card-img {
        width: 100%;
        min-height: 155.5px;
    }

    .circle {
        width: 10px !important;
        height: 10px !important;
        background: #fff;
        border-radius: 50%;
        margin: 20px auto;
        position: relative;
    }

    .bg-footer {
        background-color: #141723 !important;
    }

    .images-cer {
        display: flex;
        justify-content: center;
        gap: 10px;
        /* Optional: add some space between images */
    }

    .br-10 {
        border-radius: 10px !important;
    }

    .rm-color {
        background-color: #ffffff00;
        color: #fff;
    }

    .form-check-input:checked {
        background-color: #70c728;
        border-color: #70c728;

    }

    .btn-line {
        background-color: #00c200;
        color: #ffffff;
        border: none;
        box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, .5);

    }

    .input-theme:disabled {
        background-color: #141723;
        color: #fff;
        border: none;
        box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, .5);
    }

    .card-bd-theme {
        border: 1px solid #707070;
        color: white;
        box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, .5);
    }


    .animated {
        -webkit-animation-duration: 1s;
        animation-duration: 1s;
        -webkit-animation-fill-mode: both;
        animation-fill-mode: both;
    }

    .fade-in {
        -webkit-animation-name: fadeIn;
        animation-name: fadeIn;
    }

    .fade-up {
        -webkit-animation-name: fadeInUp;
        animation-name: fadeInUp;
    }

    @-webkit-keyframes fadeInUp {
        from {
            opacity: 0;
            -webkit-transform: translate3d(0, 100%, 0);
            transform: translate3d(0, 100%, 0);
        }

        to {
            opacity: 1;
            -webkit-transform: none;
            transform: none;
        }
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            -webkit-transform: translate3d(0, 100%, 0);
            transform: translate3d(0, 100%, 0);
        }

        to {
            opacity: 1;
            -webkit-transform: none;
            transform: none;
        }
    }

    @-webkit-keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }