/* Slider Styles */
.modal-content-wrapper {
    position: relative;
    width: auto;
    max-width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
}

.slider-container {
    width: fit-content;
    max-width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.3), 0 0 60px rgba(0, 243, 255, 0.1);
    border: 2px solid var(--accent-primary);
    background: var(--bg-secondary);
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide {
    width: 100%;
    display: none;
    background: transparent;
    justify-content: center;
    align-items: center;
}

.slide.active {
    display: flex;
    animation: fadeIn 0.4s ease;
}

.slide img,
.slide video {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 75vh;
    display: block;
    object-fit: contain;
    border-radius: 4px;
}

.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.slide-nav:hover {
    background: var(--accent-primary);
    color: #000;
    box-shadow: 0 0 20px var(--accent-primary);
    transform: translateY(-50%) scale(1.1);
}

.prev-slide {
    left: -70px;
}

.next-slide {
    right: -70px;
}

@media (max-width: 1100px) {
    .prev-slide {
        left: -55px;
    }

    .next-slide {
        right: -55px;
    }
}

@media (max-width: 768px) {
    .modal-content-wrapper {
        width: 90%;
    }

    .slider-container {
        padding: 5px;
    }

    .slide-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .prev-slide {
        left: 10px;
        background: rgba(0, 0, 0, 0.8);
    }

    .next-slide {
        right: 10px;
        background: rgba(0, 0, 0, 0.8);
    }
}