/* Waveform Viewer Tool Styles */

/* Waveform Styles */
#waveform {
    background: var(--bs-light-border-subtle);
    border-radius: 4px;
    overflow: hidden;
}

[data-bs-theme="dark"] #waveform {
    background: rgba(30, 34, 42, 0.6);
}

.waveform-time {
    text-align: center;
    font-family: 'Courier New', monospace;
}

.card {
    border-radius: 8px;
    border: 1px dotted var(--bs-dark-bg-subtle);
    background: var(--bs-light-border-subtle);
}

.card-header {
    background: var(--bs-secondary-bg-subtle);
    border-bottom: 1px dotted var(--bs-dark-bg-subtle);
}

.card-header h5, .card-header h6 {
    margin: 0;
}

[data-bs-theme="dark"] .card {
    background-color: rgba(30, 34, 42, 0.6);
    border-color: rgba(168, 85, 247, 0.3);
}

[data-bs-theme="dark"] .card-header {
    background: rgba(30, 34, 42, 0.8);
    border-bottom-color: rgba(168, 85, 247, 0.3);
}

.filter-svg {
    filter: none;
}

[data-bs-theme="dark"] .filter-svg {
    filter: invert(1) brightness(0.8);
}

[data-bs-theme="dark"] .alert-info {
    background-color: #132a4a;
    border-color: #0d6efd;
    color: #9db5d0;
}

.form-label {
    cursor: default;
    user-select: none;
}

.form-control[readonly] {
    cursor: default;
}

.btn img {
    display: inline-block;
    vertical-align: middle;
}

@media (max-width: 768px) {

    #waveform {
        height: 100px;
    }
}
