/**
 * Tab Slider Widget - Styles
 */

/* Tab Buttons Container */
.tab-buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.tab-button {
    padding: 12px 24px;
    background-color: #f0f0f0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #333333;
    transition: all 0.3s ease;
    outline: none;
}

.tab-button:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

.tab-button.active {
    background-color: #7DBF0B;
    color: #ffffff;
}

.tab-button.active:hover {
    background-color: #7DBF0B;
}

/* Tab Content Container */
.tab-content-container {
    width: 100%;
    position: relative;
}

.tab-content-panel {
    display: none;
    width: 100%;
}

.tab-content-panel.active {
    display: block;
}

/* Main Swiper Container */
.tab-content-panel .swiper {
    width: 100%;
    /* padding: 20px; */
    padding-bottom: 20px;
}
.tab-content-panel .swiper .swiper-slide {
border-radius: 5px;
}
.tab-content-panel .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.tab-content-panel .swiper-slide {
    height: auto;
    display: flex; 
}

/* Card Styles */
.tab-slide-card {
    width: 100%;
    background: #F6F6F6;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tab-slide-card:hover {
}

/* Gallery Container */
.slide-gallery-container {
    width: 100%;
    position: relative;
    padding: 20px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #F6F6F6;
}

.slide-gallery-swiper {
    width: 100%;
    height: 100%;
}

.slide-gallery-swiper .swiper-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-gallery-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Gallery Pagination */
.slide-gallery-pagination {
    position: absolute;
    bottom: 15px;
    left: 50%;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
}

.slide-gallery-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #D1D1D1;
    opacity: 1;
    margin: 0 4px;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.slide-gallery-pagination .swiper-pagination-bullet-active {
    background: #7DBF0B;
    width: 24px;
    border-radius: 12px;
}

/* Card Content */
.slide-card-content {
    padding: 20px;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    background-color: #F6F6F6;
    flex-grow: 1;
}

/* Header Row (Title + Date) */
.slide-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 15px;
}

.slide-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #000;
    line-height: 1.2;
    flex: 1;
}

.slide-date {
    font-size: 18px;
    color: #919191;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Content Block */
.slide-content-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.tabs-slide-description {
    margin: 0;
    font-size: 18px;
    color: #000;
    line-height: 1.3;
}

.slide-timing {
    color: #000 !important;
    margin: 0;
    font-size: 18px;
    font-weight: 400;
}

.tabs-slide-price {
    margin: 0;
    font-size: 18px;
    color: #000;
    margin-top: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .tab-content-panel .swiper {
        /* padding: 15px; */
    }
    
    .slide-card-content {
        /* padding: 18px; */
    }
    
    .slide-title {
        /* font-size: 16px; */
    }
}

@media (max-width: 768px) {
    .tab-buttons-container {
        gap: 8px;
        margin-bottom: 20px;
    }
    
    .tab-button {
        padding: 10px 18px;
        font-size: 14px;
    }
    
    .tab-content-panel .swiper {
        padding: 10px 0;
    }
    
    .slide-card-content {
        padding: 15px;
    }
    
    .slide-header-row {
        flex-direction: column;
        gap: 8px;
    }
    
    .slide-date {
        align-self: flex-start;
    }
    
    .slide-title {
        font-size: 16px;
    }
    
    .slide-description {
        font-size: 13px;
    }
    
    .slide-timing {
        font-size: 13px;
    }
    
    .slide-price {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .tab-button {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .slide-card-content {
        padding: 12px;
    }
    
    .slide-title {
        font-size: 15px;
    }
    
    .slide-gallery-pagination {
        bottom: 10px;
    }
    
    .slide-gallery-pagination .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
        margin: 0 3px;
    }
    
    .slide-gallery-pagination .swiper-pagination-bullet-active {
        width: 20px;
        background: #7DBF0B;
    }
}

/* Ensure Swiper styles are applied */
.tab-content-panel .swiper-slide {
    box-sizing: border-box;
}

/* Fix for Swiper pagination bullets in gallery */
.slide-gallery-swiper .swiper-pagination-bullets {
    bottom: 15px;
    color: #D1D1D1;
}

/* Smooth transitions */
.tab-content-panel {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

