/* Merchant laydate theme: align popup with the current blue-white system style. */
.layui-laydate,
.layui-laydate-hint {
  border: 1px solid rgba(203, 219, 236, 0.95);
  border-radius: 18px;
  box-shadow:
      0 18px 42px rgba(15, 23, 42, 0.14),
      0 1px 0 rgba(255, 255, 255, 0.92) inset;
  background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(246, 250, 255, 0.98) 100%);
  color: #334155;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.layui-laydate-main {
  width: 288px;
}

.layui-laydate-range {
  width: 580px;
}

.layui-laydate-range .layui-laydate-main {
  width: 290px;
}

.layui-laydate-header {
  padding: 14px 72px 10px;
  border-bottom: 1px solid rgba(214, 227, 241, 0.95);
}

.layui-laydate-header i {
  top: 13px;
  color: #5b6b80;
  font-size: 18px;
}

.layui-laydate-header i:hover,
.layui-laydate-header span:hover,
.laydate-set-ym span:hover {
  color: #1B5CFF !important;
}

.laydate-set-ym {
  color: #1E1E1E;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.layui-laydate-content {
  padding: 12px;
}

.layui-laydate-content th {
  height: 34px;
  padding: 6px 4px;
  color: #5e5e5e;
  font-size: 12px;
  font-weight: 700;
}

.layui-laydate-content td {
  height: 38px;
  padding: 4px;
  color: #334155;
  border-radius: 10px;
  font-weight: 500;
}

.layui-laydate-content td:hover,
.layui-laydate-list li:hover {
  background: linear-gradient(180deg, #f4f9ff 0%, #eaf4ff 100%);
  color: #0b5aa0;
}

.layui-laydate .layui-this,
.layui-laydate-content td.layui-this,
.layui-laydate-content td.laydate-selected,
.laydate-selected:hover {
  background: linear-gradient(180deg, #2a8fd8 0%, #1B5CFF 100%) !important;
  color: #ffffff !important;
  box-shadow:
      0 8px 16px rgba(15, 108, 189, 0.28),
      0 1px 0 rgba(255, 255, 255, 0.22) inset;
}

.layui-laydate-content td.laydate-selected {
  opacity: 0.92;
}

.layui-laydate-content td.laydate-selected.laydate-day-prev,
.layui-laydate-content td.laydate-selected.laydate-day-next {
  background: linear-gradient(180deg, #edf5ff 0%, #e2efff 100%) !important;
  color: #8aa2bd !important;
  box-shadow: none;
}

.layui-laydate-content .laydate-day-next,
.layui-laydate-content .laydate-day-prev {
  color: #b6c3d1;
}

.layui-laydate-content .laydate-disabled,
.layui-laydate-content .laydate-disabled:hover,
.layui-laydate .laydate-disabled,
.layui-laydate .laydate-disabled:hover {
  color: #c8d1dc !important;
  background: transparent !important;
}

.laydate-day-mark {
  font-size: 11px;
}

.laydate-day-mark::after {
  top: 4px;
  right: 4px;
  width: 6px;
  height: 6px;
  background: #1B5CFF;
  box-shadow: 0 0 0 2px rgba(15, 108, 189, 0.14);
}

.layui-laydate-list {
  padding: 14px 12px 12px;
  background:
      linear-gradient(180deg, rgba(250, 252, 255, 0.98) 0%, rgba(255, 255, 255, 0.99) 100%);
}

.layui-laydate-list > li {
  border-radius: 10px;
  color: #334155;
}

.laydate-time-list ol {
  height: 190px;
  border: 1px solid rgba(216, 227, 238, 0.95);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
}

.laydate-time-list ol li {
  padding-left: 24px;
  color: #5E5E5E;
}

.laydate-time-list ol li:hover,
.laydate-time-list ol li.layui-this {
  background: linear-gradient(180deg, #f4f9ff 0%, #eaf4ff 100%);
}

.layui-laydate-footer {
  height: 54px;
  padding: 12px 16px;
  border-top: 1px solid rgba(214, 227, 241, 0.95);
  background:
      linear-gradient(180deg, rgba(250, 252, 255, 0.98) 0%, rgba(244, 248, 253, 0.98) 100%);
}

.layui-laydate-footer span {
  margin-right: 10px;
  color: #5e5e5e;
  font-size: 12px;
  font-weight: 600;
}

.layui-laydate-footer span:hover,
.layui-laydate-footer span[lay-type="date"] {
  color: #1B5CFF !important;
}

.laydate-footer-btns {
  top: 12px;
  right: 16px;
}

.laydate-footer-btns span {
  min-width: 56px;
  height: 30px;
  line-height: 28px;
  margin-left: 8px;
  padding: 0 14px;
  border: 1px solid rgba(191, 206, 223, 0.95);
  border-radius: 4px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
  color: #5E5E5E;
  transition: all 0.18s ease;
}

.laydate-footer-btns span:hover {
  border-color: rgba(15, 108, 189, 0.28);
  background: linear-gradient(180deg, #f8fbff 0%, #edf5ff 100%);
  color: #ffffff;
  box-shadow: 0 8px 16px rgba(15, 108, 189, 0.12);
}

.laydate-footer-btns .laydate-btns-confirm {
  border-color: rgba(15, 108, 189, 0.35);
  background: linear-gradient(180deg, #2a8fd8 0%, #1B5CFF 100%);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(15, 108, 189, 0.24);
}

.laydate-footer-btns .laydate-btns-confirm:hover {
  border-color: rgba(11, 90, 160, 0.55);
  background: linear-gradient(180deg, #2490de 0%, #0b5aa0 100%);
  color: #ffffff !important;
}

.layui-laydate-range .laydate-main-list-1 .layui-laydate-content {
  border-left: 1px solid rgba(224, 233, 244, 0.95);
}

.layui-laydate-hint {
  border-radius: 14px;
  color: #d92d20;
  font-weight: 600;
}
