/* BEGIN QUICK DATE PICKER STYLES */
.ld-qdp-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(15, 23, 42, 0.16);
}
.ld-qdp {
  position: fixed;
  z-index: 9999;
  width: 304px;
  max-width: calc(100vw - 20px);
  background: #ffffff;
  color: #162238;
  border: 1.5px solid #cbd5e1;
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.24);
  padding: 12px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13.5px;
  user-select: none;
}
[data-theme="dark"] .ld-qdp,
.ld-qdp.is-dark {
  background: #141c2f;
  color: #eef3ff;
  border-color: #2d3c5c;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
}
.ld-qdp-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 10px;
}
.ld-qdp-role {
  font-size: 12px;
  font-weight: 700;
  color: #2457d6;
  background: rgba(36, 87, 214, 0.1);
  padding: 3px 8px;
  border-radius: 999px;
}
[data-theme="dark"] .ld-qdp-role,
.ld-qdp.is-dark .ld-qdp-role {
  color: #8ab4ff;
  background: rgba(96, 165, 250, 0.16);
}
.ld-qdp-tabs {
  display: inline-flex;
  background: #eef2f8;
  border-radius: 9px;
  padding: 2px;
  gap: 2px;
}
[data-theme="dark"] .ld-qdp-tabs,
.ld-qdp.is-dark .ld-qdp-tabs {
  background: #1e2942;
}
.ld-qdp-tab {
  border: 0;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 7px;
  cursor: pointer;
  opacity: 0.72;
}
.ld-qdp-tab.is-active {
  background: #2457d6;
  color: #ffffff;
  opacity: 1;
}
.ld-qdp-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin-bottom: 8px;
}
.ld-qdp-nav-btn {
  border: 1px solid #d5dfef;
  background: transparent;
  color: inherit;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
[data-theme="dark"] .ld-qdp-nav-btn,
.ld-qdp.is-dark .ld-qdp-nav-btn {
  border-color: #324366;
}
.ld-qdp-nav-btn:hover { background: rgba(36, 87, 214, 0.12); }
.ld-qdp-title {
  flex: 1;
  text-align: center;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.ld-qdp-title button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 6px;
  cursor: pointer;
}
.ld-qdp-title button:hover { background: rgba(36, 87, 214, 0.12); color: #2457d6; }
.ld-qdp-wk {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  opacity: 0.6;
  margin-bottom: 4px;
}
.ld-qdp-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}
.ld-qdp-day {
  border: 0;
  background: transparent;
  color: inherit;
  height: 34px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.ld-qdp-day:hover { background: rgba(36, 87, 214, 0.14); }
.ld-qdp-day.is-out { opacity: 0.34; }
.ld-qdp-day.is-today { box-shadow: inset 0 0 0 1.5px #2457d6; color: #2457d6; font-weight: 800; }
[data-theme="dark"] .ld-qdp-day.is-today,
.ld-qdp.is-dark .ld-qdp-day.is-today { color: #8ab4ff; box-shadow: inset 0 0 0 1.5px #60a5fa; }
.ld-qdp-day.is-sel { background: #2457d6 !important; color: #ffffff !important; font-weight: 800; }
.ld-qdp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.ld-qdp-cell {
  border: 1px solid #d5dfef;
  background: transparent;
  color: inherit;
  height: 40px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}
[data-theme="dark"] .ld-qdp-cell,
.ld-qdp.is-dark .ld-qdp-cell {
  border-color: #324366;
}
.ld-qdp-cell:hover { border-color: #2457d6; background: rgba(36, 87, 214, 0.12); }
.ld-qdp-cell.is-cur { border-color: #2457d6; color: #2457d6; }
[data-theme="dark"] .ld-qdp-cell.is-cur,
.ld-qdp.is-dark .ld-qdp-cell.is-cur { border-color: #60a5fa; color: #8ab4ff; }
.ld-qdp-cell.is-sel { background: #2457d6 !important; border-color: #2457d6 !important; color: #ffffff !important; }
.ld-qdp-link-row {
  margin-top: 9px;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(36, 87, 214, 0.08);
  font-size: 12px;
  display: flex;
  flex-direction: row !important;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.ld-qdp-link-row input {
  width: 15px !important;
  height: 15px !important;
  min-height: 0 !important;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}
.ld-qdp-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #e2e8f0;
}
.ld-qdp-foot-left {
  display: flex;
  gap: 6px;
}
[data-theme="dark"] .ld-qdp-foot,
.ld-qdp.is-dark .ld-qdp-foot { border-top-color: #2d3c5c; }
.ld-qdp-foot button {
  border: 1px solid #d5dfef;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 8px;
  cursor: pointer;
}
[data-theme="dark"] .ld-qdp-foot button,
.ld-qdp.is-dark .ld-qdp-foot button { border-color: #324366; }
.ld-qdp-foot button:hover { background: rgba(36, 87, 214, 0.12); }
.ld-qdp-trigger {
  display: none !important;
}
.ld-qdp-trigger:hover { background: #2457d6; color: #ffffff; border-color: #2457d6; }
[data-theme="dark"] .ld-qdp-trigger {
  color: #8ab4ff;
  border-color: rgba(138, 180, 255, 0.35);
  background: rgba(96, 165, 250, 0.15);
}
@media (max-width: 600px) {
  .ld-qdp-backdrop { background: rgba(15, 23, 42, 0.45); }
  .ld-qdp {
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%);
    width: min(332px, calc(100vw - 24px));
    padding: 14px;
  }
  .ld-qdp-day { height: 40px; font-size: 14px; }
  .ld-qdp-cell { height: 46px; font-size: 14.5px; }
}
/* END QUICK DATE PICKER STYLES */
