/* PREMIER DATE PICKER CORE V1.2.0 */

.premier-date-trigger{
  width:100%;
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 14px;
  border:1px solid #d9e2e7;
  border-radius:12px;
  background:#fff;
  color:#173247;
  font:inherit;
  font-size:14px;
  font-weight:600;
  cursor:pointer;
  box-sizing:border-box;
}

.premier-date-trigger:after{
  content:"▣";
  opacity:.55;
}

.premier-date-overlay{
  position:fixed;
  inset:0;
  z-index:100500;
  display:none;
  align-items:flex-end;
  justify-content:center;
  background:rgba(3,20,17,.52);
}

.premier-date-overlay.show{
  display:flex;
}

.premier-date-picker{
  width:min(430px,100%);
  background:#fff;
  border-radius:25px 25px 0 0;
  padding:18px 16px max(22px,env(safe-area-inset-bottom));
  box-sizing:border-box;
}

.premier-date-head,
.premier-date-nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.premier-date-head{
  margin-bottom:14px;
}

.premier-date-head strong,
.premier-date-nav strong{
  color:#173d35;
  font-weight:900;
}

.premier-date-head button,
.premier-date-nav button{
  width:38px;
  height:38px;
  border:1px solid #e0e8e5;
  border-radius:11px;
  background:#fff;
  color:#164b42;
  font-size:20px;
  cursor:pointer;
}

.premier-date-week,
.premier-date-days{
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:5px;
}

.premier-date-week{
  margin-top:14px;
  margin-bottom:6px;
  color:#82908c;
  font-size:10px;
  font-weight:800;
  text-align:center;
}

.premier-date-day{
  aspect-ratio:1;
  border:0;
  border-radius:12px;
  background:#f7f9f8;
  color:#294940;
  font:inherit;
  font-size:13px;
  font-weight:800;
  cursor:pointer;
}

.premier-date-day.today{
  outline:1px solid #d2b15b;
}

.premier-date-day.selected{
  background:#0a574d;
  color:#fff;
}

.premier-date-day:disabled{
  opacity:.28;
  cursor:not-allowed;
}

.premier-date-empty{
  aspect-ratio:1;
}

.premier-date-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:15px;
}

.premier-date-actions button{
  min-height:44px;
  border-radius:13px;
  font:inherit;
  font-weight:900;
  cursor:pointer;
}

#pdpCancel{
  border:1px solid #dfe7e4;
  background:#fff;
  color:#315149;
}

#pdpToday{
  border:0;
  background:#0a574d;
  color:#fff;
}
