/* 自定义日历选择器样式 */
.dp-popup {
  display: none;
  position: absolute;
  z-index: 9999;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,.18);
  padding: 12px;
  width: 280px;
  font-size: 13px;
  user-select: none;
}
.dp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.dp-title {
  font-size: 15px;
  font-weight: 700;
  color: #222;
}
.dp-nav {
  width: 30px; height: 30px;
  border: none;
  background: #f0f1f3;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  color: #333;
  line-height: 1;
}
.dp-nav:hover { background: #e2e4e8; }
.dp-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 4px;
}
.dp-weekdays span {
  font-size: 12px;
  color: #999;
  padding: 4px 0;
}
.dp-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.dp-cell {
  position: relative;
  text-align: center;
  padding: 6px 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  color: #333;
}
.dp-cell:hover { background: #f0f1f3; }
.dp-cell.dp-empty { cursor: default; background: none; }
.dp-cell.dp-today .dp-num {
  color: #d93025;
  font-weight: 700;
}
.dp-cell.dp-selected {
  background: #8b0000;
  color: #fff;
}
.dp-cell.dp-selected:hover { background: #a31212; }
.dp-cell.dp-selected.dp-today .dp-num { color: #fff; }
.dp-dot {
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #d93025;
}
.dp-cell.dp-selected .dp-dot { background: #fff; }
.dp-num { position: relative; z-index: 1; }
