#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.spinner-container {
    text-align: center;
    color: white;
}

.custom-spinner {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 15px;
}

.custom-spinner div {
    width: 50px;
    height: 50px;
    background-color: #BC955C;
    border-radius: 50%;
    animation: bounce 1.4s ease-in-out infinite both;
}

.custom-spinner div:nth-child(1) {
    animation-delay: -0.32s;
}

.custom-spinner div:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

.spinner-text {
    font-size: 20px;
    font-weight: 500;
    margin-top: 10px;
}

body.loading-active {
    overflow: hidden;
}

@media (max-width: 768px) {
    .custom-spinner div {
        width: 25px;
        height: 25px;
    }

    .spinner-text {
        font-size: 14px;
    }
}
