﻿.with-bottom-bar-padding {
    padding-bottom: 64px;
}

.fixed-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
}

.tight-grid .mud-table-cell {
    padding: 4px !important;
}

#waveform:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.small-select .mud-select-input {
    font-size: 0.75rem;
}

.media-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.wave-col {
    flex: 1 1 auto;
    min-width: 0;
}

#waveform {
    height: var(--wf-h);
}

.video-col {
    flex: 0 0 auto;
    display: flex;
    align-items: stretch;
}

.video-col video {
    height: var(--wf-h);
    aspect-ratio: 16 / 9;
    width: auto;
    max-width: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.dense-table .mud-table-cell {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
}

.media-row.pip-active .video-col {
    flex: 0;
    min-width: 0;
    width: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.media-row.pip-active .wave-col {
    flex: 1;
    width: 100%;
    transition: all 0.3s ease;
}

.media-row.pip-hidden .video-col {
    display: none;
}