
.pdf-viewer-container {
    width: 90%;
    max-width: 1000px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin: 30px auto;
}

.pdf-header {
    text-align: center;
    margin-bottom: 30px;
}

.pdf-header h2 {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pdf-header p {
    color: #7f8c8d;
    font-size: 16px;
    margin: 0;
}

/* Contenedor principal del visor */
.pdf-viewer {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

/* Botones de navegación */
.nav-btn {
    background-color: #6c757d;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.nav-btn:hover {
    background-color: #5a6268;
    transform: scale(1.05);
}

.nav-btn:disabled {
    background-color: #d1d5d8;
    cursor: not-allowed;
    transform: none;
}

/* Contenedor del slider */
.pdf-slider-container {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* Slider */
.pdf-slider {
    display: flex;
    transition: transform 0.5s ease;
    height: 550px;
}

/* Slides individuales */
.pdf-slide {
    min-width: 100%;
    position: relative;
}

.pdf-slide iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #f1f3f5;
}

.pdf-slide .slide-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    text-align: center;
}

.pdf-slide .slide-title {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
}

/* Puntos de navegación */
.pdf-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.pdf-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #d1d5d8;
    cursor: pointer;
    transition: all 0.3s;
}

.pdf-dot.active {
    background-color: #6c757d;
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 768px) {
    .pdf-viewer-container {
        width: 95%;
        padding: 20px;
    }
    
    .pdf-slider {
        height: 400px;
    }
    
    .nav-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .pdf-slider {
        height: 300px;
    }
    
    .pdf-header h2 {
        font-size: 24px;
    }
}

/* Botones visibles */
.prev-btn, .next-btn {
    position: relative;
    z-index: 100;
}

/* Estilo para botones deshabilitados */
.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #e9ecef;
    border-color: #ced4da;
}

.nav-btn:disabled:hover {
    transform: none;
    background-color: #e9ecef;
    color: #495057;
}