
/* ============================================================
   v34 Admin schedule Russian month picker
   ============================================================ */

.calendar-panel,
.calendar-filters,
.calendar-filters .field,
.schedule-month-field,
.schedule-month-wrap{
  overflow:visible!important;
}

.calendar-filters{
  position:relative!important;
  z-index:50!important;
}

.schedule-month-wrap{
  position:relative!important;
  width:100%!important;
}

.schedule-month-display{
  cursor:pointer!important;
  height:46px!important;
  min-height:46px!important;
  padding-right:44px!important;
  font-weight:760!important;
  user-select:none!important;
}

.schedule-month-btn{
  position:absolute!important;
  right:12px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:22px!important;
  height:22px!important;
  border:0!important;
  padding:0!important;
  border-radius:8px!important;
  background:transparent!important;
  color:#98a2b3!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  cursor:pointer!important;
  z-index:4!important;
}

.schedule-month-btn:hover{
  background:#eef4ff!important;
  color:#1f4fd8!important;
}

.schedule-month-popover{
  position:absolute!important;
  top:calc(100% + 8px)!important;
  left:0!important;
  width:340px!important;
  max-width:min(340px, calc(100vw - 40px))!important;
  padding:14px!important;
  border-radius:20px!important;
  border:1px solid #dbe5f2!important;
  background:#fff!important;
  box-shadow:0 24px 60px rgba(15,23,42,.18)!important;
  z-index:100000!important;
  pointer-events:auto!important;
}

.schedule-month-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin-bottom:12px!important;
}

.schedule-month-head strong{
  color:#1f2937!important;
  font-size:15px!important;
  font-weight:900!important;
  line-height:1!important;
}

.schedule-month-nav{
  width:34px!important;
  height:34px!important;
  border-radius:12px!important;
  border:1px solid #e4eaf3!important;
  background:#f8fbff!important;
  color:#667085!important;
  font-size:18px!important;
  font-weight:900!important;
  cursor:pointer!important;
}

.schedule-month-nav:hover{
  color:#1f4fd8!important;
  background:#eef4ff!important;
}

.schedule-month-grid{
  display:grid!important;
  grid-template-columns:repeat(3, minmax(0, 1fr))!important;
  gap:8px!important;
}

.schedule-month-option{
  min-height:40px!important;
  padding:9px 8px!important;
  border-radius:13px!important;
  border:1px solid transparent!important;
  background:#f8fbff!important;
  color:#344054!important;
  font-size:12.5px!important;
  line-height:1!important;
  font-weight:800!important;
  cursor:pointer!important;
  text-align:center!important;
  pointer-events:auto!important;
}

.schedule-month-option:hover{
  background:#eef4ff!important;
  color:#1f4fd8!important;
}

.schedule-month-option.is-selected{
  color:#fff!important;
  background:#2f6bff!important;
  border-color:#2f6bff!important;
  box-shadow:0 10px 22px rgba(47,107,255,.24)!important;
}

.schedule-month-actions{
  display:flex!important;
  margin-top:12px!important;
}

.schedule-month-actions .btn{
  width:100%!important;
  justify-content:center!important;
  min-height:38px!important;
}

/* Открытые списки ПВЗ/сотрудников на графике — выше календаря */
.calendar-filters .custom-select.is-open{
  z-index:100000!important;
}

.calendar-filters .custom-select__menu{
  z-index:100001!important;
  max-height:320px!important;
}

/* Сам календарь не должен перекрывать dropdown */
.calendar-shell,
.calendar-grid,
.calendar-side{
  position:relative!important;
  z-index:1!important;
}

@media(max-width:640px){
  .schedule-month-popover{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:12px!important;
    top:auto!important;
    width:auto!important;
    max-width:none!important;
    z-index:100000!important;
  }
}
