/* メッセージボックスのスタイル */
.hidden {
    display: none !important;
}

.overlay {
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100000;
  /*  cursor: wait;*/  /* カーソルを砂時計／待機状態に */
}
#loadingOverlay {
  cursor: wait;  /* カーソルを砂時計／待機状態に */
}
.message-box {
    position: fixed;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -45%);
    background: rgb(240, 240, 255);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #888; /* ボーダー追加 */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    z-index: 200000;
}

.message-box .buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}
.message-box .buttons button {
    width: 100px; /* ボタンの幅を統一 */
    padding: 8px;
    font-size: 14px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}
.message-box .buttons button:hover {
    opacity: 0.8;
}
/* OKボタンのデザイン */
#messageBoxOkButton {
    background: #4CAF50;
    color: white;
}

#messageBoxOkButton:hover {
    background: #45a049;
}

/* キャンセルボタンのデザイン */
#messageBoxCancelButton {
    background: #f44336;
    color: white;
}

#messageBoxCancelButton:hover {
    background: #d32f2f;
}