/* =========================================
   CONTROLS STYLES: Search, Timeframes, Pills
   ========================================= */

/* Controls Section */
.controls-section {
    padding: 20px 30px;
    background: #242c33;
    border-bottom: 1px solid #1a2025;
}

.input-label {
    font-family: var(--font-sys);
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 0;
    margin-right: 12px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.search-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: color 0.2s;
}

.search-icon {
    width: 16px;
    height: 16px;
    stroke: #94a3b8;
    stroke-width: 2.5px;
    transition: all 0.2s;
}

.search-wrap:focus-within .search-icon {
    stroke: #ff5722;
}

.search-wrap {
    margin-bottom: 12px;
}

.tech-input {
    width: 250px;
    background: #1a2025;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    font-family: var(--font-sys);
    font-size: 13px;
    color: #f1f5f9;
    outline: none;
    height: 32px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: all 0.2s;
}

.tech-input::placeholder {
    color: #475569;
}

.tech-input:focus {
    box-shadow: 0 0 0 2px rgba(255, 87, 34, 0.2);
}

.control-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
}

.control-group {
    display: flex;
    align-items: center;
    background: transparent;
    padding: 0;
    border: none;
}

.control-label {
    font-family: var(--font-sys);
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
    margin-right: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Tech Pills (Timeframes) */
.tech-pills {
    display: flex;
    gap: 4px;
    background: transparent;
    height: 32px;
}

.tech-pill {
    background: #1a2025;
    border: none;
    border-radius: 4px;
    color: #94a3b8;
    padding: 0 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-sys);
    transition: all 0.2s;
    line-height: 32px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.tech-pill:hover {
    color: #ff5722;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.tech-pill.active {
    background: #ff5722;
    color: #ffffff;
}

/* Tech Selects */
.tech-select {
    background: #d8e2ea;
    border: 1px solid #1c252d;
    border-bottom-color: #fff;
    border-right-color: #fff;
    padding: 2px 4px;
    font-family: var(--font-sys);
    font-size: 10px;
    color: #111;
    cursor: pointer;
    outline: none;
}

/* Status Row */
.status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(0, 0, 0, 0.2);
}

.pool-count {
    font-family: var(--font-mono);
    color: #b0c4de;
    font-size: 10px;
}

.tech-refresh {
    background: #1a2025;
    border: 1px solid #303b46;
    width: 32px;
    height: 32px;
    font-size: 16px;
    font-weight: bold;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 4px;
    transition: all 0.2s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.tech-refresh:hover {
    color: #ff5722;
    transform: rotate(45deg);
}

.tech-refresh:active {
    transform: rotate(90deg) scale(0.95);
}