.media-preview {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: black;
    z-index: 9999;
    display: none;
}

.media-preview-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-preview-video {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    cursor: pointer;
}

.media-preview-image {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    cursor: default;
}

.media-preview-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 15vh;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    gap: 2.2rem;
}

.media-preview-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0.5rem;
}

.media-preview-action-btn:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

.media-preview-icon-wrapper {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.media-preview-icon {
    width: 100%;
    height: 100%;
}

.media-preview-label {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

@media (max-height: 600px) {
    .media-preview-actions {
        max-height: 20vh;
        padding: 0.75rem;
    }
    
    .media-preview-icon-wrapper {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .media-preview-icon {
        width: 1.25rem;
        height: 1.25rem;
    }
    
    .media-preview-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .media-preview-actions {
        padding: 0.75rem;
    }
    
    .media-preview-action-btn {
        gap: 0.25rem;
    }
}