/* 全局样式 */
* {
  box-sizing: border-box;
}

/* 主题色变量 - 只保留苹果色 */
:root {
  --primary-color: #007aff;
  --primary-gradient: linear-gradient(135deg, #007aff 0%, #34c759 100%);
  --primary-light: #eaf6ff;
  --primary-dark: #0051a8;
  --secondary-color: #34c759;
  --card-bg: #fff;
  --card-bg-dark: #23262f;
  --text-color: #222;
  --text-color-dark: #e2e8f0;
}

body.apple-theme { /* 兼容旧代码，实际已默认苹果色 */ }

body {
  margin: 0;
  background: #f4f8fb;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, 'San Francisco', 'Helvetica Neue', Arial, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  color: var(--text-color);
  transition: all 0.3s ease;
}

body.dark {
  background: #181a20;
  color: var(--text-color-dark);
}

/* 主容器 */
#app {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 8px 0 8px;
  min-height: 100vh;
}

/* 概览卡片 - 重新设计 */
.overview-card, .calendar-card, .trend-card {
  margin-bottom: 18px;
  padding: 18px 18px 10px 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.06);
}

body.dark .overview-card, body.dark .calendar-card, body.dark .trend-card {
  background: #23262f;
}

.overview-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--primary-color);
}

.overview-title span:last-child {
  font-size: 14px;
  color: var(--primary-color);
  background: var(--primary-light);
  border-radius: 8px;
  padding: 4px 10px;
}

.overview-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.overview-item {
  background: var(--primary-gradient);
  color: #fff;
  border-radius: 12px;
  padding: 14px 10px;
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 1px 4px 0 rgba(0,0,0,0.03);
}

.overview-label {
  font-size: 13px;
  color: #e6f7ff;
  font-weight: 400;
}

.overview-value {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  align-self: flex-end;
  margin-top: 2px;
}

/* 主内容区横向并排，强制flex */
.main-row {
  display: flex !important;
  align-items: stretch !important;
  max-height: 600px;
  gap: 24px;
}
.main-row > * {
  flex: 1 1 0;
  min-width: 0;
  margin-bottom: 0;
  height: 100%;
}

/* 日历卡片padding减少，格子更大 */
.calendar-card {
  display: flex;
  flex-direction: column;
  height: 100% !important;
  min-height: 0 !important;
  margin-bottom: 0 !important;
  box-sizing: border-box;
}

.calendar-grid {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  gap: 8px;
  padding: 8px 0;
  grid-auto-rows: 1fr;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
}

.calendar-cell {
  height: 100%;
  width: 100%;
  min-height: 0;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
  border: 1.5px solid #e6eaf0;
  background: #f7fafd;
  color: #222;
  font-weight: 500;
  border-radius: 18px;
  font-size: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, border 0.2s;
  cursor: pointer;
}

.calendar-cell.today {
  background: #eaf6ff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.calendar-cell.selected {
  background: #fff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.calendar-cell:hover:not(.disabled) {
  background: #d0e6ff;
  color: var(--primary-dark);
  border: 2px solid var(--primary-dark);
}

.calendar-cell .usage {
  color: var(--secondary-color);
  font-size: 14px;
  font-weight: 600;
  margin-top: 4px;
}

.calendar-cell.disabled {
  color: #c0c4cc;
  background: #f4f8fb;
  border: 1.5px dashed #e6eaf0;
  cursor: not-allowed;
}

body.dark .calendar-cell {
  background: #23262f;
  color: #e2e8f0;
  border: 1.5px solid #333;
}

body.dark .calendar-cell.today {
  background: #1a2233;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

body.dark .calendar-cell.selected {
  background: #232a3a;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

body.dark .calendar-cell:hover:not(.disabled) {
  background: #223355;
  color: #fff;
  border: 2px solid var(--primary-dark);
}

body.dark .calendar-cell.disabled {
  color: #444;
  background: #181a20;
  border: 1.5px dashed #333;
}

/* 日历卡片 */
.calendar-card {
  width: 100%;
  min-height: 546px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
  padding: 32px;
  margin-bottom: 32px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.1),
    0 8px 16px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  animation: slideInLeft 0.6s ease-out 0.1s both;
}

.calendar-card:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.15),
    0 12px 24px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.calendar-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary-color);
  position: relative;
}

.calendar-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 2px;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px !important;
  padding-bottom: 0 !important;
  background: none !important;
  border-radius: 0;
}

.calendar-header span {
  font-weight: 600;
  font-size: 18px;
  color: #1e293b;
}

.month-btns {
  display: flex;
  align-items: center;
  gap: 4px;
}

