.hxd-pcb-filters-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hxd-pcb-filter-sections-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.hxd-pcb-filter-sections-row > .hxd-pcb-filter-section {
  height: 100%;
}

.hxd-pcb-filter-section {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 1rem 1.25rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid #93c5fd;
  background: linear-gradient(180deg, #f5f9ff 0%, #fff 100%);
  box-shadow:
    0 1px 2px rgba(59, 124, 239, 0.08),
    inset 4px 0 0 #3b7cef;
}

.hxd-pcb-filter-section__title {
  margin: -1rem -1.25rem 0.25rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #1e4a8c;
  background: #dbeafe;
  border-bottom: 1px solid #93c5fd;
  border-radius: 0.75rem 0.75rem 0 0;
}

.hxd-pcb-filter-section__grid.hxd-pcb-filter-section__grid--thermal {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hxd-pcb-range-field {
  gap: 0.375rem;
}

.hxd-pcb-range-field__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
}

.hxd-pcb-range-field__name {
  min-width: 0;
}

.hxd-pcb-range-control {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.hxd-pcb-range-input {
  width: 100%;
  height: 0.375rem;
  margin: 0.375rem 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #e2e8f0 0%, #dbeafe 100%);
  accent-color: #3b7cef;
  cursor: pointer;
}

.hxd-pcb-range-input::-webkit-slider-thumb {
  width: 1rem;
  height: 1rem;
  border: 2px solid #fff;
  border-radius: 0.25rem;
  background: #3b7cef;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.2);
}

.hxd-pcb-range-control__labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #64748b;
}

.hxd-pcb-range-output {
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e4a8c;
  white-space: nowrap;
}

.hxd-pcb-filter-section__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.5rem;
}

.hxd-pcb-filter-section__grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hxd-pcb-filter-section__grid.hxd-pcb-filter-section__grid--mechanical {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hxd-pcb-filter-select {
  width: 100%;
  min-width: 0;
}

.hxd-pcb-filter-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.hxd-pcb-filter-field__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
}

.hxd-pcb-radio-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem 1.25rem;
}

.hxd-pcb-radio-group__option {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: #334155;
  user-select: none;
}

.hxd-pcb-radio-group__option input[type='radio'] {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: #3b7cef;
  cursor: pointer;
}

.hxd-pcb-checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding-top: 0.125rem;
  cursor: pointer;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #334155;
}

.hxd-pcb-checkbox-field input[type='checkbox'] {
  width: 1rem;
  height: 1rem;
  margin: 0.125rem 0 0;
  flex-shrink: 0;
  accent-color: #3b7cef;
  cursor: pointer;
}

.hxd-pcb-filter-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding-bottom: 1rem;
}



.hxd-pcb-filter-search-btn .icon-search {
  font-size: 1rem;
  line-height: 1;
}

