.select-search-group-with-parent__popup {
  min-width: 200px;
  max-width: 500px;
}

.select-search-group-with-parent__popup .ant-select-dropdown {
  overflow: hidden;
}

.select-search-group-with-parent__popup .ant-select-dropdown-content {
  overflow-x: scroll !important;
  overflow-y: auto !important;
  max-height: 300px;
}

.select-search-group-with-parent__popup .rc-virtual-list {
  overflow-x: scroll !important;
  overflow-y: auto !important;
}

.select-search-group-with-parent__popup .rc-virtual-list-holder {
  overflow-x: scroll !important;
  overflow-y: auto !important;
}

.select-search-group-with-parent__popup .rc-virtual-list-holder-inner {
  width: max-content !important;
  min-width: 100% !important;
}

.select-search-group-with-parent__popup .rc-select-list {
  overflow-x: scroll !important;
  overflow-y: auto !important;
}

.select-search-group-with-parent__popup .rc-select-item {
  min-width: max-content !important;
  width: max-content !important;
  white-space: nowrap !important;
  overflow: visible !important;
}

.select-search-group-with-parent__popup .ant-select-item {
  min-width: max-content !important;
  width: max-content !important;
  white-space: nowrap !important;
  overflow: visible !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
}

.select-search-group-with-parent__popup .ant-select-item-option {
  overflow: visible !important;
  width: max-content !important;
}

.select-search-group-with-parent__popup .ant-select-item-option-content {
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  width: max-content !important;
  min-width: max-content !important;
  display: inline-flex !important;
  gap: 4px;
  max-width: none !important;
}
.popover-content {
  display: flex;
  flex-direction: column;
}
.popover-content .periods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 10px;
  margin-bottom: 10px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e5e5e5;
}
.popover-content .periods button {
  user-select: none;
  padding: 6px 10px;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #00809d;
  text-align: left;
  background-color: #f2f2f2;
  transition: all 0.15s ease-in-out;
}
.popover-content .periods button:hover {
  cursor: pointer;
  background-color: #e5e5e5;
}
.popover-content .periods button:active {
  transform: scale(0.98);
  color: #fff;
  background-color: #00809d;
}
.popover-content .periods .active-period {
  color: #fff;
  background-color: #00809d;
}
.popover-content .periods .active-period:hover {
  background-color: #00809d;
}
.popover-content .popover-bottom {
  display: flex;
  gap: 5px;
  justify-content: space-between;
}
.popover-content .popover-bottom .action-buttons {
  display: flex;
  gap: 4px;
}
.popover-content .popover-bottom .action-buttons button {
  cursor: pointer;
  user-select: none;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #777;
  text-transform: uppercase;
  transition: all 0.2s ease;
}
.popover-content .popover-bottom .action-buttons button:first-child {
  color: #00809d;
}
.popover-content .popover-bottom .action-buttons button:hover {
  background-color: #f2f2f2;
}