body {
    margin: 0;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
#globe-container {
    position: relative;
    width: 100vw;
    height: 100vh;
}
#search-wrapper {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
}
#search-container {
    position: relative; /* Keep relative for dropdown positioning */
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}
#search-input {
    background: transparent;
    border: none;
    outline: none;
    padding: 12px 20px 12px 0; /* Remove padding left */
    width: 320px;
    color: white;
    font-size: 16px;
}
#search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}
.search-icon {
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.7);
    margin-left: 20px;
    margin-right: 10px;
}
#search-results {
    position: absolute;
    top: 110%; /* Position it below the search bar */
    left: 0;
    width: 100%;
    background: rgba(30, 41, 59, 0.5); /* Darker glassmorphism */
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    max-height: 250px;
    overflow-y: auto;
    z-index: 19;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(-10px);
}
#search-results.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.search-result-item {
    padding: 12px 25px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.search-result-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
#info-card {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    width: 300px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(5px);
}
.region-name {
    font-size: 24px;
    font-weight: bold;
    color: #1a365d;
    margin-bottom: 10px;
    border-bottom: 2px solid #4299e1;
    padding-bottom: 5px;
}
.tourist-count {
    font-size: 20px;
    color: #2b6cb0;
    margin: 15px 0 5px;
}
.region-description {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.5;
}
.region-stats {
    display: flex;
    margin-top: 15px;
    justify-content: space-between;
}
.stat-item {
    text-align: center;
    padding: 8px;
    background: #ebf8ff;
    border-radius: 8px;
    flex: 1;
    margin: 0 5px;
}
.stat-value {
    font-weight: bold;
    color: #3182ce;
}
.stat-label {
    font-size: 12px;
    color: #718096;
}
@media (max-width: 768px) {
    #info-card {
        width: 250px;
        right: 2%;
        padding: 15px;
    }
    .region-name {
        font-size: 20px;
    }
    .tourist-count {
        font-size: 18px;
    }
}