/* 表格樣式 */
.table_tools {
  border-collapse: collapse; /* 合併邊框，避免雙線 */
}

.table_tools,
.table_tools th,
.table_tools td {
  border: 2px solid black; /* 黑色邊框 */
}

.table_tools th,
.table_tools td {
  padding: 8px;       /* 內距 */
  text-align: left; /* 文字置中，可改成 left / right */
}

.table_tools th {
  background-color: #00BFFF; /* 背景淺藍色 */
}

.text-nowrap {
  word-break: normal; /* 內文不換行 */
  white-space: nowrap; /* 內文不換行 */
}

/* 全螢幕灰底遮罩 */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5); /* 半透明灰色 */
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 轉圈與文字容器 */
.spinner-container {
  text-align: center;
  color: white;
}

/* 大轉圈圈 */
.spinner {
  border: 12px solid #f3f3f3;
  border-top: 12px solid #3498db; /* 藍色 */
  border-radius: 50%;
  width: 80px;
  height: 80px;
  margin: 0 auto 10px auto; /* 下面留點空間給文字 */
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 文字訊息 */
.spinner-text {
  font-size: 18px;
  font-weight: bold;
}
