/* ============================================
   Sequencer Styles (forest-sequencer.css)
   ============================================ */

.sequencer-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 30px;
}

.sequencer-header {
    text-align: center;
    margin-bottom: 40px;
}

.sequencer-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    color: #8cc082;
    margin-bottom: 10px;
}

.sequencer-subtitle {
    font-size: 1.1rem;
    color: #5a8a56;
    font-style: italic;
}

/* Sequencer Grid */
.sequencer-grid {
    background: linear-gradient(135deg, rgba(15, 35, 20, 0.9), rgba(10, 25, 15, 0.95));
    border: 1px solid rgba(124, 184, 112, 0.15);
    border-radius: 16px;
    padding: 20px;
    overflow-x: auto;
}

.step-numbers {
    display: flex;
    margin-left: 140px;
    margin-bottom: 10px;
}

.step-number {
    flex: 1;
    text-align: center;
    font-size: 0.8rem;
    color: #5a8a56;
    padding: 5px 0;
}

.step-number.active-step {
    color: #7cb870;
}

.row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.row:last-child {
    margin-bottom: 0;
}

.row-label {
    width: 140px;
    min-width: 140px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 15px;
}

.row-icon {
    font-size: 1.2rem;
}

.row-name {
    font-size: 0.9rem;
    color: #8fa88e;
    font-weight: 500;
}

.cells {
    display: flex;
    flex: 1;
    gap: 4px;
}

.cell {
    flex: 1;
    height: 40px;
    background: rgba(20, 50, 25, 0.5);
    border: 1px solid rgba(124, 184, 112, 0.1);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    position: relative;
}

.cell:hover {
    background: rgba(30, 70, 35, 0.6);
    border-color: rgba(124, 184, 112, 0.3);
}

.cell.active {
    background: linear-gradient(135deg, rgba(124, 184, 112, 0.35), rgba(100, 160, 90, 0.45));
    border-color: rgba(124, 184, 112, 0.6);
    box-shadow: 0 0 12px rgba(124, 184, 112, 0.2);
}

.cell.current {
    border-color: rgba(200, 220, 200, 0.5);
    box-shadow: 0 0 15px rgba(200, 220, 200, 0.2);
}

.cell.active.current {
    background: linear-gradient(135deg, rgba(140, 192, 130, 0.5), rgba(120, 175, 110, 0.6));
    box-shadow: 0 0 20px rgba(140, 192, 130, 0.4);
}

/* Volume control per row */
.row-volume {
    width: 60px;
    min-width: 60px;
    display: flex;
    align-items: center;
    padding-left: 10px;
}

.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 50px;
    height: 4px;
    background: rgba(124, 184, 112, 0.15);
    border-radius: 2px;
    outline: none;
    transform: rotate(-90deg);
    transform-origin: center;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: #7cb870;
    border-radius: 50%;
    cursor: pointer;
}

.step-divider {
    position: relative;
}

.step-divider .step-number::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 10px;
    background: rgba(124, 184, 112, 0.2);
}

/* Preset buttons */
.presets {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.preset-btn {
    background: rgba(20, 50, 25, 0.5);
    border: 1px solid rgba(124, 184, 112, 0.15);
    color: #7a9a7a;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.preset-btn:hover {
    background: rgba(30, 70, 35, 0.6);
    border-color: rgba(124, 184, 112, 0.3);
    color: #9ac89a;
}

/* Sequencer responsive */
@media (max-width: 768px) {
    .sequencer-container {
        padding: 20px 10px;
    }

    .row-label {
        width: 100px;
        min-width: 100px;
    }

    .row-volume {
        display: none;
    }

    .controls {
        flex-direction: column;
        gap: 12px;
    }
}