/* ==========================================================================
   Filament Library Plugin Styles
   ========================================================================== */

/* ==========================================================================
   File Preview Styles
   ========================================================================== */

/* Unpreviewable File Section */
.filament-library-unpreviewable {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    align-items: center !important;
    padding: 2rem !important;
}

.filament-library-unpreviewable-message {
    font-size: 1.125rem !important; /* text-lg equivalent */
    color: #6b7280 !important; /* text-gray-600 equivalent */
    font-weight: 400 !important;
    line-height: 1.5 !important;
    margin-bottom: 1rem !important;
}

.filament-library-unpreviewable-button {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
}

/* Dark mode support for file preview */
@media (prefers-color-scheme: dark) {
    .filament-library-unpreviewable-message {
        color: #9ca3af; /* text-gray-400 equivalent for dark mode */
    }
}

/* ==========================================================================
   Media Container Styles
   ========================================================================== */

/* PDF Container */
.pdf-container {
    width: 100%;
    height: calc(100vh - 80px); /* 100vh minus estimated top nav height */
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

/* Video Container */
.video-container {
    width: 100%;
    height: 400px;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
