.pdf-slideshow {
    display: grid;
    gap: 12px;
}

.pdf-slideshow-viewer {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70vh;
    max-height: 760px;
    min-height: 360px;
    border: 1px solid #1a3a5a;
    border-radius: 10px;
    background: #071c33;
    overflow: hidden;
}

.pdf-slideshow-canvas {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

.pdf-slideshow-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0d4f1;
    background: rgba(7, 28, 51, 0.85);
    font-size: 0.95em;
    letter-spacing: 0.2px;
}

.pdf-slideshow-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.pdf-slideshow-btn {
    border: 1px solid #00d4ff;
    background: transparent;
    color: #00d4ff;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pdf-slideshow-btn:hover,
.pdf-slideshow-btn:focus-visible {
    color: #4fc3f7;
    border-color: #4fc3f7;
    box-shadow: 0 0 10px rgba(0, 198, 255, 0.35);
    outline: none;
}

.pdf-slideshow-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

.pdf-slideshow-status {
    color: #b0d4f1;
    font-size: 0.9em;
}

.pdf-slideshow:fullscreen .pdf-slideshow-viewer {
    height: 100vh;
    max-height: none;
    border-radius: 0;
}

.pdf-slideshow:-webkit-full-screen .pdf-slideshow-viewer {
    height: 100vh;
    max-height: none;
    border-radius: 0;
}

@media (max-width: 768px) {
    .pdf-slideshow-viewer {
        height: 60vh;
        min-height: 300px;
    }
}
