/* DD/MM/YYYY date picker */
.dp-wrap{position:relative;display:flex;gap:6px;align-items:stretch;width:100%}
.dp-wrap .dp-input{flex:1;min-width:0;letter-spacing:.03em;font-variant-numeric:tabular-nums}
.dp-btn{flex:none;width:44px;border:1px solid #d5d9e0;background:#fff;border-radius:6px;color:#1f3556;cursor:pointer;display:grid;place-items:center}
.dp-btn:hover,.dp-btn[aria-expanded="true"]{background:#eef2f8}
.dp-time{flex:none;width:118px}
.dp-pop{position:absolute;left:0;top:calc(100% + 6px);z-index:400;width:296px;background:#fff;border:1px solid #d5d9e0;border-radius:10px;box-shadow:0 12px 32px rgba(15,25,45,.18);padding:10px;color:#18202f;font-size:14px}
.dp-pop.up{top:auto;bottom:calc(100% + 6px)}
.dp-head{display:flex;gap:6px;align-items:center;margin-bottom:8px}
.dp-head select{flex:1;min-width:0;padding:6px 4px;border:1px solid #d5d9e0;border-radius:6px;font:inherit;background:#fff;height:auto}
.dp-nav{width:30px;height:32px;border:1px solid #d5d9e0;background:#fff;border-radius:6px;font-size:18px;cursor:pointer;line-height:1}
.dp-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;text-align:center}
.dp-dow{font-size:11px;font-weight:700;color:#5b6475;padding:4px 0}.dp-dow.sun,.dp-day.sun{color:#b4233f}
.dp-day{border:0;background:none;height:34px;border-radius:6px;cursor:pointer;font:inherit;color:inherit}
.dp-day:hover{background:#eef2f8}.dp-day.today{outline:1px solid #9aa6b8}
.dp-day.on{background:#0b2447;color:#fff;font-weight:700}
.dp-day:disabled{color:#c3c8d1;cursor:not-allowed;background:none}
.dp-foot{display:flex;justify-content:space-between;margin-top:8px;border-top:1px solid #eceef2;padding-top:8px}
.dp-foot button{border:0;background:none;color:#0b2447;font-weight:700;cursor:pointer;font:inherit;font-weight:700}
.dp-err{display:block;color:#b4233f;font-size:.85rem;font-weight:600;margin-top:4px}
@media (max-width:420px){.dp-pop{width:calc(100vw - 40px)}}
[data-theme="dark"] .dp-pop,[data-theme="dark"] .dp-btn,[data-theme="dark"] .dp-nav,[data-theme="dark"] .dp-head select{background:#1d2433;color:#e8ecf3;border-color:#33405a}
.dp-pop.right{left:auto;right:0}
