.slideshow-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    max-height: 80vh;
    overflow: hidden;
    background-color: #f8f8f8;
    border-radius: 1rem;
    padding: 1rem;
    transition: background-color 0.3s ease;
}

.dark .slideshow-container {
    background-color: #1f2937;
}

.slide {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    display: none;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease-in-out;
}

.dark .slide {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

.slide.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

#slideshow {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .slideshow-container {
        min-height: 400px;
        padding: 0.5rem;
    }
    
    .slide {
        max-height: 65vh;
    }
} 