
.event-timeline {
    max-width: 1000px;
    margin: auto;
}

.timeline-search {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
}

.search-field {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 150px;
    gap: 6px;
}

.timeline-input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.timeline-search button {
    align-self: end;
    padding: 10px 22px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.timeline-search button:disabled {
    opacity: 0.6;
    cursor: wait;
}

#timeline-info {
    margin: 15px 0;
    font-weight: bold;
}

#timeline-results {
    border-left: 3px solid #2563eb;
    margin-left: 15px;
    padding-left: 25px;
}

.timeline-item {
    position: relative;
    margin-bottom: 25px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -34px;
    top: 12px;
    width: 14px;
    height: 14px;
    background: #2563eb;
    border: 3px solid white;
    border-radius: 50%;
}

.timeline-card {
    padding: 18px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
}

.timeline-date {
    color: #2563eb;
    font-size: 13px;
    font-weight: bold;
}

.timeline-class {
    display: inline-block;
    background: #e0e7ff;
    color: #3730a3;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.timeline-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.timeline-images img {
    width: 150px;
    height: 110px;
    object-fit: cover;
    border-radius: 6px;
}

.timeline-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.timeline-links a {
    color: #2563eb;
    text-decoration: none;
}

@media (max-width: 600px) {
    .timeline-search {
        flex-direction: column;
    }

    .search-field {
        width: 100%;
    }

    .timeline-search button {
        width: 100%;
    }
}

