@charset "UTF-8";
.last-datepicker {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
  width: 100%;
  padding: 0.625rem 0;
}
.last-datepicker .controls {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 0;
  right: 12px;
  width: 98%;
}
.last-datepicker .controls button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #EBECEF;
  color: #717C8B;
  border: none;
}
.last-datepicker .controls button:hover {
  background-color: #dee2e6;
  border: none !important;
  cursor: auto;
}
.last-datepicker .controls button:hover:active {
  background-color: #dee2e6;
  color: #717C8B;
}
.last-datepicker .controls button:focus {
  border: none !important;
}
.last-datepicker .controls button:focus * {
  border: none !important;
}
.last-datepicker .controls button i {
  display: flex;
  font-size: 16px;
  font-weight: bold;
}
.last-datepicker .box__month {
  display: flex;
  flex-direction: column;
  width: 350px;
  margin-top: -0.625rem;
}
.last-datepicker .box__month .month {
  margin-bottom: 0.625rem;
  padding-bottom: 1.25rem;
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  color: #2F3742;
  border-bottom: 1px solid #dee2e6;
}
.last-datepicker .box__month .week {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.625rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid #dee2e6;
}
.last-datepicker .box__month .week li {
  width: 14.2857142857%;
  text-align: center;
}
.last-datepicker .box__month .days {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin-right: 3px;
}
.last-datepicker .box__month .days li {
  display: flex;
  align-items: center;
  position: relative;
  height: 45px;
  width: 12.8571428571%;
  margin-left: 0.3125rem;
  margin-bottom: 0.3125rem;
  background-color: #F9F9FA;
  font-size: 16px;
  font-weight: 700;
  color: #4E5C6E;
  cursor: pointer;
  border-radius: 3px;
  text-align: center;
}
.last-datepicker .box__month .days li span {
  display: flex;
  flex-direction: column-reverse;
  width: 100%;
}
.last-datepicker .box__month .days li span small {
  font-size: 9px;
  color: #0197F6;
  line-height: 3px;
}
.last-datepicker .box__month .days .day__hover {
  background-color: #CCEAFD;
}
.last-datepicker .box__month .days .day__empty {
  background-color: inherit;
  cursor: default;
}
.last-datepicker .box__month .days .day__past {
  color: #DBDEE8;
}
.last-datepicker .box__month .days .day__today {
  background-color: #717C8B;
  color: white;
}
.last-datepicker .box__month .days .day__today span small {
  color: white;
}
.last-datepicker .box__month .days .day__today:before {
  position: absolute;
  content: "امروز";
  font-size: 8px;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}
.last-datepicker .box__month .days .day__range__start {
  background-color: #0197F6;
  color: white;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}
.last-datepicker .box__month .days .day__range__start small {
  color: #fff;
}
.last-datepicker .box__month .days .day__range__start--single {
  background-color: #0197F6;
  color: white;
}
.last-datepicker .box__month .days .day__range__start:before {
  position: absolute;
  content: "شروع";
  font-size: 8px;
  left: 14px;
  top: 0;
}
.last-datepicker .box__month .days .day__range__end {
  background-color: #0197F6;
  color: white;
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
}
.last-datepicker .box__month .days .day__range__end small {
  color: #fff;
}
.last-datepicker .box__month .days .day__range__end:before {
  position: absolute;
  content: "پایان";
  font-size: 8px;
  left: 14px;
  top: 0;
}
.last-datepicker .box__month .days .day__range__middle {
  background-color: #CCEAFD;
  border-radius: 0;
}
.last-datepicker .box__month .days .day__valid__end__date span {
  flex-direction: column;
}
