/* ใช้ CSS namespace เพื่อให้ไม่กระทบกับส่วนอื่น */
#initial-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f9fafb;
    font-family: 'Kurious Looped Cond', 'Kanit', 'Noto Sans Thai', sans-serif;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

#initial-loading .init-dots-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

#initial-loading .init-dot {
    width: 8px;
    height: 8px;
    margin: 0 3px;
    border-radius: 50%;
    background-color: #0076FF;
    animation: initPulse 1.4s infinite ease-in-out;
}

#initial-loading .init-dot:nth-child(1) {
    animation-delay: 0s;
}

#initial-loading .init-dot:nth-child(2) {
    animation-delay: 0.2s;
}

#initial-loading .init-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes initPulse {
    0%,
    80%,
    100% {
        transform: scale(0.6);
        opacity: 0.6;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.scrollbar-hide {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}