#smp-player {
    max-width: 100%;
    margin: 0 auto;
    padding: 10px;
    font-family: 'Roboto', sans-serif;
    background-color: #f5f5f5;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#smp-player h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

#smp-song-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 16px;
    background-color: #e0e0e0;
    padding: 10px;
    border-radius: 5px;
}

.smp-tempo, .smp-key {
    font-weight: 500;
}

#smp-controls {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

#smp-play-pause {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#smp-play-pause:hover {
    background-color: #45a049;
}

#smp-video-container {
    margin-bottom: 15px;
    position: relative;
    background-color: #000;
    border-radius: 5px;
    overflow: hidden;
}

#smp-video {
    display: block;
    width: 100%;
    height: auto;
}

#smp-fullscreen {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 5px 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
}

#smp-progress-container {
    width: 100%;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

#smp-progress {
    flex-grow: 1;
    margin-right: 10px;
    -webkit-appearance: none;
    height: 5px;
    background: #ddd;
    outline: none;
    border-radius: 5px;
}

#smp-progress::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: #4CAF50;
    cursor: pointer;
    border-radius: 50%;
}

#smp-progress::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background: #4CAF50;
    cursor: pointer;
    border-radius: 50%;
}

#smp-time {
    font-size: 14px;
    white-space: nowrap;
    color: #666;
}

#smp-tempo-control {
    width: 100%;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    background-color: #e0e0e0;
    padding: 10px;
    border-radius: 5px;
}

#smp-tempo-control label {
    display: flex;
    align-items: center;
    font-weight: 500;
}

#smp-tempo {
    width: 200px;
    margin: 0 10px;
    -webkit-appearance: none;
    height: 5px;
    background: #ddd;
    outline: none;
    border-radius: 5px;
}

#smp-tempo::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: #4CAF50;
    cursor: pointer;
    border-radius: 50%;
}

#smp-tempo::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background: #4CAF50;
    cursor: pointer;
    border-radius: 50%;
}

#smp-tempo-value {
    font-size: 14px;
    color: #666;
}

#smp-tracks {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.smp-track {
    background-color: #fff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.smp-track h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #333;
}

.smp-track-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.smp-waveform {
    width: 100%;
    height: 50px;
    background-color: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    margin-bottom: 10px;
}

.smp-waveform canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.smp-waveform-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: rgba(76, 175, 80, 0.3);
    pointer-events: none;
}

.smp-track-controls {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.smp-volume {
    width: 100%;
    -webkit-appearance: none;
    height: 5px;
    background: #ddd;
    outline: none;
    border-radius: 5px;
}

.smp-volume::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: #4CAF50;
    cursor: pointer;
    border-radius: 50%;
}

.smp-volume::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background: #4CAF50;
    cursor: pointer;
    border-radius: 50%;
}

.smp-button {
    padding: 5px 10px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
}

.smp-button.active {
    background-color: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

.smp-error {
    color: #ff0000;
    font-size: 14px;
    margin-top: 5px;
}

@media (max-width: 600px) {
    #smp-player h2 {
        font-size: 1.2em;
    }

    #smp-play-pause {
        width: 100%;
        margin-bottom: 10px;
    }

    .smp-track h3 {
        font-size: 1em;
    }

    .smp-button {
        font-size: 0.8em;
        padding: 5px;
    }

    #smp-tempo {
        width: 150px;
    }

    #smp-tempo-control label {
        font-size: 0.9em;
    }

    #smp-tempo-value {
        font-size: 0.9em;
    }

    .smp-track-controls {
        flex-wrap: wrap;
    }

    .smp-volume {
        width: 100%;
        margin-bottom: 5px;
    }
}