/* Ear Training Essentials - Course Styles */

/* Custom range slider */
.ear-slider {
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    background: #2a2a2a;
    border-radius: 4px;
    outline: none;
}

.ear-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #00d4aa;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 0 10px rgba(0, 212, 170, 0.3);
}

.ear-slider::-webkit-slider-thumb:hover {
    background: #00ffcc;
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.5);
}

.ear-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #00d4aa;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    box-shadow: 0 0 10px rgba(0, 212, 170, 0.3);
}

.ear-slider::-moz-range-thumb:hover {
    background: #00ffcc;
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.5);
}

/* Play button style */
.btn-play {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #00d4aa, #00b894);
    color: #0a0a0a;
    font-weight: 600;
    font-size: 0.875rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.2);
}

.btn-play:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 30px rgba(0, 212, 170, 0.3);
}

.btn-play:active {
    transform: translateY(0);
    background: linear-gradient(135deg, #00b894, #00a383);
}

/* Active lesson nav */
.lesson-nav-link.active {
    background: rgba(0, 212, 170, 0.1);
    color: #00d4aa;
}

/* Gradient border for tools */
.gradient-border {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.3), rgba(0, 212, 170, 0.05));
}

/* Tool disabled state */
.ear-tool.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.ear-tool.disabled::after {
    content: 'Enable audio to use this tool';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(10, 10, 10, 0.95);
    padding: 1rem 2rem;
    border-radius: 12px;
    color: #a0a0a0;
    font-size: 0.875rem;
    border: 1px solid #2a2a2a;
}

/* Waveform buttons */
.waveform-btn.active {
    border-color: #00d4aa;
}

.waveform-btn.active svg {
    color: #00d4aa;
}

/* Interval buttons */
.interval-btn.active {
    border-color: #00d4aa;
    background: rgba(0, 212, 170, 0.1);
    color: #00d4aa;
}

/* Dynamics buttons */
.dynamics-btn.active {
    border-color: #00d4aa;
}

/* Quiz feedback */
.feedback-correct {
    color: #00d4aa;
}

.feedback-incorrect {
    color: #ff6b6b;
}

/* Bootcamp guess buttons */
.bootcamp-guess.correct {
    border-color: #00d4aa;
    background: rgba(0, 212, 170, 0.2);
    color: #00d4aa;
}

.bootcamp-guess.incorrect {
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
}

/* Touch-friendly on mobile */
@media (max-width: 768px) {
    .ear-slider::-webkit-slider-thumb {
        width: 28px;
        height: 28px;
    }

    .ear-slider::-moz-range-thumb {
        width: 28px;
        height: 28px;
    }

    .btn-play {
        padding: 1rem 2rem;
    }
}
