/* CardBase 主题变量 */
html {
    --card-base-box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.05);
    --card-base-background-color: rgba(255, 255, 255, 0.8);
    --card-base-hover-background: rgba(255, 255, 255, 0.95);
    --card-base-hover-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 8px 24px rgba(0, 0, 0, 0.06);
    --card-base-action-icon-color: #6B7280;
    --card-base-action-icon-hover-bg: rgba(0, 0, 0, 0.1);
    --card-base-action-icon-active-bg: rgba(0, 0, 0, 0.2);
    --card-base-action-icon-active-color: rgba(0, 88, 222, 1);
    --card-base-settings-text-color: rgba(0, 0, 0, 0.7);
    --card-base-divider-color: rgba(0, 0, 0, 0.05);
}

html.dark {
    --card-base-box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.3);
    --card-base-background-color: rgba(255, 255, 255, 0.05);
    --card-base-hover-background: rgba(255, 255, 255, 0.08);
    --card-base-hover-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.2);
    --card-base-action-icon-color: rgba(255, 255, 255, 0.7);
    --card-base-action-icon-hover-bg: rgba(255, 255, 255, 0.1);
    --card-base-action-icon-active-bg: rgba(255, 255, 255, 0.2);
    --card-base-action-icon-active-color: rgba(0, 154, 255, 1);
    --card-base-settings-text-color: rgba(255, 255, 255, 0.7);
    --card-base-divider-color: rgba(255, 255, 255, 0.05);
}

/* 卡片基础通用样式 */
.card-base {
  width: 250px;
  height: 89px;
  box-shadow: var(--card-base-box-shadow);
  border-radius: 10px;
  background-color: var(--card-base-background-color);
  margin-bottom: 10px; /* 卡片底部和文字之间的间隔 */
  margin-top: 10px; /* 卡片顶部和文字之间的间隔 */
  position: relative; /* 确保子元素的绝对定位相对于卡片 */
}

/* 右上角跳转图标 - 通用样式 */
.card-base__action-icon {
  position: absolute;
  top: 6px;
  right: 10px;
  width: 20px;
  height: 20px;
  color: var(--card-base-action-icon-color);
  opacity: 0;
  transition: all 0.2s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  pointer-events: auto;
  z-index: 10;
}

.card-base:hover .card-base__action-icon {
  opacity: 1;
}

.card-base__action-icon:hover {
  background-color: var(--card-base-action-icon-hover-bg);
}

.card-base__action-icon:active {
  background-color: var(--card-base-action-icon-active-bg);
  color: var(--card-base-action-icon-active-color);
}

/* 上半部分：系统设置 - 通用样式 */
.card-base__top {
  display: flex;
  align-items: center;
  padding: 6px 0px 6px 10px;
  position: relative;
}

.card-base__settings-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.card-base__settings-text {
  color: var(--card-base-settings-text-color);
  font-family: SourceHanSansSC-Medium;
  font-size: 12px;
  font-weight: 500;
  font-style: medium;
  padding-left: 6px;
}

/* 分割线 - 通用样式 */
.card-base__divider {
  height: 1px;
  background-color: var(--card-base-divider-color);
  margin-left: 10px;
  flex-shrink: 0;
}

/* 下半部分 - 通用样式 */
.card-base__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 20px 20px;
  flex: 1;
}