.controls {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: var(--card-shadow);
    transition:
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.controls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    align-items: center;
}

.control-group {
    display: flex;
    flex-direction: column;
}

.control-group label {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--label-color);
}

.control-group input,
.control-group select {
    padding: 8px 12px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 14px;
    background: var(--input-bg);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.control-group input:focus,
.control-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.player-filter-container {
    position: relative;
    display: block;
}

.player-filter-container input {
    width: 100%;
    padding: 8px 70px 8px 12px !important;
    box-sizing: border-box;
}

.clear-btn {
    position: absolute;
    top: 2px;
    bottom: 2px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-color);
    font-size: 16px;
    padding: 0;
    border-radius: 3px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
}

.clear-btn {
    right: 4px;
    font-size: 18px;
    font-weight: bold;
}

.clear-btn:hover {
    background: var(--border-color);
    color: var(--primary-color);
}
