/* FILTERS */

.wpc-filters-widget-content .wpc-filters-section .wpc-filter-search-form .wpc-search-field  {
    padding: 7px 40px 8px;
    border-radius: 5px;
    background-color: #f3f3f3;
    font-size: 15px;
    color: #999;
}
.wpc-orderby-select {
    border-radius: 5px;
    background-color: #f3f3f3;
    font-size: 15px;
}

/* ==========================================================================
   Toolbar Search styled like your dropdown (subtle border, small radius)
   ========================================================================== */

.xm2-toolbar-search{
  display: inline-flex;
  align-items: center;
  gap: 6px;

  background: #f3f3f3;
  border: 1px solid #d7deea;   /* matches the soft bluish-gray border */
  border-radius: 5px;         /* dropdown-like radius */
  padding: 6px 10px;
  height: 32px;               /* close to your dropdown height */
}

/* Input matches a native select field */
.xm2-toolbar-search__input{
  border: 0 !important;
  outline: none !important;
  background: transparent !important;

  font-size: 14px;
  line-height: 1;
  padding: 0;                 /* container handles padding */
  width: 200px;               /* adjust as needed */
}

/* Button matches field style (no pill button) */
.xm2-toolbar-search__btn{
  border: 0;
  background: transparent;
  cursor: pointer;

  padding: 6px 8px;
  border-radius: 6px;         /* keep consistent with container */
  line-height: 1;
  opacity: .75;
}

.xm2-toolbar-search__btn:hover{
  background: rgba(0,0,0,.04);
  opacity: 1;
}

/* Optional focus style (subtle like a field highlight) */
.xm2-toolbar-search:focus-within{
  border-color: #b7c4df;
  box-shadow: 0 0 0 3px rgba(32, 76, 229, .10);
}

/* === QUERY LOOP TABLE WRAPPER === */

.styled-loop-table {
  width: 100%;
  max-width: 100%;
  /* border-radius: 8px; */
  overflow: hidden;
  font-size: 0.95rem;
  color: #1a1a1a;
  box-sizing: border-box;
  /* border: 1px solid #f0f0f0; */
}

/* === INDIVIDUAL LOOP ITEM (ROW) === */
.styled-loop-table .gb-loop-item {
  border-bottom: 1px solid #f0f0f0;
  box-sizing: border-box;
}

/* === FLEX ROW (INSIDE EACH ITEM) === */
.styled-loop-table .loop-row {
  /* display: flex; */
  width: 100%;
  padding: 16px 24px; /* fixes visual slamming */
  gap: 12px;
  align-items: center;
  box-sizing: border-box;
}

/* === FLEX COLUMNS === */
.styled-loop-table .loop-row > div {
  box-sizing: border-box;
  min-width: 0;
  overflow-wrap: break-word;
}

/* === CUSTOM COLUMN WIDTHS (adjust to match layout) === */
/* .styled-loop-table .loop-row > div:nth-child(1) {
  flex: 0 0 45%;
}
.styled-loop-table .loop-row > div:nth-child(2) {
  flex: 0 0 20%;
}
.styled-loop-table .loop-row > div:nth-child(3) {
  flex: 0 0 35%;
} */
.styled-loop-table .loop-header > div,
.styled-loop-table .loop-row > div {
  flex: 1 1 0%;
  min-width: 0;
  box-sizing: border-box;
}

/* === ZEBRA STRIPING */
.styled-loop-table .gb-loop-item:nth-child(even) .loop-row {
  background-color: #fafafa;
}

/* === ROW HOVER */
.styled-loop-table .gb-loop-item:hover .loop-row {
  background-color: #f0f8ff;
}

/* === LINK STYLING */
.styled-loop-table .loop-row a {
  color: #2b55d4;
  text-decoration: none;
  font-weight: 500;
}

/* === HEADER ROW === */
.styled-loop-table .loop-header {
  display: flex;
  width: 100%;
  gap: 12px;
  padding: 16px 24px;
  align-items: center;
  background-color: #f9f9f9;
  font-weight: 600;
  color: #6b6b6b;
  border-bottom: 1px solid #e5e5e5;
  box-sizing: border-box;
}

/* Same column widths as the loop rows */
/* .styled-loop-table .loop-header > div:nth-child(1) {
  flex: 0 0 45%;
}
.styled-loop-table .loop-header > div:nth-child(2) {
  flex: 0 0 20%;
}
.styled-loop-table .loop-header > div:nth-child(3) {
  flex: 0 0 35%;
} */
