.column-filter-container {
  margin-top: 4px;
  width: 100%;
}

.column-filter-text,
.column-filter-select,
.column-filter-date {
  display: block;
  width: 100%;
  padding: 6px 12px 6px 12px;
  height: 36px;
  line-height: 1.2;
  border: 1px solid #e6eaee;
  background: #f4f7f8;
  color: #222;
  font-size: 0.95rem;
  box-sizing: border-box;
  outline: none;
  border-radius: 5px;
}

.column-filter-text:focus,
.column-filter-date:focus {
  border-color: #c7d3db;
  box-shadow: 0 0 0 3px rgba(120, 150, 170, 0.06);
}

.column-filter-date {
  cursor: pointer;
}

/* Hide native select arrow */
.column-filter-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: none;
}

/* Hide IE/old Edge arrow (harmless elsewhere) */
.column-filter-select::-ms-expand {
  display: none;
}

/* Make sure the select doesn't show a focus ring that clashes */
.column-filter-select:focus {
  border-color: #c7d3db;
  box-shadow: 0 0 0 3px rgba(120, 150, 170, 0.06);
  outline: none;
}


.column-filter-wrap {
  position: relative;
  width: 100%;
}

/* Keep space for the button on the right */
.column-filter-text,
.column-filter-select,
.column-filter-date {
  padding-right: 44px; /* you already have this */
}

.column-filter-clear {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  opacity: 0.9;
}

/* Icon: draw an "X" */
.column-filter-clear::before,
.column-filter-clear::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  background: #6b7785;
  transform-origin: center;
}

.column-filter-clear::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.column-filter-clear::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.column-filter-clear:hover {
  background: rgba(0, 0, 0, 0.06);
  opacity: 1;
}

.column-filter-clear:active {
  transform: translateY(-50%) scale(0.98);
}

.column-filter-clear:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(120, 150, 170, 0.18);
}