.month-btns button {
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 8px;
  margin: 0 2px;
  padding: 0 10px;
  height: 32px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.month-btns .go-today-btn {
  background: var(--secondary-color);
}

.month-btns button:disabled {
  background: #e6f7ff;
  color: #bfbfbf;
  cursor: not-allowed;
}

/* 1. 日历星期栏字体、边距、圆角统一 */
.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: 600;
  color: var(--primary-color);
  background: #eaf6ff;
  border-radius: 10px;
  padding: 8px 0;
  letter-spacing: 2px;
  margin-bottom: 0 !important;
  font-size: 17px;
}
body.dark .calendar-weekdays {
  background: #1a2233;
  color: #7abaff;
  font-size: 17px;
  padding: 8px 0;
}

/* 趋势图卡片 */
.trend-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding-bottom: 0;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.1),
    0 8px 16px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  transition: all 0.3s ease;
}

#usage-chart {
  flex: 1 1 0;
  width: 100% !important;
  height: 100% !important;
  min-height: 0;
  max-height: none;
  display: block;
}

.trend-card:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.15),
    0 12px 24px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.trend-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--primary-color);
  position: relative;
}

.trend-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 2px;
}

.trend-title .el-radio-group, .trend-title .el-select {
  margin-left: 8px;
}

/* Element Plus 组件样式覆盖 */
.el-radio-button__inner {
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border: 1px solid #e2e8f0;
  color: #64748b;
  font-weight: 500;
  transition: all 0.3s ease;
}

.el-radio-button__inner.is-active, 
.el-radio-button__orig-radio:checked + .el-radio-button__inner {
  background: #fff !important;
  color: #409eff !important;
  border-color: var(--primary-color) !important;
  font-weight: 700;
}

.el-select .el-input__wrapper {
  background: #f7fafd;
  border: 1.5px solid var(--primary-color);
  border-radius: 12px;
  box-shadow: none;
  transition: border 0.2s;
  min-width: 80px;
  max-width: 120px;
}
.el-select .el-input__wrapper:hover, .el-select .el-input__wrapper.is-focus {
  border-color: var(--primary-dark);
}
.el-select .el-input__inner {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 12px;
}
.el-select-dropdown {
  border-radius: 12px !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08) !important;
  border: 1.5px solid var(--primary-color) !important;
  background: #fff !important;
}
.el-select-dropdown__item {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 12px;
  border-radius: 8px;
  margin: 2px 4px;
  transition: background 0.2s, color 0.2s;
}
.el-select-dropdown__item.selected, .el-select-dropdown__item:hover {
  background: var(--primary-light) !important;
  color: var(--primary-color) !important;
}
body.dark .el-select .el-input__wrapper {
  background: #232a3a;
  border: 1.5px solid #223355;
  color: #7abaff;
}
body.dark .el-select .el-input__wrapper:hover,
body.dark .el-select .el-input__wrapper.is-focus {
  border-color: var(--primary-color);
}
body.dark .el-select .el-input__inner {
  color: #7abaff;
}
body.dark .el-select-dropdown {
  background: #232a3a !important;
  border: 1.5px solid #223355 !important;
  color: #7abaff;
}
body.dark .el-select-dropdown__item {
  color: #7abaff;
  font-size: 14px;
  font-weight: 500;
}
body.dark .el-select-dropdown__item.selected,
body.dark .el-select-dropdown__item:hover {
  background: rgba(0,122,255,0.12) !important;
  color: var(--primary-color) !important;
}

/* 主题切换按钮高亮和风格 */
.theme-switch-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #e6f0fa;
  color: #1677ff;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.2s;
  outline: none;
  margin: 0;
  padding: 0;
}
.theme-switch-btn.active,
.theme-switch-btn:focus {
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 16px rgba(22,119,255,0.18);
}
.theme-switch-btn:hover {
  background: #d0e6ff;
}

.theme-toggle-btn {
  background: #e6f0fa;
  color: #1677ff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.2s;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.theme-toggle-btn:hover {
  background: #d0e6ff;
}
body.dark .theme-toggle-btn {
  background: #23262f;
  color: #fff;
}
body.dark .theme-switch-btn {
  background: #23262f;
  color: #fff;
}
body.dark .theme-switch-btn.active {
  background: var(--primary-color);
  color: #fff;
}

/* 密码弹窗 */
.password-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  animation: fadeIn 0.3s ease;
}

.password-modal-content {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 400px;
  width: 90%;
  animation: slideInUp 0.4s ease;
}

.password-modal-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #1a202c;
}

.password-input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 16px;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  color: #1e293b;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.password-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  background: white;
}

.password-submit {
  width: 100%;
  padding: 16px 24px;
  border: none;
  border-radius: 12px;
  background: var(--primary-gradient);
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(22, 119, 255, 0.18);
}

.password-submit:hover {
  filter: brightness(1.08);
  box-shadow: 0 8px 20px rgba(22, 119, 255, 0.22);
}

