/* Ensure delete button has white text for readability */
.filter-delete-btn,
.filter-delete-btn.ant-btn-dangerous {
  color: #fff !important;
}

.filter-delete-btn:hover,
.filter-delete-btn:active,
.filter-delete-btn:focus,
.filter-delete-btn.ant-btn-dangerous:hover,
.filter-delete-btn.ant-btn-dangerous:active,
.filter-delete-btn.ant-btn-dangerous:focus {
  color: #fff !important;
}

/* Share sub-modal */
.share-modal-content {
  padding: 8px 0;
}

.share-modal-label {
  font-weight: 700;
  color: #725bb4;
  font-size: 11px;
  padding-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.share-modal-radio-group {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.share-modal-option {
  padding: 12px 16px;
  border: 1px solid #f0f0f0;
  border-radius: 4px;
  margin-bottom: 8px;
  transition: border-color 0.2s, background-color 0.2s;
}

.share-modal-option--selected {
  border-color: #725bb4;
  background-color: rgba(114, 91, 180, 0.04);
}

.share-modal-note {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.45);
  margin-top: 4px;
  margin-left: 22px;
}

/* Set as my default filter toggle */
.default-filter-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  margin-top: 16px;
  margin-bottom: 16px;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
}

.default-filter-toggle .ant-switch-checked {
  background-color: #725bb4 !important;
}

/* Field, operator, and value selection dropdowns: scroll when items exceed viewable area */
.utility-filters-select-dropdown.ant-select-dropdown .ant-select-dropdown-menu {
  max-height: 256px;
  overflow-y: auto;
}

.utility-filters-select-dropdown.ant-select-dropdown .rc-virtual-list-holder {
  max-height: 256px;
  overflow-y: auto !important;
}
