.shamsi-date-wrap {
  position: relative;
}

.shamsi-cal {
  position: absolute;
  z-index: 1080;
  top: calc(100% + 4px);
  right: 0;
  width: 280px;
  background: #fff;
  border: 1px solid rgba(67, 89, 113, 0.2);
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1.25rem rgba(67, 89, 113, 0.18);
  padding: 0.75rem;
  font-size: 0.8125rem;
}

.shamsi-cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

.shamsi-cal__nav,
.shamsi-cal__today {
  border: 0;
  background: #f5f5f9;
  color: #566a7f;
  border-radius: 0.375rem;
  width: 2rem;
  height: 2rem;
  line-height: 1;
}

.shamsi-cal__today {
  width: auto;
  padding: 0 0.65rem;
  margin-top: 0.5rem;
}

.shamsi-cal__title {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
}

.shamsi-cal__title select {
  border: 1px solid rgba(67, 89, 113, 0.2);
  border-radius: 0.375rem;
  padding: 0.15rem 0.35rem;
  background: #fff;
  font-size: 0.8125rem;
}

.shamsi-cal__week,
.shamsi-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
}

.shamsi-cal__week {
  color: #a1acb8;
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
}

.shamsi-cal__day {
  border: 0;
  background: transparent;
  border-radius: 0.375rem;
  height: 2rem;
  color: #566a7f;
}

.shamsi-cal__day:hover {
  background: #f5f5f9;
}

.shamsi-cal__day.is-muted {
  color: #c4c9d0;
}

.shamsi-cal__day.is-today {
  box-shadow: inset 0 0 0 1px #696cff;
}

.shamsi-cal__day.is-selected {
  background: #696cff;
  color: #fff;
}

.shamsi-cal__day.is-selected:hover {
  background: #5f61e6;
  color: #fff;
}

.js-shamsi-date {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23566a7f' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5M1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 0.75rem center;
  padding-left: 2.25rem;
}
