body {
    background-color: #f7fafc;
    font-family: 'Inter', sans-serif;
    color: #2d3748;
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

.map-container {
    width: 100%;
    height: 100%;
    max-width: none;
    position: relative;
}

#map {
    width: 100%;
    height: 100%;
}

#title-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    opacity: 0;
    animation: fade-in-out 7s forwards;
}

@keyframes fade-in-out {
    0% {
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        display: none;
    }
}

#search-container {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
    width: 250px;
}

#city-search {
    padding: 0.5rem;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 200px;
    overflow-y: auto;
    background-color: #fff;
}

.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
}

.autocomplete-items div:hover {
    background-color: #e9e9e9;
}

.country {
    stroke: white;
    stroke-width: 0.5px;
    transition: fill 0.3s ease;
}

.visited-city-marker {
    fill: #4299e1;
    stroke: white;
    stroke-width: 1px;
}

.want-to-visit-city-marker {
    fill: #e53e3e;
    stroke: white;
    stroke-width: 1px;
}

.travel-route {
    fill: none;
    stroke: #48bb78;
    stroke-dasharray: 4, 2;
}

.future-travel-route {
    fill: none;
    stroke: #63b3ed;
    stroke-dasharray: 4, 2;
}

.travel-month-label,
.future-travel-month-label {
    fill: #718096;
    font-size: 10px;
    font-weight: bold;
    text-anchor: middle;
}

.origin-marker {
    fill: #f6ad55;
    stroke: white;
    stroke-width: 1px;
}

.future-origin-marker {
    fill: #f6ad55;
    stroke: white;
    stroke-width: 1px;
}