/* Control Ds — calendário do pedido alinhado ao date picker do Atestados */
.request-date-field{position:relative!important}
.request-date-native{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  opacity:0!important;
  pointer-events:none!important;
  clip-path:inset(50%)!important;
}
.request-date-trigger{
  width:100%;
  min-height:50px;
  padding:0 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border:1px solid #333941;
  border-radius:13px;
  background:#101216;
  color:#eef1f4;
  font:inherit;
  font-size:11px;
  font-weight:780;
  text-align:left;
  cursor:pointer;
  outline:none;
  transition:border-color .14s ease,box-shadow .14s ease,background .14s ease;
}
.request-date-trigger:hover{background:#14171b;border-color:#434b55}
.request-date-trigger:focus-visible,
.request-date-trigger[aria-expanded="true"]{
  border-color:#60788b;
  box-shadow:0 0 0 3px rgba(96,120,139,.1);
}
.request-date-trigger svg{
  width:17px;
  height:17px;
  flex:0 0 17px;
  fill:none;
  stroke:#87939d;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.request-date-trigger[aria-expanded="true"] svg{stroke:#cbd4db}

.request-date-popover{
  position:fixed!important;
  z-index:2147483645!important;
  width:min(320px,calc(100vw - 20px));
  padding:12px;
  border:1px solid #343b44;
  border-radius:15px;
  background:#11151a;
  color:#eef2f5;
  box-shadow:0 24px 60px rgba(0,0,0,.48),0 0 0 1px rgba(255,255,255,.02);
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  transform-origin:top left;
  animation:requestDateReveal .18s cubic-bezier(.22,.8,.32,1) both;
}
.request-date-popover[hidden]{display:none!important}
.request-date-head{
  display:grid;
  grid-template-columns:34px minmax(0,1fr) 34px;
  gap:7px;
  align-items:center;
  margin-bottom:10px;
}
.request-date-nav{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border:1px solid #2c333b;
  border-radius:9px;
  background:#15191e;
  color:#aeb8c0;
  cursor:pointer;
  transition:.12s ease;
}
.request-date-nav:hover{background:#1d2228;border-color:#414a54;color:#fff}
.request-date-nav svg{
  width:15px;
  height:15px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.request-date-month{
  text-align:center;
  color:#edf1f4;
  font-size:11px;
  font-weight:850;
  letter-spacing:-.01em;
  text-transform:capitalize;
}
.request-date-weekdays,
.request-date-grid{
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:4px;
}
.request-date-weekdays{margin-bottom:4px}
.request-date-weekdays span{
  height:23px;
  display:grid;
  place-items:center;
  color:#6f7983;
  font-size:8px;
  font-weight:850;
  text-transform:uppercase;
}
.request-date-day{
  height:34px;
  display:grid;
  place-items:center;
  border:1px solid transparent;
  border-radius:9px;
  background:transparent;
  color:#cbd2d8;
  font:inherit;
  font-size:9.5px;
  font-weight:760;
  cursor:pointer;
  transition:background .11s ease,border-color .11s ease,color .11s ease,transform .11s ease;
}
.request-date-day:hover{background:#1c2228;border-color:#303943;color:#fff}
.request-date-day:active{transform:scale(.94)}
.request-date-day.outside{color:#505963}
.request-date-day.today{border-color:#46596a;color:#d8e4ec}
.request-date-day.selected{
  background:#7897ad;
  border-color:#7897ad;
  color:#091016;
  box-shadow:0 5px 14px rgba(120,151,173,.2);
  font-weight:900;
}
.request-date-day.selected:hover{background:#88a5b9;border-color:#88a5b9;color:#071016}
.request-date-day.disabled{opacity:.28;cursor:not-allowed}
.request-date-foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-top:10px;
  padding-top:10px;
  border-top:1px solid #252b32;
}
.request-date-hint{color:#66717b;font-size:8px}
.request-date-today{
  min-height:32px;
  padding:0 11px;
  border:1px solid #343c45;
  border-radius:9px;
  background:#171b20;
  color:#d7dde2;
  font:inherit;
  font-size:8.5px;
  font-weight:850;
  cursor:pointer;
}
.request-date-today:hover{background:#20262c;border-color:#4a555f;color:#fff}

html[data-theme="light"] .request-date-trigger{
  background:#f4f6f7;
  color:#34393d;
  border-color:#d1d7db;
}
html[data-theme="light"] .request-date-trigger:hover{
  background:#eceff1;
  border-color:#b8c0c5;
}
html[data-theme="light"] .request-date-trigger:focus-visible,
html[data-theme="light"] .request-date-trigger[aria-expanded="true"]{
  border-color:#8f969b;
  box-shadow:0 0 0 3px rgba(100,118,128,.08);
}
html[data-theme="light"] .request-date-popover{
  background:#fff;
  color:#263740;
  border-color:#ccd8de;
  box-shadow:0 24px 54px rgba(39,57,67,.18),0 0 0 1px rgba(36,57,68,.025);
}
html[data-theme="light"] .request-date-nav,
html[data-theme="light"] .request-date-today{
  background:#f7f9fa;
  border-color:#d9e1e5;
  color:#667983;
}
html[data-theme="light"] .request-date-nav:hover,
html[data-theme="light"] .request-date-today:hover{
  background:#edf3f6;
  color:#243640;
  border-color:#bfcdd4;
}
html[data-theme="light"] .request-date-month{color:#263740}
html[data-theme="light"] .request-date-weekdays span{color:#86949c}
html[data-theme="light"] .request-date-day{color:#40535e}
html[data-theme="light"] .request-date-day:hover{background:#eef3f6;border-color:#dce5e9;color:#1f3039}
html[data-theme="light"] .request-date-day.outside{color:#a7b1b7}
html[data-theme="light"] .request-date-day.today{border-color:#8fa7b7;color:#365262}
html[data-theme="light"] .request-date-day.selected{background:#6689a2;border-color:#6689a2;color:#fff}
html[data-theme="light"] .request-date-foot{border-color:#e4eaed}
html[data-theme="light"] .request-date-hint{color:#8a989f}

@keyframes requestDateReveal{
  from{opacity:0;transform:translateY(-7px)}
  to{opacity:1;transform:translateY(0)}
}
@media(max-width:560px){
  .request-date-popover{
    left:10px!important;
    right:auto!important;
    top:auto!important;
    bottom:10px!important;
    width:calc(100vw - 20px);
    transform-origin:bottom center;
    animation-name:requestDateRevealMobile;
  }
  .request-date-day{height:38px;font-size:10px}
  .request-date-hint{display:none}
}
@keyframes requestDateRevealMobile{
  from{opacity:0;transform:translateY(12px)}
  to{opacity:1;transform:translateY(0)}
}
@media(prefers-reduced-motion:reduce){
  .request-date-popover{animation:none!important}
  .request-date-trigger,.request-date-nav,.request-date-day{transition:none!important}
}