/* UI Refresh Datepicker styles matching provided design */
.datepicker-container {
  display: inline-flex;
  gap: 12px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(16,24,40,0.06);
  padding: 14px;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  color: #102027;
  align-items: flex-start;
}
.datepicker-container .sidebar{
  display:none; /* hide sidebar for compact look */
}
.main-calendar{
  min-width: 232px;
}
.calendar-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:8px;
}
.calendar-header .header-left{
  font-size:16px;
  font-weight:600;
  color:#132029;
}
.calendar-header .header-right{
  display:flex;
  align-items:center;
  gap:8px;
}
.nav-arrow{
  width:28px;
  height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  color:#10689D;
  cursor:pointer;
  border:none;
}
.nav-arrow:hover{ background:#eef2ff; color:#2f4bd6; }
.today-btn{
  background:#eef2fb;
  color:#2f4bd6;
  padding:6px 10px;
  border-radius:8px;
  font-weight:700;
  font-size:13px;
  border:none;
  cursor:pointer;
}
.grid-header{ display:grid; grid-template-columns: repeat(7, 1fr); gap:6px; margin-bottom:6px; }
.grid-header div{ text-align:center; font-size:12px; color:#98a1a7; text-transform:uppercase; }
.grid-body{ display:grid; grid-template-columns: repeat(7, 1fr); gap:6px; }
.day-cell{
  min-height:34px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:14px;
  color:#122225;
  border-radius:6px;
}
.day-cell.outside-month{ color:#c4c9cc; }
.day-cell:hover{ background:#f6f8ff; cursor:pointer; }
.day-cell.today{ background:#fff; border:2px solid #d6defd; border-radius:50%; color:#2f4bd6; font-weight:700; }
.day-cell.selected{ background:transparent; border:2px solid #2f4bd6; border-radius:8px; color:#2f4bd6; font-weight:700; }
/* Small rounded container look */
.datepicker-container{ border:1px solid rgba(16,24,40,0.03); }

/* Months grid view */
.month-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:18px;
  padding:12px 6px 6px 6px;
}
.month-cell{
  min-height:56px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:16px;
  color:#122225;
  border-radius:10px;
}
.month-cell.active-month{
  border:2px solid #2f4bd6;
  border-radius:10px;
  font-weight:800;
  background:transparent;
}
.month-cell:hover{ background:#f6f8ff; cursor:pointer; }

/* Years grid view */
.years-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:18px;
  padding:12px 6px 12px 6px;
}
.year-cell{
  min-height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:16px;
  color:#122225;
}
.year-cell.active-year{
  color:#0f63a3;
  font-weight:700;
}
.year-cell:hover{ background:#fafbff; cursor:pointer; border-radius:8px; }
