.pdf-carousel-container-eee8094d {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdf-carousel-wrapper-eee8094d {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
}

.pdf-carousel-track-eee8094d {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
}

.pdf-item-eee8094d {
    position: absolute;
    /* Adjustments moved partially to Elementor selectors to allow dynamic control */
    transform: translateY(-50%); /* Removed fixed top/margin-top logic for alignment compatibility */
    left: 50%;
    margin-left: -125px; /* Default - handled dynamically by Elementor selector as well */
    cursor: pointer;
    will-change: transform, opacity;
}

.pdf-carousel-track-eee8094d[style*="align-items: flex-start"] .pdf-item-eee8094d {
    position: relative;
    top: auto;
    transform: none;
    margin-top: 0;
}

.pdf-carousel-track-eee8094d[style*="align-items: flex-end"] .pdf-item-eee8094d {
    position: relative;
    top: auto;
    bottom: 0;
    transform: none;
    margin-bottom: 0;
}


.pdf-item-inner-eee8094d {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    background: #fff;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    border: 1px solid #e5e5e5;
    display: flex;
    flex-direction: column;
}

.pdf-item-eee8094d.is-active-eee8094d .pdf-item-inner-eee8094d {
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    cursor: auto;
}

.pdf-link-eee8094d {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none !important;
    color: inherit;
}

.pdf-canvas-wrapper-eee8094d {
    position: relative;
    width: 100%;
    padding-bottom: 141.4%; /* Standard A4 aspect ratio (1:1.414) */
    background: #f8f9fa;
    overflow: hidden;
}

.pdf-render-canvas-eee8094d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.pdf-loader-eee8094d {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 3px solid #ccc;
    border-top-color: #333;
    border-radius: 50%;
    animation: pdf-spin-eee8094d 1s linear infinite;
}

@keyframes pdf-spin-eee8094d {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.pdf-title-eee8094d {
    padding: 15px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    background: #fff;
    border-top: 1px solid #eee;
}

/* Navigation Buttons */
.pdf-nav-btn-eee8094d {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}
.pdf-nav-btn-eee8094d:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    transform: translateY(-50%) scale(1.05);
}
.pdf-nav-btn-eee8094d.prev-eee8094d { left: 20px; }
.pdf-nav-btn-eee8094d.next-eee8094d { right: 20px; }

/* Floating Animation */
@keyframes pdf-float-eee8094d {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.pdf-item-eee8094d.has-floating-eee8094d .pdf-item-inner-eee8094d {
    animation-name: pdf-float-eee8094d;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}
