/* Timeline Programação do Seminário */
.seminario-timeline-wrapper {
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-titulo-geral {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #264653;
    margin-bottom: 3rem;
}

.main-timeline {
    position: relative;
}

/* Linha vertical central */
.main-timeline::after {
    content: "";
    position: absolute;
    width: 0px;
    border: 2px dashed #2A9D8F;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline {
    position: relative;
    width: 50%;
}

/* Círculos na linha */
.timeline::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    border: 3px solid #f0f2f5;
    outline: 2px solid #2A9D8F;
    right: -13px;
    background-color: #2A9D8F;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.left {
    padding: 10px 40px 30px 0;
    left: 0;
}

.right {
    padding: 10px 0 30px 40px;
    left: 50%;
}

/* Setas */
.left::before {
    content: " ";
    position: absolute;
    top: 18px;
    z-index: 1;
    right: 30px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
}

.right::before {
    content: "";
    position: absolute;
    top: 18px;
    z-index: 1;
    left: 30px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}

.right::after {
    left: -13px;
}

/* Card do evento */
.timeline-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0px 4px 16px rgba(0,0,0,0.1);
    overflow: hidden;
    background: white;
    transition: all 0.3s ease;
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 24px rgba(42, 157, 143, 0.3);
}

/* Header do card - Data */
.timeline-card-header {
    background: linear-gradient(135deg, #264653 0%, #2A9D8F 100%);
    color: white;
    padding: 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
}

/* Período (Manhã/Tarde/Noite) */
.periodo-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    margin-top: 0.5rem;
    font-size: 1rem;
}

/* Body do card */
.timeline-card-body {
    padding: 1.5rem;
}

.painel-item {
    padding: 1rem;
    background: #f8f9fa;
    border-left: 4px solid #2A9D8F;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.painel-item:last-child {
    margin-bottom: 0;
}

.painel-horario {
    font-weight: 700;
    color: #264653;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.painel-titulo {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.painel-descricao {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.painel-moderador {
    font-size: 0.85rem;
    color: #495057;
}

.painel-moderador strong {
    color: #2A9D8F;
}

/* Animações de entrada */
.timeline-card {
    opacity: 0;
    transform: scale(0.8);
    animation: fadeInScale 0.6s ease forwards;
}

@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.left .timeline-card {
    transform-origin: right center;
}

.right .timeline-card {
    transform-origin: left center;
}

/* Responsivo */
@media screen and (max-width: 768px) {
    .main-timeline::after {
        left: 20px;
    }
    
    .timeline {
        width: 100%;
        padding-left: 50px;
        padding-right: 25px;
    }
    
    .timeline::before {
        left: 40px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }
    
    .left::after,
    .right::after {
        left: 7px;
    }
    
    .left::before {
        right: auto;
        left: 40px;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }
    
    .right {
        left: 0;
    }
    
    .timeline-card {
        transform-origin: left center;
    }
}