/* Button Active state */
.active-btn {
    background-color: var(--color-primary);
    color: #ffffff;
}

.swiper {
    width: 100%;
    height: 100%;
}

.progress-line {
    width: 200px;
    height: 2px;
    background: #ffffff;
    overflow: hidden;
    border-radius: 2px;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: #000000;
    transition: width 0.1s linear;
}

/* =========================================
   LIGHTBOX & GALLERY STYLES
   ========================================= */

/* Lightbox Visibility States */
#gallery-lightbox.visible {
    visibility: visible;
    opacity: 1;
}

#gallery-lightbox.invisible {
    visibility: hidden;
    opacity: 0;
}

/* Lightbox Content Animation States */
#gallery-lightbox .translate-y-4 {
    transform: translateY(1rem);
}

#gallery-lightbox .translate-y-0 {
    transform: translateY(0);
}

#gallery-lightbox .opacity-0 {
    opacity: 0;
}

#gallery-lightbox .opacity-100 {
    opacity: 1;
}

@media (min-width: 1440px) {

    /* Gallery Swiper - Variable Width Slides */
    .art-gallery-swiper {
        overflow: visible !important;
        width: max-content !important;
    }

    .art-gallery-swiper .swiper-slide {
        width: auto !important;
    }
}

@media (max-width: 1023px) {

    /* Mobile: Full Width & Centered Slides */
    .art-gallery-swiper .swiper-slide {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}


/*
* Vertical Accordion Specific Styles (Single Artist Page)
**/
@media (min-width: 1440px) {
    .vertical-text {
        writing-mode: vertical-rl;
        text-orientation: mixed;
        transform: rotate(180deg);
    }

    .accordion-item.active {
        flex-grow: 1;
    }
}

/* Accordion Content Scrollbar */
.accordion-content::-webkit-scrollbar,
.modern-scrollbar::-webkit-scrollbar {
    width: 10px;
}

.accordion-content::-webkit-scrollbar-track,
.modern-scrollbar::-webkit-scrollbar-track {
    background: #636363;
}

.accordion-content::-webkit-scrollbar-thumb,
.modern-scrollbar::-webkit-scrollbar-thumb {
    background: var(--color-primary);
}

/* Hide scrollbar but allow scrolling */
.no-scrollbar {
    -ms-overflow-style: none;
    /* IE & Edge */
    scrollbar-width: none;
    /* Firefox */
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari */
}

/* =========================================
   TIMELINE COMPONENT STYLES
   ========================================= */
.t-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    width: 1px;
    height: 99%;
    border-left: 1px dashed #acacac;
    z-index: 0;
}

@media (min-width: 1359px) {
    .t-line {
        left: 0;
        transform: none;
        top: 167.69px;
        width: 98%;
        height: 1px;
        border-left: none;
        border-top: 1px dashed #acacac;
    }
}

@media (min-width: 1360px) and (max-width: 1439px) {
    .t-line {
        top: 129.69px;
    }
}

.t-dot-wrapper {
    align-items: center;
    justify-content: center;
    height: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 1360px) {
    .t-dot-wrapper {
        justify-content: flex-start;
    }
}

.t-dot {
    width: 16px;
    height: 16px;
    background-color: var(--color-primary);
    border: 3px solid white;
    outline: 1px solid #000000;
    border-radius: 50%;
    z-index: 1;
}