.v-date-picker {
  overflow: hidden;
  width: 328px;
}
.v-date-picker--show-week {
  width: 368px;
}
.v-date-picker-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  padding-top: 4px;
  padding-bottom: 4px;
  padding-inline-start: 6px;
  padding-inline-end: 12px;
}
.v-date-picker-controls > .v-btn:first-child {
  text-transform: none;
  font-weight: 400;
  line-height: initial;
  letter-spacing: initial;
}
.v-date-picker-controls--variant-classic {
  padding-inline-start: 12px;
}
.v-date-picker-controls--variant-modern .v-date-picker__title:not(:hover) {
  opacity: 0.7;
}
.v-date-picker--month .v-date-picker-controls--variant-modern .v-date-picker__title {
  cursor: pointer;
}
.v-date-picker--year .v-date-picker-controls--variant-modern .v-date-picker__title {
  opacity: 1;
}
.v-date-picker-controls .v-btn:last-child {
  margin-inline-start: 4px;
}
.v-date-picker--year .v-date-picker-controls .v-date-picker-controls__mode-btn {
  transform: rotate(180deg);
}

.v-date-picker-controls__date {
  margin-inline-end: 4px;
}
.v-date-picker-controls--variant-classic .v-date-picker-controls__date {
  margin: auto;
  text-align: center;
}

.v-date-picker-controls__month {
  display: flex;
}
.v-locale--is-rtl.v-date-picker-controls__month, .v-locale--is-rtl .v-date-picker-controls__month {
  flex-direction: row-reverse;
}

.v-date-picker-controls--variant-classic .v-date-picker-controls__month {
  flex: 1 0 auto;
}

.v-date-picker__title {
  display: inline-block;
}
.v-date-picker-month {
  display: flex;
  justify-content: center;
  padding: 0 12px 8px;
  --v-date-picker-month-day-diff: 4px;
}

.v-date-picker-month__weeks {
  display: grid;
  grid-template-rows: min-content min-content min-content min-content min-content min-content min-content;
  column-gap: 4px;
  font-size: 0.85rem;
}
.v-date-picker-month__weeks + .v-date-picker-month__days {
  grid-row-gap: 0;
}

.v-date-picker-month__weekday {
  font-size: 0.85rem;
}

.v-date-picker-month__days {
  display: grid;
  grid-template-columns: min-content min-content min-content min-content min-content min-content min-content;
  column-gap: 4px;
  flex: 1 1;
  justify-content: space-around;
}

.v-date-picker-month__day {
  align-items: center;
  display: flex;
  justify-content: center;
  position: relative;
  height: 40px;
  width: 40px;
}
.v-date-picker-month__day--selected .v-btn {
  background-color: rgb(var(--v-theme-surface-variant));
  color: rgb(var(--v-theme-on-surface-variant));
}
.v-date-picker-month__day .v-btn.v-date-picker-month__day-btn {
  --v-btn-height: 24px;
  --v-btn-size: 0.85rem;
}
.v-date-picker-month__day--week {
  font-size: var(--v-btn-size);
}

.v-date-picker-month__day--adjacent {
  opacity: 0.5;
}

.v-date-picker-month__day--hide-adjacent {
  opacity: 0;
}
.v-date-picker-months {
  height: 288px;
}

.v-date-picker-months__content {
  align-items: center;
  display: grid;
  flex: 1 1;
  height: inherit;
  justify-content: space-around;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 0px 24px;
  padding-inline-start: 36px;
  padding-inline-end: 36px;
}
.v-date-picker-months__content .v-btn {
  text-transform: none;
  padding-inline-start: 8px;
  padding-inline-end: 8px;
}
.v-date-picker-years {
  height: 288px;
  overflow-y: scroll;
}

.v-date-picker-years__content {
  display: grid;
  flex: 1 1;
  justify-content: space-around;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 24px;
  padding-inline: 32px;
}
.v-date-picker-years__content .v-btn {
  padding-inline: 8px;
}
.v-picker.v-sheet {
  display: grid;
  grid-auto-rows: min-content;
  grid-template-areas: "title" "header" "body";
  overflow: hidden;
}
.v-picker.v-sheet {
  box-shadow: 0px 0px 0px 0px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, 0.2)), 0px 0px 0px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.14)), 0px 0px 0px 0px var(--v-shadow-key-ambient-opacity, rgba(0, 0, 0, 0.12));
}
.v-picker.v-sheet {
  border-radius: 4px;
}
.v-picker.v-sheet.v-picker--with-actions {
  grid-template-areas: "title" "header" "body" "actions";
}

.v-picker__body {
  grid-area: body;
  overflow: hidden;
  position: relative;
}

.v-picker__header {
  grid-area: header;
}

.v-picker__actions {
  grid-area: actions;
  padding: 0 12px 12px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.v-picker__actions .v-btn {
  min-width: 48px;
}
.v-picker__actions .v-btn:not(:last-child) {
  margin-inline-end: 8px;
}

.v-picker--landscape {
  grid-template-areas: "title" "header body" "header body";
}

.v-picker--landscape.v-picker--with-actions {
  grid-template-areas: "title" "header body" "header actions";
}

.v-picker-title {
  text-transform: uppercase;
  font-size: 0.75rem;
  grid-area: title;
  padding-inline: 24px 12px;
  padding-top: 16px;
  padding-bottom: 16px;
  font-weight: 400;
  letter-spacing: 0.1666666667em;
}
.v-date-picker-header {
  align-items: flex-end;
  height: 70px;
  display: grid;
  grid-template-areas: "prepend content append";
  grid-template-columns: min-content minmax(0, 1fr) min-content;
  overflow: hidden;
  padding-inline: 24px 12px;
  padding-bottom: 12px;
}

.v-date-picker-header__append {
  grid-area: append;
}

.v-date-picker-header__prepend {
  grid-area: prepend;
  padding-inline-start: 8px;
}

.v-date-picker-header__content {
  align-items: center;
  display: inline-flex;
  font-size: 32px;
  line-height: 40px;
  grid-area: content;
  justify-content: space-between;
}
.v-date-picker-header--clickable .v-date-picker-header__content {
  cursor: pointer;
}
.v-date-picker-header--clickable .v-date-picker-header__content:not(:hover) {
  opacity: 0.7;
}

.date-picker-header-transition-enter-active,
.date-picker-header-reverse-transition-enter-active {
  transition-duration: 0.3s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.date-picker-header-transition-leave-active,
.date-picker-header-reverse-transition-leave-active {
  transition-duration: 0.3s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.date-picker-header-transition-enter-from {
  transform: translate(0, 100%);
}
.date-picker-header-transition-leave-to {
  opacity: 0;
  transform: translate(0, -100%);
}

.date-picker-header-reverse-transition-enter-from {
  transform: translate(0, -100%);
}
.date-picker-header-reverse-transition-leave-to {
  opacity: 0;
  transform: translate(0, 100%);
}

