/* Media Viewer component styles */

.zoomable-image, .zoomable-video {
    cursor: pointer;
    transition: all 0.3s ease;
    max-width: 100%;
}

.zoomable-image:hover, .zoomable-video:hover {
    transform: scale(1.03);
}

/* Expanded state for images and videos */
.expanded-media {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 30px;
    margin: 0 !important;
    box-sizing: border-box;
}

/* Caption for expanded media */
.expanded-caption {
    position: fixed;
    bottom: 20px;
    left: 0;
    width: 100%;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 18px;
    z-index: 10000;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Close button for expanded media */
.expanded-close {
    position: fixed;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
}

/* Overlay for expanded media */
.media-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
    background-color: transparent;
}