div {
  .ant-picker {
    background-color: var(--form-bg);
    border-radius: var(--form-radius);
    color: inherit;
  }
  .ant-picker:hover,
  .ant-picker-focused {
    border-color: var(--primary);
  }
  .ant-picker-suffix {
    color: inherit;
  }
  .ant-picker-panel {
    background-color: var(--form-bg);
    border-color: var(--form-divider-color);
  }
  .ant-picker-panel .ant-picker-footer {
    border-color: var(--form-divider-color);
  }
  .ant-picker-header {
    border-bottom-color: var(--form-divider-color);
    color: inherit;
  }
  .ant-picker-header button {
    color: inherit;
  }
  .ant-picker-panel-container {
    background-color: var(--form-bg);
  }
  .ant-picker-dropdown {
    color: inherit;
    border-radius: var(--form-radius);
  }

  .ant-picker-cell {
    color: inherit;
    opacity: 0.6;
  }
  .ant-picker-cell-in-view {
    color: inherit;
    opacity: 1;
  }
  .ant-picker-content th {
    color: inherit;
  }
  .ant-picker-today-btn {
    color: var(--primary);
  }
  .ant-picker-cell .ant-picker-cell-inner {
    border-radius: var(--form-radius);
  }
  .ant-picker-cell-in-view.ant-picker-cell-today .ant-picker-cell-inner::before {
    border-radius: var(--form-radius);
  }
  .ant-picker-cell:hover:not(.ant-picker-cell-in-view) .ant-picker-cell-inner,
  .ant-picker-cell:hover:not(.ant-picker-cell-selected):not(.ant-picker-cell-range-start):not(.ant-picker-cell-range-end):not(.ant-picker-cell-range-hover-start):not(.ant-picker-cell-range-hover-end) .ant-picker-cell-inner {
    background-color: var(--form-bg-dark);
  }
  .ant-picker-input > input {
    color: inherit;
  }
  .ant-picker-range-arrow::after {
    border-color: var(--form-bg);
  }
  .ant-picker-cell-in-view.ant-picker-cell-selected .ant-picker-cell-inner,
  .ant-picker-cell-in-view.ant-picker-cell-range-start .ant-picker-cell-inner,
  .ant-picker-cell-in-view.ant-picker-cell-range-end .ant-picker-cell-inner {
    background-color: var(--primary);
  }
  .ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single)::before,
  .ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single)::before {
    background-color: var(--primary);
    opacity: 0.8;
  }
  .ant-picker-cell-in-view.ant-picker-cell-in-range::before {
    background-color: var(--primary);
    opacity: 0.8;
  }
  .ant-picker-focused .ant-picker-separator {
    color: inherit;
  }
  .ant-picker-separator {
    color: inherit;
  }
  .ant-picker-range .ant-picker-active-bar {
    background-color: var(--primary);
  }
}
