[data-scope='date-picker'][data-part='root'] {
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
}

[data-scope='date-picker'][data-part='control'] {
  display: inline-flex;
  gap: 10px;
}

[data-scope='date-picker'][data-part='table-cell-trigger'] {
  padding: 4px;
  min-width: 30px;
  min-height: 30px;
  border-radius: 4px;
  text-align: center;
  user-select: none;
  -webkit-tap-highlight-color: transparent;

  &:hover {
    background: rgba(126, 126, 126, 0.171);
  }

  &[data-focus] {
    background: rgba(165, 151, 165, 0.085);
    color: rgba(128, 0, 128, 0.959);
  }

  &[data-outside-range] {
    visibility: hidden;
  }

  &[data-selected] {
    background: purple !important;
    color: white !important ;
  }

  &[data-in-range]:not([data-selected]) {
    background: rgb(240, 219, 240);
  }

  &[data-today] {
    color: purple;
  }

  &[data-unavailable] {
    text-decoration: line-through;
    opacity: 0.4;
  }

  &[data-disabled] {
    opacity: 0.4;
  }
}

[data-scope='date-picker'][data-part='content'] {
  border: 1px solid gray;
  padding: 1.5rem;
  min-width: 320px;
  background: white;
  border-radius: 8px;
}

[data-scope='date-picker'][data-part='table'] {
  min-width: 240px;
  width: 100%;
  border-collapse: collapse;
}

[data-scope='date-picker'][data-part='view-trigger'] {
  border: 0;
  padding: 4px 20px;
  border-radius: 4px;
}

[data-scope='date-picker'][data-part='view-control'] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-block: 10px;
}
