/* Replace Audio Tool Styles */

/* Video Preview Container */
.video-preview-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.video-preview {
    width: 100%;
    height: auto;
    max-height: 450px;
    display: block;
    background: #000;
}

.file-selected-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px;
}

.selected-file-name {
    font-size: 14px;
    font-weight: 600;
    color: #198754;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}

[data-bs-theme="dark"]

[data-bs-theme="dark"] .selected-file-name {
    color: #75b798;
}

[data-bs-theme="dark"] .video-preview-wrapper {
    background: #000;
}

/* Card styling */
.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);
}

/* Prevent text selection */
.form-label {
    cursor: default;
    user-select: none;
}

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

/* Progress Bar */
#progressContainer {
    margin-top: 20px;
}

.progress {
    height: 30px;
    font-size: 14px;
}

/* Filter SVG */
.filter-svg {
    filter: none;
}

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

/* Button icons */
.btn img {
    display: inline-block;
    vertical-align: middle;
}

/* Responsive */
@media (max-width: 768px) {
    .video-preview {
        max-height: 300px;
    }

}
