.filter-header {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    grid-gap: 5px;
    font-size: 0.8em;
    justify-content: space-between;
    align-items: center;
    margin: 5px 0px;
}
.screen-btn{
	color: #1a1a1a;
    white-space: nowrap;
    padding: 0px 10px 0px 0px;
    font-family: IBM Plex Sans, sans-serif;
    font-size: 15px;
    font-weight:500;
    text-decoration: none;
    display: block;
    position: relative;
    letter-spacing: 1px;
}
.explore-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #2d89ef;
    color: #fff;
    border: none;
    padding: 0 10px;
    height: 25px;
    box-sizing: border-box;     /* FORCES element to stay exactly 25px total height */
    cursor: pointer;
    letter-spacing: 2px;
    width: 100%;
}

.explore-btn:hover {
    color: #fff !important;
    border-color: #fafafa;
    text-decoration: none;
}
/* FIXED: Removed the invisible character that was right before this selector */
.btn-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #2d89ef;
    color: #fff;
    border: none;
    padding: 0 10px;
    height: 25px;
    box-sizing: border-box;     /* FORCES element to stay exactly 25px total height */
    cursor: pointer;
    letter-spacing: 2px;
}

/* GRID */
.filter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

/* BOX */
.filter-box {
    border: 1px solid #ddd;
    padding: 5px;
    border-radius: 4px;
}

/* INLINE ROW (FINVIZ STYLE) */
.filter-inline {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: nowrap;
}

/* LABEL */
.filter-label {
    font-size: 13px;
    white-space: nowrap;
}

/* INPUTS */
.filter-inline select {
   width: 100%;
}

/* NUMBER WIDTH */
.filter-inline input[type="number"] {
    width: 100%;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .filter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .filter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}