/* XiroWeb Video Player Module Styles */

.video-container {
    position: relative;
    overflow: hidden;
    border-radius: 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.video-container iframe,
.video-container video {
    border: none;
    outline: none;
}

.video-container video[poster] {
    object-fit: cover;
}

.video-title {
    color: #212529;
    font-weight: 500;
    margin-bottom: 0;
}

.video-description {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-top: 0.5rem;
}

.video-description p {
    margin-bottom: 0.5rem;
}

.video-description p:last-child {
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .video-container {
        border-radius: 0.25rem;
    }
    
    .video-title {
        font-size: 1.1rem;
    }
}

/* Loading state */
.video-container.loading {
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.video-container.loading::before {
    content: "Loading video...";
    color: #6c757d;
    font-style: italic;
}

/* Error state */
.video-container.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 1rem;
    text-align: center;
} 