/* Timeline Slider - Swiper.js Styles */

/* Container principal */
.timeline-slider-container {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 20px;
    margin: 20px auto;
    position: relative;
    overflow: visible !important;
    padding: 20px 60px;
}

/* Swiper container */
.timeline-swiper {
    position: relative;
    width: 100%;
    max-width: 980px;
}

/* Linha horizontal contínua */
.timeline-swiper::before {
    content: '';
    position: absolute;
    top: 102px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 1);
    z-index: 1;
}

/* Slides container */
.swiper-wrapper {
    display: flex;
    align-items: flex-start;
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    z-index: 2;
}

/* Individual slide */
.swiper-slide {
    height: auto;
    flex-shrink: 0;
}

/* Conteúdo do item */
.timeline-item-content {
    padding: 20px 0px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    text-align: center;
}

/* Ano */
.timeline-year {
    color: #ffffff;
    font-size: 38px;   
    text-align:left;
    font-weight: bold;
    line-height: 1.2;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

/* Slide ativo - ano em destaque */
.swiper-slide-active .timeline-year,
.timeline-active .timeline-year {
    color: #ffd700;
}

/* Linha horizontal individual - oculta pois usamos linha contínua */
.timeline-line-block {
    display: none;
}

/* Container do ponto */
.timeline-dot-container {
    position: absolute;
    top: 90px;
    left: 7.4%;
    transform: translateX(-50%);
    z-index: 3;
}

/* Ponto na linha */
.timeline-dot {
    background-color: #ffffff;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: block;
    transition: all 0.3s ease;
    border: 3px solid #2a5298;
}

/* Slide ativo - ponto maior */
.swiper-slide-active .timeline-dot,
.timeline-active .timeline-dot {
    background-color: #ffd700;
    width: 30px;
    height: 30px;
    border-color: #ffd700;
    left: 3px;
    top:-2px;
    position: relative;
}

.timeline-description {
    color: rgba(255, 255, 255, 1);
    font-size: 0.85em;
    line-height: 1.3em;
    margin-top: 40px;
    /* padding: 0 10px; */
    transition: opacity 0.3s ease;
    /* max-width: 200px; */
    display: none;
    text-align: left;
}

/* Mostrar descrição apenas no primeiro slide quando ativo */
.swiper-slide-active .timeline-description,
.timeline-active .timeline-description {
    display: block;
}

/* Navegação - Setas Swiper */
.timeline-slider-container .swiper-button-prev,
.timeline-slider-container .swiper-button-next,
.timeline-slider-container .timeline-prev,
.timeline-slider-container .timeline-next {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 50px !important;
    height: 50px !important;
    border: none !important;
    border-radius: 50% !important;
    font-size: 50px;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    z-index: 10 !important;
    margin-top: 0 !important;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    display: none !important;
    content: none !important;
}

.timeline-slider-container .swiper-button-prev,
.timeline-slider-container .timeline-prev {
    left: 15px ;
    right: auto ;
}

.timeline-slider-container .swiper-button-next,
.timeline-slider-container .timeline-next {
    right:  15px ;
    left: auto ;
}

.swiper-button-prev:hover,
.swiper-button-next:hover,
.timeline-prev:hover,
.timeline-next:hover {
    transform: scale(1.05) translateY(-50%) !important;
}

.swiper-button-prev svg,
.swiper-button-next svg,
.timeline-prev svg,
.timeline-next svg {
    width: 20px !important;
    height: 20px !important;
    color: inherit;
    display: block !important;
    visibility: visible !important;
    fill: currentColor;
}


.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.swiper-button-disabled:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: none;
}

/* Bullets removidos - não usado neste design */


/* Estado vazio */
.timeline-slider-empty {
    text-align: center;
    color: #a0aec0;
    font-style: italic;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #e2e8f0;
}

/* Responsive */




@media (max-width: 480px) {
    .timeline-slider-container {
        padding: 20px 50px;
        border-radius: 15px;
    }
    
    .swiper-button-prev {
        left:  5px!important;
    }
    
    .swiper-button-next {
        right: 5px!important;
    }
    
    .timeline-year {
     
    }
    
    .swiper-button-prev,
    .swiper-button-next {
        width: 35px;
        height: 35px;
    }
    
    .swiper-button-prev svg,
    .swiper-button-next svg {
        width: 20px;
        height: 20px;
    }
}