/* loading-overlay.css */
/* ロード中のオーバーレイとおしゃれなスピナーのスタイル */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: none; /* 初期状態では非表示 */
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner {
    display: flex;
    justify-content: space-between;
    width: 70px;
    height: 20px;
}

.spinner div {
    width: 18px;
    height: 18px;
    background-color: #3498db;
    border-radius: 100%;
    animation: bounce 1.4s infinite ease-in-out both;
}

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

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

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

/* ユーザー操作をブロックするスタイル */
body.loading {
    overflow: hidden;
}
