.pms-date-input { position:relative; display:block; width:100%; }
.pms-date-input > input[type="date"] { width:100%; padding-right:38px!important; cursor:pointer; }
.pms-date-input > input[type="date"]::-webkit-calendar-picker-indicator,
.pms-date-input > input[type="date"]::-webkit-inner-spin-button { opacity:0; pointer-events:none; }
.pms-date-trigger { position:absolute; z-index:1; right:4px; top:50%; display:grid; place-items:center; width:30px; height:29px; padding:0; transform:translateY(-50%); border:0; border-radius:5px; background:#fff3e9; color:#cc5208; font:700 15px/1 Arial,sans-serif; cursor:pointer; }
.pms-date-trigger:hover { background:#ffe4cf; }
.create-date-control .pms-date-trigger { right:4px; top:50%; width:30px; height:29px; transform:translateY(-50%); border:0; background:#fff3e9; color:#cc5208; }
.create-date-control .pms-date-trigger:hover { background:#ffe4cf; color:#b74706; }
.pms-date-trigger:focus-visible { outline:2px solid #ef741a; outline-offset:1px; }
.pms-date-popover { position:fixed; z-index:2400; width:292px; margin:0; padding:12px; border:1px solid #efcfb8; border-radius:11px; background:#fff; color:#3d434e; box-shadow:0 18px 50px #39251638; font-family:Poppins,Arial,sans-serif; }
.pms-date-popover[hidden] { display:none; }
.pms-date-popover:before { content:""; position:absolute; top:-6px; left:var(--arrow-left,24px); width:10px; height:10px; transform:rotate(45deg); border-left:1px solid #efcfb8; border-top:1px solid #efcfb8; background:#fff; }
.pms-date-head { display:grid; grid-template-columns:32px 1fr 32px; align-items:center; gap:6px; margin-bottom:10px; }
.pms-date-head button { display:grid; place-items:center; width:32px; height:32px; padding:0; border:1px solid #eadfd6; border-radius:7px; background:#fff; color:#5c6675; font-size:18px; cursor:pointer; }
.pms-date-head button:hover { border-color:#efb487; background:#fff6ef; color:#c9530a; }
.pms-date-title { text-align:center; }
.pms-date-title small { color:#8993a1; font-size:9px; }
.pms-date-jump { display:grid; grid-template-columns:minmax(0,1fr) 76px; gap:5px; }
.pms-date-jump select { width:100%; height:29px; padding:0 22px 0 7px; border:1px solid #e5d9cf; border-radius:6px; background:#fff8f2; color:#465367; font:700 10px Poppins,Arial,sans-serif; cursor:pointer; }
.pms-date-jump select:hover,.pms-date-jump select:focus { border-color:#efad7a; outline:0; box-shadow:0 0 0 2px #ffe8d5; }
.pms-date-week,.pms-date-grid { display:grid; grid-template-columns:repeat(7,1fr); gap:3px; }
.pms-date-week { margin-bottom:4px; color:#8993a1; font-size:8px; font-weight:800; text-align:center; text-transform:uppercase; }
.pms-date-week span { padding:4px 0; }
.pms-date-day { position:relative; display:grid; place-items:center; width:34px; height:32px; padding:0; border:1px solid transparent; border-radius:7px; background:transparent; color:#465367; font:600 10px Poppins,Arial,sans-serif; cursor:pointer; }
.pms-date-day:hover { border-color:#efc29f; background:#fff5ed; color:#b74706; }
.pms-date-day.outside { color:#b4bac3; }
.pms-date-day.today { border-color:#efc29f; color:#c9540a; }
.pms-date-day.selected { border-color:#ef741a; background:#ef741a; color:#fff; box-shadow:0 4px 9px #ef741a38; }
.pms-date-day:disabled { opacity:.28; cursor:not-allowed; }
.pms-date-actions { display:flex; align-items:center; justify-content:space-between; gap:7px; margin-top:10px; padding-top:9px; border-top:1px solid #f0e7e0; }
.pms-date-actions button { min-height:30px; padding:0 10px; border:1px solid #e2e6ec; border-radius:6px; background:#fff; color:#5e6979; font:700 9px Poppins,Arial,sans-serif; cursor:pointer; }
.pms-date-actions button:hover { background:#f7f8fa; }
.pms-date-actions .pms-date-today { margin-left:auto; border-color:#ef741a; background:#ef741a; color:#fff; }
.pms-date-actions .pms-date-today:hover { background:#cc5208; }
body.pms-date-open:after { content:""; position:fixed; inset:0; z-index:2390; background:transparent; }
body.pms-date-open .pms-date-popover { z-index:2400; }
@media(max-width:420px) { .pms-date-popover { left:10px!important; right:10px; width:auto; } .pms-date-day { width:100%; } }
