#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.932);
    display: flex;
    flex-direction: column; /* Added for vertical stacking of text and dots */
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(13px);
    transition: opacity 0.5s ease-in-out;
}

.loading-text {
    color: white;
    font-size: 0.8rem; /* Increased font size for better visibility */
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px; /* Space between text lines */
}
.loading-text.ms-2 { /* If 'ms-2' is margin-left */
    margin-left: 0 !important; /* Override if a framework adds unwanted margin */
}
.loading-text.fs-1 { /* If 'fs-1' is font-size large */
    font-size: 3rem; /* Adjust to your preference for "RUT GAMING" */
}

/* --- New Dot Styles --- */
.loading-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px; /* Space between text and dots */
}

.dot {
    width: 12px; /* Size of each dot */
    height: 12px;
    background-color: #532786; /* Bright green dots for a gaming feel, you can change this */
    border-radius: 50%; /* Make them round */
    margin: 0 6px; /* Space between dots */
    animation: dot-bounce 1.5s infinite ease-in-out;
}

/* Animation delays for the "running" effect */
.dot:nth-child(1) {
    animation-delay: 0s;
}
.dot:nth-child(2) {
    animation-delay: 0.15s; /* Stagger the animation */
}
.dot:nth-child(3) {
    animation-delay: 0.3s;
}
.dot:nth-child(4) {
    animation-delay: 0.45s;
}
.dot:nth-child(5) {
    animation-delay: 0.6s;
}

@keyframes dot-bounce {
    0%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-18px); /* How high the dot bounces */
    }
}

/* Keep this as is for hiding main content */
body.loading-active #main-content {
    display: none;
}



.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, var(--main) 2%, var(--sub) 100%);
    border: none;
    /* เส้นขอบด้านบน */
    box-shadow: rgba(20, 40, 70, 0.2) 0px 7px 29px 0px;
}

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


    .bg-vip {
        background-color: #3f111144;
        border-radius: 6px;
    }