.password-error {
  color: #ef4444;
  font-size: 14px;
  margin-top: 12px;
  padding: 8px 16px;
  background: rgba(239, 68, 68, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* 加载状态 */
.loading-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 60px;
  text-align: center;
  margin: 100px auto;
  max-width: 400px;
}

.loading-content {
  font-size: 18px;
  color: #667eea;
  font-weight: 600;
}

/* 动画 */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* 特殊效果 */
.overview-item:nth-child(1) { animation-delay: 0.1s; }
.overview-item:nth-child(2) { animation-delay: 0.2s; }
.overview-item:nth-child(3) { animation-delay: 0.3s; }
.overview-item:nth-child(4) { animation-delay: 0.4s; }
.overview-item:nth-child(5) { animation-delay: 0.5s; }
.overview-item:nth-child(6) { animation-delay: 0.6s; }

.calendar-cell:hover {
  animation: pulse 0.6s ease-in-out;
}

.theme-toggle-btn:hover {
  animation: float 2s ease-in-out infinite;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .overview-items {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
  }
  
  .overview-item {
    padding: 20px;
  }
  
  .overview-value {
    font-size: 28px;
  }
}

@media (max-width: 900px) {
  .main-row {
    display: block !important;
    flex-direction: unset !important;
    gap: 0 !important;
  }
  .main-row > * {
    width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
    margin-bottom: 12px !important;
  }
  #usage-chart {
    height: 180px !important;
    min-height: 120px;
    max-height: 320px;
  }
  .calendar-grid {
    gap: 4px;
    padding: 4px 0;
  }
  .calendar-cell {
    min-height: 36px;
    height: 40px;
    font-size: 15px;
    border-radius: 12px;
    padding: 0;
  }
  .calendar-cell .usage {
    font-size: 10px;
    margin-top: 2px;
  }
}

