.cbc-overlay {
  position: fixed;
  inset: 0;
  background: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999999;
}

.cbc-box {
  width: 360px;
  max-width: calc(100% - 40px);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  padding: 20px;
  text-align: center;
  font-family: system-ui, sans-serif;
  border: 1px solid #eee;
}

.cbc-title {
  font-size: 18px;
  margin-bottom: 12px;
}

.cbc-lang {
  margin-bottom: 12px;
  display:flex;
  gap:8px;
  justify-content:center;
  align-items:center;
  font-size:13px;
}

.cbc-checkbox {
  display:inline-flex;
  align-items:center;
  gap:10px;
  cursor:pointer;
  user-select:none;
}

.cbc-check-box {
  width:40px;
  height:40px;
  border:2px solid #999;
  border-radius:6px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
  cursor:pointer;
}

.cbc-check-box.checked {
  border-color:#2a9d8f;
  background: #e6f6f2;
}

.cbc-slider {
  width:100%;
  height:48px;
  position:relative;
  background:#f0f0f0;
  border-radius:6px;
  overflow:hidden;
  border:1px solid #ddd;
  user-select:none;
}

.cbc-slider-track {
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  padding:0 12px;
  box-sizing:border-box;
}

.cbc-slider-handle {
  width:44px;
  height:36px;
  border-radius:6px;
  background:#fff;
  border:1px solid #bbb;
  box-shadow:0 2px 6px rgba(0,0,0,0.08);
  display:inline-block;
  touch-action:none;
  cursor:grab;
}

.cbc-help {
  margin-top:12px;
  font-size:13px;
  color:#555;
}

.cbc-done {
  margin-top:12px;
  font-size:14px;
  color:#2a9d8f;
  display:none;
}

.cbc-failed {
  margin-top:12px;
  font-size:13px;
  color:#d9534f;
  display:none;
}

.cbc-lang-checkbox {
  display:flex;
  gap:8px;
  align-items:center;
}

.cbc-footer {
  position: absolute;
  right: 10px;
  bottom: 8px;
  font-size: 12px;
  color: #555;
}

.cbc-lang-select {
  margin-left: 10px;
  padding: 6px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  transition: border-color 0.3s;
}

.cbc-lang-select:focus {
  outline: none;
  border-color: #4a90e2;
  box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.cbc-lang-select:hover {
  border-color: #bbb;
}

/* 下拉选项样式 */
.cbc-lang-select option {
  padding: 8px;
  background-color: #fff;
  color: #333;
}
