/* Custom styles */
body {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#map {
    height: 500px;
    z-index: 1;
}

.timeline-item {
    position: relative;
    padding-left: 28px;
    margin-bottom: 20px;
}

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

.timeline-item::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: #e2e8f0;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-dot i {
    width: 14px;
    height: 14px;
}

.leaflet-popup-content {
    min-width: 200px;
}

.leaflet-popup-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #4f46e5;
}

.leaflet-popup-content p {
    margin: 4px 0;
    font-size: 0.9rem;
}
/* Animation for timeline items */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.timeline-item {
    animation: fadeIn 0.3s ease-out forwards;
}

/* Edit controls */
.delete-btn {
    transition: all 0.2s;
}
input[type="date"] {
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
}

input[type="date"]:focus {
    outline: none;
    border-color: #818cf8;
    box-shadow: 0 0 0 2px rgba(129, 140, 248, 0.2);
}
.highlights-input {
    font-size: 0.9rem;
}
