/* BB Vertical Content Slider CSS */

.bb-vcs-wrapper {
    width: 100%;
    position: relative;
}

.bb-vcs-heading {
    margin: 0 0 20px 0;
    line-height: 1.4;
}

.bb-vcs-slider-container {
    position: relative;
}

/* Main Slider Area */
.bb-vcs-slider {
    position: relative;
    /* Padding is now set dynamically via inline styles */
}

.bb-vcs-slides-wrapper {
    position: relative;
    /* Removed overflow: hidden to allow shadows */
    padding: 20px; /* Add padding for shadows */
}

.bb-vcs-slides-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 100px;
}

.bb-vcs-slide {
    width: 100%;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    position: relative; /* For icon positioning */
}

.bb-vcs-slide.visible {
    display: block;
    opacity: 1;
}

.bb-vcs-slide.fade-out {
    opacity: 0;
}

.bb-vcs-slide.fade-in {
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide Content */
.bb-vcs-slide-content {
    position: relative;
}

/* Icon Positioning - At slide level, not content level */
.bb-vcs-icon {
    position: absolute;
    line-height: 1;
    opacity: 0.5;
    z-index: 1;
}

.bb-vcs-icon-top-left {
    top: 20px;
    left: 20px;
}

.bb-vcs-icon-bottom-right {
    bottom: 20px;
    right: 20px;
    transform: rotate(180deg);
}

/* Content Area */
.bb-vcs-content {
    position: relative;
    z-index: 2;
    font-size: inherit;
    line-height: 1.6;
}

.bb-vcs-content h1,
.bb-vcs-content h2,
.bb-vcs-content h3,
.bb-vcs-content h4,
.bb-vcs-content h5,
.bb-vcs-content h6 {
    margin-top: 0;
    margin-bottom: 0.5em;
}

.bb-vcs-content p {
    margin-top: 0;
    margin-bottom: 1em;
}

.bb-vcs-content p:last-child {
    margin-bottom: 0;
}

/* Navigation Container */
.bb-vcs-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.bb-vcs-nav-right {
    right: 10px;
}

.bb-vcs-nav-left {
    left: 10px;
}

/* Dots Container */
.bb-vcs-dots {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Navigation Dots */
.bb-vcs-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bb-vcs-dot:hover {
    transform: scale(1.2);
    background-color: #999;
}

.bb-vcs-dot.active {
    background-color: #FF6B35;
    transform: scale(1.2);
}

/* Navigation Arrows */
.bb-vcs-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    transition: color 0.3s ease;
    line-height: 1;
}

.bb-vcs-arrow:hover {
    color: #333;
}

.bb-vcs-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 768px) {
    .bb-vcs-slider {
        padding: 0 0 40px 0;
    }
    
    .bb-vcs-slides-wrapper {
        padding: 15px;
    }
    
    .bb-vcs-navigation {
        position: static;
        flex-direction: row;
        transform: none;
        margin-top: 20px;
        justify-content: center;
        width: 100%;
    }
    
    .bb-vcs-dots {
        flex-direction: row;
    }
    
    .bb-vcs-nav-right,
    .bb-vcs-nav-left {
        position: static;
    }
}

@media (max-width: 480px) {
    .bb-vcs-slides-wrapper {
        padding: 10px;
    }
    
    .bb-vcs-icon {
        font-size: 30px;
    }
    
    .bb-vcs-icon-top-left {
        top: 15px;
        left: 15px;
    }
    
    .bb-vcs-icon-bottom-right {
        bottom: 15px;
        right: 15px;
    }
}
