/* Advanced Controls - Google Material Design Style */

.brightness-control,
.temperature-control,
.speed-control {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.brightness-control label,
.temperature-control label,
.speed-control label {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-weight: 400;
}

.brightness-slider,
.temperature-slider {
    width: 100%;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--border-color);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.brightness-slider::-webkit-slider-thumb,
.temperature-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.brightness-slider::-webkit-slider-thumb:hover,
.temperature-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.brightness-slider::-moz-range-thumb,
.temperature-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.color-picker {
    width: 100%;
    height: 48px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.color-picker:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.1);
}

.temp-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.temp-display {
    font-size: 28px;
    font-weight: 400;
    min-width: 80px;
    text-align: center;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.temp-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.temp-btn:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.temp-btn:active {
    transform: scale(0.95);
}

.speed-buttons {
    display: flex;
    gap: 8px;
    justify-content: space-between;
}

.speed-btn {
    flex: 1;
    padding: 10px 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    font-weight: 400;
    text-align: center;
}

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

.speed-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    font-weight: 500;
}

.speed-btn.active:hover {
    background: var(--primary-dark);
}
