/* widget-audioplayer.css
 *
 * Styles for the AudioPlayerWidget component.
 */

.audio-player-widget {
    width: 100%;
}

/* Waveform rectangle - always visible, with or without audio */
.audio-player-waveform-container {
    width: 100%;
    height: 80px;
    background: white;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    border: 2px solid #666;
    cursor: pointer;
    box-sizing: border-box;
}

.audio-player-waveform-container:hover {
    border-color: #444;
}

/* Canvas fills the container */
.audio-player-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Time display row below the waveform */
.audio-player-time-row {
    display: flex;
    justify-content: flex-end;
    padding: 2px 4px 0;
}

.audio-player-time {
    font-size: 0.72rem;
    color: #666;
    font-family: monospace;
}
