/* ========== SLIDE VIEWER COMPONENT ========== */

.video-slide-container {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    align-items: stretch;
}

.video-side {
    flex: 0 0 58%;
    min-width: 0;
}

.video-side > div {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
}

.slide-side {
    flex: 0 0 calc(42% - 20px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.slide-viewer {
    background: linear-gradient(160deg, var(--primary-dark, #1a2747), var(--primary, #253564));
    border-radius: var(--radius-lg, 16px);
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(59,184,185,0.15);
}

.slide-display {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    position: relative;
    min-height: 200px;
    background: rgba(0,0,0,0.1);
}

.slide-display img.slide-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: opacity 0.3s ease;
}

.slide-display img.slide-img.loading {
    opacity: 0.3;
}

.slide-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 12px 16px;
    background: rgba(0,0,0,0.2);
}

.slide-prev,
.slide-next {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(59,184,185,0.4);
    background: rgba(59,184,185,0.1);
    color: rgba(59,184,185,0.9);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-family: inherit;
}

.slide-prev:hover,
.slide-next:hover {
    background: rgba(59,184,185,0.25);
    border-color: rgba(59,184,185,0.7);
    transform: scale(1.05);
}

.slide-counter {
    font-family: 'Inter', 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    letter-spacing: 1px;
    min-width: 60px;
    text-align: center;
}

.slide-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--accent, #3BB8B9), var(--accent-dark, #2d9a9b));
    color: #fff;
    border: none;
    border-radius: var(--radius, 12px);
    font-family: 'Inter', 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.slide-download-btn::before {
    content: '\2913';
    font-size: 1.1rem;
}

.slide-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59,184,185,0.3);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .video-slide-container {
        flex-direction: column;
    }
    .video-side,
    .slide-side {
        flex: none;
        width: 100%;
    }
    .slide-display {
        min-height: 180px;
    }
}
