/* Nexos CRM V10.9.130 — calendário e horários responsivos, sem sobrepor o formulário */
.modalbox .nx-dt-trigger{width:100%;min-height:43px;padding:10px 12px;display:flex;gap:10px;align-items:center;text-align:left;border:1px solid #d8e2ef;background:#fff;border-radius:9px;color:#243c5b;font:inherit;font-size:13px;font-weight:400;line-height:1.3;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.modalbox .nx-dt-trigger:hover,.modalbox .nx-dt-trigger:focus-visible{border-color:#397cec;outline:none;box-shadow:0 0 0 3px #d8eaff}
.modalbox .nx-dt-trigger.nx-dt-empty .nx-dt-display{color:#7a8ca3}
.nx-dt-trigger .nx-dt-icon,.nx-dt-trigger .nx-dt-clock{color:#3977c9;font-size:18px;font-weight:400}
.nx-dt-trigger .nx-dt-display{flex:1;font-weight:400}
.nx-dt-trigger .nx-dt-caret{color:#7588a4}
.nx-dt-layer{position:fixed;inset:0;z-index:10090;display:grid;place-items:center;padding:18px;background:rgba(10,32,60,.23)}
.nx-dt-popup{width:min(510px,calc(100vw - 26px));max-height:calc(100dvh - 28px);overflow:auto;border:1px solid #d9e5f4;border-radius:15px;background:#fff;color:#203a59;box-shadow:0 18px 60px rgba(12,35,74,.22);font:400 13px/1.4 Arial,system-ui,sans-serif}
.nx-dt-popup *{box-sizing:border-box}
.nx-dt-head{display:flex;justify-content:space-between;align-items:start;gap:14px;padding:17px 20px 13px;border-bottom:1px solid #e7edf6}
.nx-dt-head h3{font-size:16px;font-weight:600;color:#172d4e;margin:0}
.nx-dt-head p{font-size:12px;font-weight:400;color:#6c8097;margin:3px 0 0}
.nx-dt-popup button{font:inherit;cursor:pointer}
.nx-dt-close{border:0;background:transparent;color:#6a7d94;font-size:24px!important;line-height:1;padding:0 3px}
.nx-dt-body{display:grid;grid-template-columns:minmax(0,1fr) 142px;gap:16px;padding:14px 18px}
.nx-dt-month{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-bottom:12px}
.nx-dt-month strong{font-size:13px;font-weight:600;text-align:center}
.nx-dt-month button{border:0;background:transparent;border-radius:7px;padding:1px 10px;font-size:25px;color:#34679e}
.nx-dt-weekdays,.nx-dt-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));text-align:center;gap:3px}
.nx-dt-weekdays{margin-bottom:7px}.nx-dt-weekdays span{color:#7e8fa6;font-size:11px}
.nx-dt-days button{height:32px;min-width:0;border:0;border-radius:9px;color:#324861;background:transparent;font-size:12px;font-weight:400}
.nx-dt-days button:hover{background:#ecf4ff}
.nx-dt-days .nx-dt-other{color:#aab6c7}
.nx-dt-days .nx-dt-today:not(.nx-dt-picked){box-shadow:inset 0 0 0 1px #4b8fea}
.nx-dt-days .nx-dt-picked{background:#1872e9;color:white}
.nx-dt-quick{display:flex;gap:8px;margin-top:10px}
.nx-dt-quick button{background:#f3f7fc;border:1px solid #dce8f6;border-radius:8px;padding:6px 10px;color:#285f9b;font-size:12px}
.nx-dt-hours{border-left:1px solid #e6edf5;padding-left:12px;min-width:0}
.nx-dt-hours-title{font-size:12px;font-weight:600;margin:1px 0 9px}
.nx-dt-hours-title small{display:block;font-size:10px;color:#71869b;font-weight:400;margin-top:1px}
.nx-dt-slots{height:236px;overflow-y:auto;display:grid;align-content:start;gap:5px;padding-right:3px;scrollbar-width:thin}
.nx-dt-slots button{height:30px;border:0;border-radius:7px;color:#304b6e;background:#f3f6fa;font-size:12px;font-weight:400}
.nx-dt-slots button:hover{background:#e3f0ff}
.nx-dt-slots button.nx-dt-selected-slot{background:#1872e9;color:white}
.nx-dt-manual{display:block;margin-top:9px;color:#6c8197;font-size:10px;font-weight:400}
.nx-dt-manual input{display:block;width:100%;margin-top:4px;padding:5px 4px;border:1px solid #d7e3f1;border-radius:7px;background:#fff;color:#294967;font-size:12px}
.nx-dt-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid #e7edf6;padding:12px 18px}
.nx-dt-footer>span{color:#637b95;font-size:12px}
.nx-dt-footer-actions{display:flex;align-items:center;gap:8px}
.nx-dt-footer-actions button{border-radius:8px;padding:8px 11px;font-size:12px}
.nx-dt-clear{border:0;background:transparent;color:#4177bd}
.nx-dt-confirm{border:1px solid #1872e9;background:#1872e9;color:#fff}
@media(max-width:560px){.nx-dt-layer{padding:8px}.nx-dt-popup{width:min(400px,100%)}.nx-dt-body{grid-template-columns:minmax(0,1fr) 110px;gap:9px;padding:11px 10px}.nx-dt-hours{padding-left:8px}.nx-dt-days button{height:29px}.nx-dt-footer{padding:10px 12px}.nx-dt-head{padding:12px}.nx-dt-weekdays,.nx-dt-days{gap:0}}
@media(max-width:360px){.nx-dt-body{grid-template-columns:1fr}.nx-dt-hours{border-left:0;border-top:1px solid #e7edf6;padding:9px 0 0}.nx-dt-slots{height:130px;grid-template-columns:repeat(4,1fr)}.nx-dt-footer{flex-wrap:wrap}}
