/* RGC · Selector de fechas en español */
#ui-datepicker-div.ui-datepicker{
  display:none;
  width:320px;
  padding:14px;
  border:1px solid #dfcec7;
  border-radius:18px;
  background:#fff;
  box-shadow:0 20px 55px rgba(64,20,35,.2);
  color:#342b2e;
  font-family:"Montserrat",Arial,sans-serif;
  font-size:14px;
  z-index:1000000!important;
}
#ui-datepicker-div .ui-datepicker-header{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 42px;
  border:0;
  border-radius:12px;
  background:#fbf7f2;
}
#ui-datepicker-div .ui-datepicker-title{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  margin:0;
  color:#1d1820;
  font-weight:800;
  line-height:1;
}
#ui-datepicker-div .ui-datepicker-title select{
  width:auto;
  min-width:90px;
  height:32px;
  margin:0;
  padding:4px 25px 4px 8px;
  border:1px solid #dbc9c2;
  border-radius:8px;
  background-color:#fff;
  color:#342b2e;
  font:inherit;
  font-weight:700;
}
#ui-datepicker-div .ui-datepicker-prev,
#ui-datepicker-div .ui-datepicker-next{
  position:absolute;
  top:6px;
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border:0;
  border-radius:50%;
  background:#fff;
  color:#7c142e;
  cursor:pointer;
}
#ui-datepicker-div .ui-datepicker-prev{left:7px}
#ui-datepicker-div .ui-datepicker-next{right:7px}
#ui-datepicker-div .ui-datepicker-prev:hover,
#ui-datepicker-div .ui-datepicker-next:hover{background:#f1e4de}
#ui-datepicker-div .ui-datepicker-prev span,
#ui-datepicker-div .ui-datepicker-next span{
  position:static;
  width:auto;
  height:auto;
  margin:0;
  overflow:visible;
  background:none;
  text-indent:0;
  font-size:0;
}
#ui-datepicker-div .ui-datepicker-prev span::before{content:"‹"}
#ui-datepicker-div .ui-datepicker-next span::before{content:"›"}
#ui-datepicker-div .ui-datepicker-prev span::before,
#ui-datepicker-div .ui-datepicker-next span::before{
  display:block;
  font-size:24px;
  font-weight:800;
  line-height:1;
}
#ui-datepicker-div table{
  width:100%;
  margin:10px 0 4px;
  border-collapse:separate;
  border-spacing:3px;
}
#ui-datepicker-div th{
  padding:5px 2px;
  border:0;
  color:#75666b;
  font-size:11px;
  font-weight:800;
  text-align:center;
  text-transform:uppercase;
}
#ui-datepicker-div td{padding:0;border:0;background:none}
#ui-datepicker-div td span,
#ui-datepicker-div td a{
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  padding:0;
  border:0;
  border-radius:50%;
  background:#fff;
  color:#342b2e;
  font-weight:650;
  text-align:center;
  text-decoration:none;
}
#ui-datepicker-div td a:hover{background:#f1e4de;color:#7c142e}
#ui-datepicker-div td.ui-datepicker-today a{
  box-shadow:inset 0 0 0 2px #9f314b;
  color:#7c142e;
}
#ui-datepicker-div td.ui-datepicker-current-day a{
  background:#7c142e;
  box-shadow:none;
  color:#fff;
}
#ui-datepicker-div td.ui-datepicker-other-month a,
#ui-datepicker-div td.ui-datepicker-other-month span{color:#b5a8ac}
#ui-datepicker-div .ui-datepicker-buttonpane{
  display:flex;
  justify-content:space-between;
  gap:8px;
  margin:8px 0 0;
  padding:10px 0 0;
  border-top:1px solid #eee2dd;
}
#ui-datepicker-div .ui-datepicker-buttonpane button{
  margin:0;
  padding:7px 12px;
  border:0;
  border-radius:999px;
  background:#f3eae5;
  color:#7c142e;
  font:inherit;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
}
#ui-datepicker-div .ui-datepicker-buttonpane .ui-datepicker-current{
  background:#7c142e;
  color:#fff;
}
#ui-datepicker-div .ui-state-disabled{opacity:.35}
#ui-datepicker-div .ui-helper-hidden-accessible{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
  clip:rect(1px,1px,1px,1px)!important;
}
@media(max-width:420px){
  #ui-datepicker-div.ui-datepicker{width:min(320px,calc(100vw - 24px));padding:11px}
  #ui-datepicker-div td span,#ui-datepicker-div td a{width:32px;height:32px}
}
