/* --- Indicator (CSS-only bundle) --- */
.indicator-overlay,
.indicator {
  text-align: center;
  padding: 5px 10px 5px 10px;
  white-space: nowrap;
  cursor: wait;
}

/* 背景オーバーレイ */
.indicator-overlay {
  position: fixed;            /* 全画面 / 親要素に張る */
  background-color: rgba(0, 0, 0, 0.6);
  height: 100%;
  width: 100%;
  border: none;
  margin: 0;
  padding: 0;
  top: 0;
  left: 0;
  z-index: 10001;
}

.indicator-overlay {
  pointer-events: auto;
}

/* 本体ボックス */
.indicator {
  display: block;
  position: fixed;            /* 画面中央寄せ計算のため fixed */
  width: 91px;                /* 既存デフォルトを踏襲 */
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 10px;
  z-index: 10002;
  opacity: 1.0;               /* 既存仕様踏襲 */
}

/* ローディングアイコンを囲む領域 */
.indicator .indicator-load {
  display: inline-block;
  vertical-align: middle;
  zoom: 1;
}

/* ローディング数値（必要に応じて JS が更新） */
.indicator .load-percent {
  position: absolute;
  text-align: center;
  width: 42px;
  height: 42px;
  line-height: 42px;
  font-size: 12px;
  font-family: "MS Gothic", monospace;
  color: #fff;
  top: 0;
  left: 0;
  pointer-events: none;
}

/* メッセージ */
.indicator .indicator-message {
  display: block;
  font-size: 14px;
  margin-top: 6px;
}

/* 任意：ターゲット領域内に張るときに親へ付けてもOK */
.indicator-host {
  position: relative;
}