/* DIPAYUDA Datepicker - date/time field styles and the pop-up calendar */
.dp-field{position:relative;display:block;width:100%}
.profile-modal-form .dp-field,.adm-form .dp-field{margin-top:5px}
:where(.dp-field input.dp-display){border:1px solid #d8e5e1;border-radius:8px;padding:9px 10px;font:500 13px Inter,system-ui,sans-serif;color:#173b4f;height:auto}
.dp-field input.dp-display{display:block;width:100%;box-sizing:border-box;margin-top:0!important;padding-right:66px!important;cursor:pointer;background:#fff;text-overflow:ellipsis}
.dp-field input.dp-display:focus{border-color:#087760!important;box-shadow:0 0 0 3px rgba(8,119,96,.14)}
.dp-field input.dp-display::placeholder{color:#9bb0aa;opacity:1}
.dp-open,.dp-clear{position:absolute;top:50%;transform:translateY(-50%);width:28px;height:28px;display:grid;place-items:center;border:0;background:transparent;color:#5d7d75;border-radius:7px;cursor:pointer;padding:0;line-height:1}
.dp-open{right:5px}
.dp-open svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.dp-open:hover{background:#e7f6f1;color:#087760}
.dp-clear{right:33px;font-size:19px;color:#93a8a2;display:none}
.dp-field.has-value .dp-clear{display:grid}
.dp-clear:hover{background:#fdeceb;color:#c0392b}

.dp-backdrop{position:fixed;inset:0;background:rgba(12,38,32,.45);z-index:9999}
.dp-pop{position:fixed;z-index:10000;width:300px;max-width:calc(100vw - 16px);box-sizing:border-box;background:#fff;border:1px solid #dbe7e3;border-radius:14px;box-shadow:0 18px 50px rgba(12,45,38,.22);padding:12px;color:#173b4f;font:500 13px/1.3 Inter,system-ui,sans-serif;-webkit-user-select:none;user-select:none}
.dp-pop *{box-sizing:border-box}
.dp-pop button{font-family:inherit}
.dp-head{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:8px}
.dp-nav{width:32px;height:32px;border:1px solid #e0ebe7;background:#fff;border-radius:9px;font-size:20px;line-height:1;color:#35574f;cursor:pointer;display:grid;place-items:center;padding:0 0 2px}
.dp-nav:hover:not(:disabled){background:#e7f6f1;border-color:#bfe3d8;color:#087760}
.dp-nav:disabled{opacity:.3;cursor:default}
.dp-selects{display:flex;gap:6px;flex:1;justify-content:center}
.dp-pop select{appearance:auto;height:32px;border:1px solid #e0ebe7;border-radius:9px;background:#fff;color:#173b4f;font:600 13px Inter,system-ui,sans-serif;padding:0 6px;cursor:pointer;outline:0;margin:0;width:auto}
.dp-pop select:focus{border-color:#087760;box-shadow:0 0 0 3px rgba(8,119,96,.14)}
.dp-month{min-width:104px}
.dp-year{min-width:72px}
.dp-dow,.dp-days{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}
.dp-dow span{text-align:center;font-size:11px;font-weight:700;color:#7a918b;padding:4px 0 6px}
.dp-dow .is-sun,.dp-day.is-sun{color:#c0504a}
.dp-day{height:36px;border:0;background:transparent;border-radius:10px;color:#173b4f;font-size:13px;font-weight:600;cursor:pointer;padding:0;position:relative}
.dp-day:hover:not(:disabled){background:#e7f6f1}
.dp-day.is-today{box-shadow:inset 0 0 0 1.5px #0b8a6e}
.dp-day.is-selected,.dp-day.is-selected:hover{background:#087760;color:#fff;box-shadow:none}
.dp-day:disabled{opacity:.28;cursor:default}
.dp-day:focus-visible,.dp-topt:focus-visible,.dp-link:focus-visible,.dp-done:focus-visible,.dp-nav:focus-visible{outline:2px solid #087760;outline-offset:1px}
.dp-blank{display:block;height:36px}

.dp-foot{display:flex;align-items:center;gap:6px;margin-top:10px;padding-top:10px;border-top:1px solid #edf3f1}
.dp-link{border:0;background:transparent;color:#087760;font-size:12.5px;font-weight:700;padding:6px 8px;border-radius:8px;cursor:pointer}
.dp-link:hover:not(:disabled){background:#e7f6f1}
.dp-link:disabled{opacity:.35;cursor:default}
.dp-link.danger{color:#c0392b}
.dp-link.danger:hover{background:#fdeceb}
.dp-done{margin-left:auto;border:0;background:#087760;color:#fff;font-size:12.5px;font-weight:700;padding:7px 14px;border-radius:9px;cursor:pointer}
.dp-done:hover{background:#066a56}

.dp-timerow{display:flex;align-items:center;gap:8px;margin-top:10px;padding-top:10px;border-top:1px solid #edf3f1}
.dp-timelabel{font-size:12px;font-weight:700;color:#5d7d75;margin-right:auto}
.dp-timerow select{min-width:62px}
.dp-timerow b{color:#5d7d75}

.dp-pop-time{width:236px}
.dp-tcols{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.dp-tlabel{display:block;text-align:center;font-size:11px;font-weight:700;color:#7a918b;padding:0 0 6px}
.dp-tcol{height:216px;overflow-y:auto;display:flex;flex-direction:column;gap:2px;padding:2px;border:1px solid #edf3f1;border-radius:10px;scrollbar-width:thin;position:relative}
.dp-topt{flex:0 0 auto;height:34px;border:0;background:transparent;border-radius:8px;font-size:13px;font-weight:600;color:#173b4f;cursor:pointer}
.dp-topt:hover:not(:disabled){background:#e7f6f1}
.dp-topt.is-selected,.dp-topt.is-selected:hover{background:#087760;color:#fff}
.dp-topt:disabled{opacity:.28;cursor:default}

/* Small screens: shown as a bottom sheet */
.dp-pop.dp-sheet{left:0!important;right:0;top:auto!important;bottom:0;width:100%;max-width:none;border-radius:18px 18px 0 0;border-width:1px 0 0;padding:14px 14px calc(14px + env(safe-area-inset-bottom,0px));box-shadow:0 -12px 40px rgba(12,45,38,.25);max-height:88vh;overflow-y:auto}
.dp-sheet .dp-day,.dp-sheet .dp-blank{height:42px}
.dp-sheet .dp-day{font-size:14px}
.dp-sheet .dp-nav,.dp-sheet select{height:38px}
.dp-sheet .dp-nav{width:38px}
.dp-sheet.dp-pop-time .dp-tcol{height:240px}
.dp-sheet .dp-topt{height:40px}
@media(min-width:561px){.dp-pop.dp-sheet{display:none}}

/* Form layout utilities used by the profile/settings/dashboard pages */
.dp-quick{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.dp-chip{border:1px solid #cfe3dc;background:#f2faf7;color:#087760;font:700 11.5px Inter,system-ui,sans-serif;border-radius:999px;padding:5px 11px;cursor:pointer}
.dp-chip:hover{background:#e0f3ed}
