body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    overflow: hidden;
    background-color: #fff;
}

#map {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
}

/* Bauhaus UI Style */
.bauhaus-panel {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: #FFFFFF;
    border: 3px solid #254b42;
    border-radius: 16px;
    box-shadow: 6px 6px 0px #254b42;
    padding: 24px;
    z-index: 10;
    max-width: 500px;
    margin: 0 auto;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    max-height: calc(100vh - 48px);
    display: flex;
    flex-direction: column;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.panel-header h1 {
    margin-bottom: 0 !important;
}

.toggle-btn {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: flex;
}

.panel-content {
    overflow-y: auto;
    margin-top: 24px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE */
    flex: 1 1 auto;
    min-height: 0;
    padding: 8px;
    margin: 16px -8px -8px -8px;
}

.panel-content::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.bauhaus-panel.collapsed .panel-content {
    display: none;
}

.bauhaus-panel.collapsed .toggle-btn {
    transform: rotate(180deg);
}

@media (max-width: 600px) {
    .bauhaus-panel {
        bottom: 16px;
        left: 16px;
        right: 16px;
        padding: 16px;
        max-height: calc(100vh - 32px);
        box-shadow: 4px 4px 0px #254b42;
    }
    .panel-content {
        margin-top: 16px;
        padding: 8px;
        margin: 8px -8px -8px -8px;
    }
}

.bauhaus-input {
    width: 100%;
    padding: 14px 14px 14px 44px;
    background: #FFFFFF;
    border: 3px solid #254b42;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    color: #254b42;
    outline: none;
    transition: all 0.2s;
    box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.1);
}

.bauhaus-input:focus {
    box-shadow: 4px 4px 0px #254b42;
    transform: translate(-1px, -1px);
}

.bauhaus-btn {
    width: 100%;
    background: #FFD166;
    color: #254b42;
    font-weight: 900;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 16px;
    border: 3px solid #254b42;
    border-radius: 12px;
    box-shadow: 4px 4px 0px #254b42;
    cursor: pointer;
    transition: all 0.1s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.bauhaus-btn:active {
    box-shadow: 0px 0px 0px #254b42;
    transform: translate(4px, 4px);
}

.bauhaus-btn:disabled {
    background: #EAEAEA;
    color: #888;
    cursor: not-allowed;
    box-shadow: 4px 4px 0px #888;
}

/* Custom Map Marker */
.cafe-marker {
    background-color: #FFD166;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #254b42;
    box-shadow: 2px 2px 0px #254b42;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #254b42;
    cursor: pointer;
    transition: transform 0.1s;
}

.cafe-marker:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #254b42;
}

.person-marker {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 3px solid #254b42;
    box-shadow: 3px 3px 0px #254b42;
}

/* Loading Spinner */
.loader {
    border: 4px solid #254b42;
    border-radius: 50%;
    border-top: 4px solid #FFD166;
    width: 24px;
    height: 24px;
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Mapbox Popup Overrides */
.maplibregl-popup-content {
    border: 3px solid #254b42;
    border-radius: 12px;
    box-shadow: 4px 4px 0px #254b42;
    padding: 12px 16px;
    font-weight: 800;
    font-family: inherit;
}

.maplibregl-popup-tip {
    display: none;
}
/* Autocomplete Suggestions */
.suggestions-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border: 3px solid #254b42;
    border-radius: 12px;
    margin-top: 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 50;
    box-shadow: 4px 4px 0px #254b42;
    display: none;
}

.suggestion-item {
    padding: 12px 16px;
    border-bottom: 2px solid #EAEAEA;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.1s;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background-color: #FFD166;
}
