.yp-dt{position:relative;display:inline-block;vertical-align:middle;max-width:100%}
.yp-dt .yp-dt-input,
.yp-dt input.yp-dt-input{
  cursor:pointer;
  box-sizing:border-box;
  background-color:#fff;
  background-image:url(/old-skin/skin/yp-date-icon.svg);
  background-repeat:no-repeat;
  background-position:right 8px center;
  background-size:16px 16px;
  padding-right:30px;
}
.yp-dt .yp-dt-input.sel,
.yp-dt input.yp-dt-input.sel{
  background-color:#fff;
  background-image:url(/old-skin/skin/yp-date-icon.svg);
  background-repeat:no-repeat;
  background-position:right 8px center;
  background-size:16px 16px;
  padding-right:30px;
}
.yp-dt-pop{
  position:absolute;z-index:1100;top:calc(100% + 4px);left:0;min-width:230px;
  display:none;flex-direction:column;background:#fff;
  border:2px solid #111827;border-radius:4px;
  outline:1px solid #111827;outline-offset:0;
  box-shadow:0 8px 24px rgba(15,23,42,.35),0 0 0 1px rgba(17,24,39,.85);
  overflow:auto;
}
.yp-dt-pop.is-open{display:flex}
.yp-dt-pop.is-portal{
  position:fixed;
  z-index:20040;
  top:auto;
  left:auto;
  right:auto;
  bottom:auto;
}
.yp-dt.is-datetime .yp-dt-pop,
.yp-dt-pop.is-datetime{min-width:332px}
.yp-dt-body{display:flex;min-height:260px}
.yp-dt-cal{width:230px;padding:10px 10px 6px;box-sizing:border-box}
.yp-dt.is-datetime .yp-dt-cal,
.yp-dt-pop.is-datetime .yp-dt-cal{border-right:1px solid #eee}
.yp-dt-time{display:none;width:96px;padding:8px 6px;box-sizing:border-box;gap:4px}
.yp-dt.is-datetime .yp-dt-time,
.yp-dt-pop.is-datetime .yp-dt-time{display:flex}
.yp-dt-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;font-size:13px;color:#333}
.yp-dt-head button{border:0;background:transparent;cursor:pointer;color:#666;font-size:14px;padding:2px 6px;font-family:inherit}
.yp-dt-head button:hover{color:#0bbb73}
.yp-dt-week{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;margin-bottom:4px;font-size:12px;color:#999;text-align:center}
.yp-dt-days{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}
.yp-dt-day{
  height:28px;border:0;border-radius:3px;background:transparent;cursor:pointer;
  font-size:12px;color:#333;font-family:inherit;padding:0;
}
.yp-dt-day.is-empty{visibility:hidden;pointer-events:none}
.yp-dt-day.is-on{background:#2563eb;color:#fff}
.yp-dt-day:hover:not(.is-on):not(.is-empty){background:#eef2ff}
.yp-dt-col{flex:1;max-height:220px;overflow:auto;border:1px solid #eee;border-radius:3px}
.yp-dt-col button{
  display:block;width:100%;height:28px;border:0;background:transparent;cursor:pointer;
  font-size:12px;color:#333;font-family:inherit;padding:0;
}
.yp-dt-col button.is-on{background:#2563eb;color:#fff}
.yp-dt-foot{
  display:flex;justify-content:space-between;align-items:center;gap:8px;
  padding:8px 10px;border-top:1px solid #eee;background:#fafafa;
}
.yp-dt-foot button{
  border:0;background:transparent;cursor:pointer;font-size:13px;color:#2563eb;font-family:inherit;padding:4px 6px;
}
.yp-dt-foot .ok{background:#0bbb73;color:#fff!important;border-radius:3px;padding:4px 12px}
.yp-dt-foot .ok:hover{background:#00a360}
