.xl-risk-filter-trigger {
  max-width: 310px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xl-risk-filter-popover {
  color: #24344d;
}

.xl-risk-filter-popover header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8edf4;
}

.xl-risk-filter-popover header b {
  font-size: 15px;
}

.xl-risk-filter-popover header small {
  color: #7a8799;
  line-height: 1.5;
}

.xl-risk-filter-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 14px 0;
}

.xl-risk-filter-fields label {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
  color: #627189;
  font-size: 13px;
}

.xl-risk-filter-fields input {
  width: 100%;
  height: 36px;
  box-sizing: border-box;
  padding: 0 10px;
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  outline: none;
  color: #152944;
  font: inherit;
  font-variant-numeric: tabular-nums;
}

.xl-risk-filter-fields input:focus {
  border-color: #2f73d9;
  box-shadow: 0 0 0 3px rgba(47, 115, 217, 0.12);
}

.xl-risk-filter-popover footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #e8edf4;
}

.xl-risk-filter-popover footer button {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  background: #fff;
  color: #42536d;
  cursor: pointer;
}

.xl-risk-filter-popover footer button.primary {
  border-color: #155fba;
  background: #155fba;
  color: #fff;
}

.xl-risk-filter-popover footer button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

@media (max-width: 720px) {
  .xl-risk-filter-trigger {
    max-width: 100%;
  }

  .xl-risk-filter-fields {
    grid-template-columns: 1fr;
  }
}