@media (max-width: 1024px) {
  .hxd-pcb-filter-sections-row {
    grid-template-columns: 1fr;
  }

  .hxd-pcb-filter-section__grid,
  .hxd-pcb-filter-section__grid--2,
  .hxd-pcb-filter-section__grid--thermal,
  .hxd-pcb-filter-section__grid--mechanical {
    grid-template-columns: 1fr;
  }

  .hxd-pcb-filter-actions {
    justify-content: flex-start;
    width: 100%;
  }
}


    .hxd-pcb-table-loading {
      position: absolute;
      inset: 0;
      z-index: 30;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 0.75rem;
      background: rgba(255, 255, 255, 0.82);
      backdrop-filter: blur(2px);
      -webkit-backdrop-filter: blur(2px);
      pointer-events: all;
    }
  
    .hxd-pcb-table-loading__spinner {
      width: 2.5rem;
      height: 2.5rem;
      border: 3px solid #c5d0e3;
      border-top-color: #3b7cef;
      border-radius: 50%;
      animation: hxd-pcb-table-loading-spin 0.7s linear infinite;
    }
  
    .hxd-pcb-table-loading__text {
      font-size: 0.875rem;
      font-weight: 600;
      letter-spacing: 0.02em;
      color: #475569;
    }
  
    @keyframes hxd-pcb-table-loading-spin {
      to {
        transform: rotate(360deg);
      }
    }
  
    .hxd-pcb-table-wrap {
      --hxd-pcb-col1: 9rem;
      --hxd-pcb-col2: 9rem;
      --hxd-pcb-col3: 6rem;
    }
  
    .hxd-pcb-table-scroll {
      position: relative;
      min-height: 12rem;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
    }
  
    .hxd-pcb-table {
      border-collapse: separate;
      border-spacing: 0;
      min-width: max(100%, 2200px);
      font-size: 0.8125rem;
    }
  
    .hxd-pcb-table td {
      white-space: nowrap;
      padding: 0.625rem 0.875rem;
      border-bottom: 1px solid #e2e8f0;
      vertical-align: top;
      background: #fff;
      color: #334155;
    }
  
    .hxd-pcb-table thead th {
      white-space: nowrap;
      padding: 0.875rem 0.875rem;
      vertical-align: bottom;
      background: #eef2f8;
      border-bottom: 2px solid #c5d0e3;
      box-shadow: 0 2px 4px rgba(16, 40, 76, 0.06);
      font-size: 0.8125rem;
      font-weight: 700;
      line-height: 1.35;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      color: #10284c;
      position: sticky;
      top: 0;
      z-index: 4;
    }
  
    .hxd-pcb-table .hxd-pcb-sticky-1,
    .hxd-pcb-table .hxd-pcb-sticky-2,
    .hxd-pcb-table .hxd-pcb-sticky-3 {
      position: sticky;
      z-index: 5;
    }
  
    .hxd-pcb-table thead .hxd-pcb-sticky-1,
    .hxd-pcb-table thead .hxd-pcb-sticky-2,
    .hxd-pcb-table thead .hxd-pcb-sticky-3 {
      z-index: 6;
      background: #eef2f8;
    }
  
    .hxd-pcb-table .hxd-pcb-sticky-1 {
      left: 0;
      min-width: var(--hxd-pcb-col1);
      max-width: var(--hxd-pcb-col1);
    }
  
    .hxd-pcb-table .hxd-pcb-sticky-2 {
      left: var(--hxd-pcb-col1);
      min-width: var(--hxd-pcb-col2);
      max-width: var(--hxd-pcb-col2);
    }
  
    .hxd-pcb-table .hxd-pcb-sticky-3 {
      left: calc(var(--hxd-pcb-col1) + var(--hxd-pcb-col2));
      min-width: var(--hxd-pcb-col3);
      max-width: var(--hxd-pcb-col3);
      box-shadow: 6px 0 10px -8px rgba(15, 23, 42, 0.18);
    }
  
    .hxd-pcb-table tbody tr:hover td {
      background: #f1f5f9;
    }
  
    .hxd-pcb-table tbody tr:hover .hxd-pcb-sticky-1,
    .hxd-pcb-table tbody tr:hover .hxd-pcb-sticky-2,
    .hxd-pcb-table tbody tr:hover .hxd-pcb-sticky-3 {
      background: #f1f5f9;
    }
  
    .hxd-pcb-table .hxd-pcb-cell-wrap {
      white-space: normal;
      min-width: 14rem;
      max-width: 28rem;
      line-height: 1.5;
    }
  
    .hxd-pcb-table .hxd-pcb-cell-name {
      font-weight: 600;
    }
  
    .hxd-pcb-table .hxd-pcb-name-link {
      display: inline-block;
      color: #3b7cef;
      text-decoration: none;
      line-height: 1.35;
    }
  
    .hxd-pcb-table .hxd-pcb-name-link:hover {
      text-decoration: underline;
    }
  
    .hxd-pcb-table .hxd-pcb-name-link__hint {
      display: block;
      margin-top: 0.125rem;
      font-size: 0.6875rem;
      font-weight: 500;
      line-height: 1.2;
      color: #64748b;
      text-decoration: none;
      opacity: 0;
      max-height: 0;
      overflow: hidden;
      transition: opacity 0.15s ease, max-height 0.15s ease;
    }
  
    .hxd-pcb-table .hxd-pcb-name-link:hover .hxd-pcb-name-link__hint {
      opacity: 1;
      max-height: 1.25rem;
    }