/* 表格整体样式 */
.sheet-table-wrapper table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 14px;
}

/* 表头样式 */
.sheet-table-wrapper th {
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  padding: 10px;
  text-align: left;
}

/* 单元格样式 */
.sheet-table-wrapper td {
  border: 1px solid #ddd;
  padding: 10px;
}

/* 行交替颜色（斑马纹） */
.sheet-table-wrapper tr:nth-child(odd) {
  background-color: #ffffff;
}

.sheet-table-wrapper tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* 鼠标悬停行高亮 */
.sheet-table-wrapper tr:hover {
  background-color: #eaf4ff;
  transition: background-color 0.3s;
}

/* 月份标题 */
.sheet-table-wrapper h3 {
  font-size: 18px;
  color: #444;
  margin: 30px 0 10px;
  border-left: 4px solid #0073aa;
  padding-left: 8px;
}
.gsv-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #555;
  font-size: 16px;
  padding: 20px 0;
  user-select: none;
}

.gsv-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid #ccc;
  border-top-color: #0073aa; /* WordPress 蓝色 */
  border-radius: 50%;
  animation: gsv-spin 1s linear infinite;
}

@keyframes gsv-spin {
  to {
    transform: rotate(360deg);
  }
}
/* 基本样式（亮色模式） */
.sheet-table-wrapper {
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 15px;
  background: #fff;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow-x: auto;
  padding: 1em;
}

.sheet-table-wrapper table {
  width: 100%;
  border-collapse: collapse;
}

.sheet-table-wrapper th,
.sheet-table-wrapper td {
  padding: 10px;
  border: 1px solid #ccc;
  text-align: center;
}

.sheet-table-loading {
  text-align: center;
  padding: 1em;
  font-size: 16px;
  color: #666;
}

.sheet-table-wrapper a {
  color: #0077cc;
  text-decoration: none;
}

.sheet-table-wrapper a:hover {
  text-decoration: underline;
}

/* 夜间模式：当 body 或容器含有 .dark-theme 类时 */
.dark-theme .sheet-table-wrapper {
  background: #1e1e1e;
  color: #ccc;
  border-color: #444;
}

.dark-theme .sheet-table-wrapper th,
.dark-theme .sheet-table-wrapper td {
  border-color: #444;
  background-color: #2a2a2a;
}

.dark-theme .sheet-table-loading {
  color: #aaa;
}

.dark-theme .sheet-table-wrapper a {
  color: #4ea1ff;
}