@media (max-width: 600px) {
  .overview-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .overview-item {
    padding: 16px;
  }
  
  .overview-value {
    font-size: 24px;
  }
  
  .overview-title {
    font-size: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .calendar-grid {
    gap: 4px;
  }
  
  .calendar-cell {
    min-height: 40px;
    height: 48px;
    font-size: 14px;
  }
  
  .calendar-cell .usage {
    font-size: 10px;
    padding: 1px 4px;
  }
  
  .password-modal-content {
    padding: 24px;
    margin: 20px;
  }
  
  .password-input {
    padding: 14px 16px;
  }
  
  .password-submit {
    padding: 14px 20px;
  }
  
  .theme-toggle-btn {
    width: 48px;
    height: 48px;
    font-size: 18px;
    top: 16px;
    right: 16px;
  }
}

/* 深色模式 */
body.dark .overview-card,
body.dark .calendar-card,
body.dark .trend-card {
  background: rgba(26, 32, 44, 0.95);
  border-color: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

body.dark .overview-item {
  background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark .overview-label {
  color: #a0aec0;
}

body.dark .overview-value {
  background: linear-gradient(135deg, #00c3ff, #0099cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.dark .calendar-cell {
  background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
  border-color: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

body.dark .calendar-cell.today {
  background: linear-gradient(135deg, #2b6cb0, #3182ce);
  color: white;
}

body.dark .calendar-cell .usage {
  background: none !important;
  color: var(--secondary-color);
}

body.dark .calendar-header {
  background: none !important;
  border-radius: 0;
  /* padding: 10px 0 6px 0; */
  margin-bottom: 0;
}

body.dark .month-btns button {
  background: linear-gradient(135deg, #00c3ff, #0099cc);
}

body.dark .month-btns .go-today-btn {
  background: linear-gradient(135deg, #48bb78, #38a169);
}

body.dark .el-radio-button__inner {
  background: linear-gradient(135deg, #2d3748, #4a5568);
  border-color: rgba(255, 255, 255, 0.2);
  color: #a0aec0;
}

body.dark .el-radio-button__inner.is-active {
  background: linear-gradient(135deg, #00c3ff, #0099cc);
  color: white;
}

body.dark .el-select .el-input__wrapper {
  background: linear-gradient(135deg, #2d3748, #4a5568);
  border-color: rgba(255, 255, 255, 0.2);
}

body.dark .el-select .el-input__inner {
  color: #e2e8f0;
}

body.dark .loading-card {
  background: rgba(26, 32, 44, 0.95);
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark .password-modal-content {
  background: rgba(26, 32, 44, 0.95);
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark .password-modal-title {
  color: #e2e8f0;
}

body.dark .password-input {
  background: linear-gradient(135deg, #2d3748, #4a5568);
  border-color: rgba(255, 255, 255, 0.2);
  color: #e2e8f0;
}

body.dark .password-input:focus {
  border-color: #00c3ff;
  background: #2d3748;
}

body.dark .password-submit {
  background: var(--primary-gradient);
  color: #fff;
}

body.dark .password-error {
  background: rgba(245, 101, 101, 0.2);
  border-color: rgba(245, 101, 101, 0.3);
}

body.dark .theme-toggle-btn {
  background: linear-gradient(135deg, #00c3ff, #0099cc);
}

/* 深色模式下的图标颜色 */
body.dark .overview-title i,
body.dark .calendar-title i,
body.dark .trend-title i {
  color: #00c3ff !important;
}

body.dark .overview-item .overview-label i {
  color: #a0aec0;
}

body.dark .calendar-header i {
  color: #00c3ff !important;
}

body.dark .calendar-weekdays i {
  opacity: 0.7;
}

/* 隐藏加载状态 */
[v-cloak] {
  display: none !important;
}

/* 3. 单价标签和星期栏风格统一 */
.overview-badge {
  font-size: 14px;
  color: var(--primary-color);
  background: #eaf6ff;
  border-radius: 10px;
  padding: 4px 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}
body.dark .overview-badge {
  background: #1a2233;
  color: #7abaff;
}

/* 4. 趋势图toolbar一行对齐，按钮组和下拉框间距适中，下拉框收窄 */
.trend-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
}
.trend-toolbar .el-radio-group {
  margin: 0 !important;
}
.trend-toolbar .trend-select {
  margin: 0 !important;
}

/* 5. 两卡片高度一致 */
.main-row {
  align-items: stretch !important;
}
.calendar-card, .trend-card {
  height: 100%;
  min-height: 480px;
  box-sizing: border-box;
}
.trend-card {
  justify-content: stretch;
}
#usage-chart {
  flex: none !important;
  height: 320px !important;
  min-height: 220px;
  max-height: 400px;
}

/* 2. 趋势图toolbar一行对齐，按钮组和下拉框无多余margin */
.trend-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
}
.trend-toolbar .el-radio-group {
  margin: 0 !important;
}
.trend-toolbar .trend-select {
  margin: 0 !important;
}

/* 3. 下拉框宽度收窄 */
.trend-select {
  min-width: 80px;
  max-width: 100px;
  width: 100px;
}
.el-select .el-input__wrapper {
  min-width: 80px;
  max-width: 100px;
  width: 100px;
}
.el-select-dropdown {
  min-width: 80px !important;
  max-width: 100px !important;
  width: 100px !important;
}

/* 只影响白天模式 */
body:not(.dark) .calendar-cell.selected {
  background: #fff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}
body:not(.dark) .el-radio-button.is-active .el-radio-button__inner{
  background: #fff !important;
  color: #409eff !important;
  border-color: var(--primary-color) !important;
  font-weight: 700;
}

/* 白天模式下拉框字体也统一 */
.el-select .el-input__inner,
.el-select-dropdown__item {
  font-size: 14px;
  font-weight: 500;
}

/* 深色主题下拉框整体背景和字体色 */
.el-select-dropdown,
.el-select-dropdown__item {
  background: #232b3a !important;
  color: #b3c0d1 !important;
}

/* 下拉选项悬浮和选中高亮 */
.el-select-dropdown__item.selected,
.el-select-dropdown__item.is-selected,
.el-select-dropdown__item:hover {
  color: #6ea8ff !important;
  background: #1a2233 !important;
  font-weight: bold;
}

/* 选中项在输入框的样式 */
.el-select .el-input__inner {
  background: #232b3a !important;
  color: #b3c0d1 !important;
  border-color: #6ea8ff !important;
}

/* 输入框聚焦时的边框高亮 */
.el-select .el-input__inner:focus {
  border-color: #6ea8ff !important;
  box-shadow: 0 0 0 2px rgba(110, 168, 255, 0.2);
} 

body.dark .el-select--small .el-select__wrapper{
  font-size: 12px;
  gap: 4px;
  line-height: 20px;
  min-height: 24px;
  padding: 2px 8px;
  background: linear-gradient(135deg, #2d3748, #4a5568);
  border-color: rgba(255, 255, 255, 0.2);
}

body:not(.dark) .el-select-dropdown,
body:not(.dark) .el-select-dropdown__item {
  background: #fff !important;
  color: #222 !important;
}

body:not(.dark) .el-select-dropdown__item.selected,
body:not(.dark) .el-select-dropdown__item.is-selected,
body:not(.dark) .el-select-dropdown__item:hover {
  color: #409eff !important;
  background: #f0f7ff !important;
  font-weight: bold;
}

body:not(.dark) .el-select .el-input__inner {
  background: #fff !important;
  color: #222 !important;
  border-color: #409eff !important;
}