.input-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.price-img-slot {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    line-height: 0;
}

.price-img-slot img {
    height: 18px;
    vertical-align: middle;
}

input.price-display {
    color: transparent !important;
    text-shadow: none !important;
}

/* Wrapper to ensure full width */
#filters {
    width: 100%;
    box-sizing: border-box;
}

/* Row Styling */
.filter-row {
    display: grid !important;
    gap: 10px;
    margin-bottom: 15px;
    width: 100%;
    box-sizing: border-box;
}

.filter-group {
    min-width: 0; /* Prevents grid blowout */
    box-sizing: border-box;
}

.filter-group input {
    width: 100%;
    box-sizing: border-box;
}

/* Row 1: 6 fields — Head, Drive, Application, Category, Diameter, Length */
.row-1 { grid-template-columns: repeat(6, 1fr) !important; }

/* Row 2: 5 fields — Thread, Finish, Point, Addition, Material */
.row-2 { grid-template-columns: repeat(5, 1fr) !important; }

/* Row 3: 5 fields — Item ID, Short Code, Bulk Code, Weight Per M, Box Ctn Qty */
.row-3 { grid-template-columns: repeat(5, 1fr) !important; }

/* Row 4: 5 fields — Price 10, Price 20, Price 30, Cost, GP */
.row-4 {
    grid-template-columns: repeat(5, 1fr) !important;
    background: #f9f9f9;
    padding: 10px;
    border: 1px solid #ddd;
}
