@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --primary-color: #2563eb;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --blur-amount: 16px;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-primary);
    overflow: hidden;
}

#map {
    width: 100vw;
    height: 100vh;
    z-index: 1;
}

/* --- Glassmorphism Container --- */
#controls {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    width: 380px;
    max-height: calc(100vh - 48px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#wizard-header {
    padding: 24px 28px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.3);
}

#wizard-title {
    margin: 0;
    font-size: 20px;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.03em;
}

#back-btn {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 18px;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 0;
    border-radius: 14px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

#back-btn:hover {
    background: #fff;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

#wizard-content {
    overflow-y: auto;
    flex: 1;
    padding: 16px;
}

/* Custom Scrollbar */
#wizard-content::-webkit-scrollbar {
    width: 6px;
}

#wizard-content::-webkit-scrollbar-track {
    background: transparent;
}

#wizard-content::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    border: 2px solid transparent;
    background-clip: content-box;
}

#wizard-content::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

/* List Items */
.location-item {
    padding: 16px 20px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    font-weight: 600;
    color: #334155;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid transparent;

    /* Animation */
    animation: slideIn 0.3s ease-out forwards;
    opacity: 0;
    transform: translateY(10px);
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.location-item:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    padding-left: 24px;
    border-color: rgba(37, 99, 235, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.location-item::after {
    content: '→';
    color: #cbd5e1;
    font-size: 18px;
    font-weight: 400;
    transition: all 0.2s;
}

.location-item:hover::after {
    color: var(--primary-color);
    transform: translateX(4px);
    font-weight: 700;
    color: #0f172a;
    text-align: center;
    white-space: nowrap;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.1),
        -1px -1px 0 rgba(255, 255, 255, 0.9),
        1px -1px 0 rgba(255, 255, 255, 0.9),
        -1px 1px 0 rgba(255, 255, 255, 0.9),
        1px 1px 0 rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.4);
    padding: 2px 6px;
    border-radius: 8px;
    backdrop-filter: blur(2px);
}

/* --- Leaflet Customization --- */
.leaflet-control-zoom {
    border: none !important;
    box-shadow: var(--glass-shadow) !important;
    border-radius: 16px !important;
    overflow: hidden;
    margin-right: 40px !important;
    margin-bottom: 40px !important;
}

.leaflet-bar a {
    background-color: var(--glass-bg) !important;
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    color: var(--text-primary) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    font-size: 18px !important;
    transition: all 0.2s ease;
}

.leaflet-bar a:hover {
    background-color: #fff !important;
    color: var(--primary-color) !important;
}

.leaflet-bar a:first-child {
    border-top-left-radius: 16px !important;
    border-top-right-radius: 16px !important;
}

.leaflet-bar a:last-child {
    border-bottom-left-radius: 16px !important;
    border-bottom-right-radius: 16px !important;
    border-bottom: none !important;
}

.leaflet-control-attribution {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(4px);
    padding: 4px 10px !important;
    border-radius: 20px;
    margin-right: 10px !important;
    margin-bottom: 10px !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 10px;
    color: var(--text-secondary);
}

.leaflet-control-attribution a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
}

/* Loading State */
#loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

#loading::after {
    content: '';
    width: 24px;
    height: 24px;
    border: 3px solid rgba(37, 99, 235, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* --- Dashboard Stats --- */
.dashboard-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.6);
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.8);
}

.stat-icon {
    font-size: 20px;
    margin-bottom: 4px;
    background: white;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.stat-label {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

/* --- Animated Markers --- */
.marker-pin {
    width: 40px;
    height: 40px;
    border-radius: 50% 50% 50% 0;
    position: absolute;
    transform: rotate(-45deg);
    left: 50%;
    top: 50%;
    margin: -20px 0 0 -20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    animation: bounceIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.marker-pin i {
    transform: rotate(45deg);
    color: white;
    font-size: 18px;
}

.marker-school {
    background: #10b981; /* Emerald 500 */
    border: 2px solid #ecfdf5;
}

.marker-kitchen {
    background: #f97316; /* Orange 500 */
    border: 2px solid #fff7ed;
}

/* Pulse Effect */
.marker-pulse {
    background: rgba(0,0,0,0.2);
    border-radius: 50%;
    height: 14px;
    width: 14px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: 16px 0 0 -7px;
    transform: rotateX(55deg);
    z-index: -2;
}

.marker-pulse:after {
    content: "";
    border-radius: 50%;
    height: 40px;
    width: 40px;
    position: absolute;
    margin: -13px 0 0 -13px;
    animation: pulsate 1.5s ease-out infinite;
    opacity: 0;
    box-shadow: 0 0 1px 2px #10b981;
}

.marker-kitchen + .marker-pulse:after {
    box-shadow: 0 0 1px 2px #f97316;
}

@keyframes pulsate {
    0% {
        transform: scale(0.1, 0.1);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1.2, 1.2);
        opacity: 0;
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(-45deg);
    }
    50% {
    margin-right: 10px !important;
    margin-bottom: 10px !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 10px;
    color: var(--text-secondary);
}

}

.leaflet-control-attribution a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
}

/* Loading State */
#loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

#loading::after {
    content: '';
    width: 24px;
    height: 24px;
    border: 3px solid rgba(37, 99, 235, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* --- Dashboard Stats --- */
.dashboard-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.6);
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.8);
}

.stat-icon {
    font-size: 20px;
    margin-bottom: 4px;
    background: white;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.stat-label {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

/* --- Animated Markers --- */
.marker-pin {
    width: 40px;
    height: 40px;
    border-radius: 50% 50% 50% 0;
    position: absolute;
    transform: rotate(-45deg);
    left: 50%;
    top: 50%;
    margin: -20px 0 0 -20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    animation: bounceIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.marker-pin i {
    transform: rotate(45deg);
    color: white;
    font-size: 18px;
}

.marker-school {
    background: #10b981; /* Emerald 500 */
    border: 2px solid #ecfdf5;
}

.marker-kitchen {
    background: #f97316; /* Orange 500 */
    border: 2px solid #fff7ed;
}

/* Pulse Effect */
.marker-pulse {
    background: rgba(0,0,0,0.2);
    border-radius: 50%;
    height: 14px;
    width: 14px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: 16px 0 0 -7px;
    transform: rotateX(55deg);
    z-index: -2;
}

.marker-pulse:after {
    content: "";
    border-radius: 50%;
    height: 40px;
    width: 40px;
    position: absolute;
    margin: -13px 0 0 -13px;
    animation: pulsate 1.5s ease-out infinite;
    opacity: 0;
    box-shadow: 0 0 1px 2px #10b981;
}

.marker-kitchen + .marker-pulse:after {
    box-shadow: 0 0 1px 2px #f97316;
}

@keyframes pulsate {
    0% {
        transform: scale(0.1, 0.1);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1.2, 1.2);
        opacity: 0;
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(-45deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.05) rotate(-45deg);
    }
    70% {
        transform: scale(0.9) rotate(-45deg);
    }
    100% {
        transform: scale(1) rotate(-45deg);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Smooth transitions for map layers */
path.leaflet-interactive {
    transition: fill 0.2s ease, fill-opacity 0.2s ease, stroke 0.2s ease, stroke-width 0.2s ease;
}

/* Custom Tooltip */
.custom-tooltip {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 8px 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}
/* Loading State */
#loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

#loading::after {
    content: '';
    width: 24px;
    height: 24px;
    border: 3px solid rgba(37, 99, 235, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* --- Dashboard Stats --- */
.dashboard-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.6);
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.8);
}

.stat-icon {
    font-size: 20px;
    margin-bottom: 4px;
    background: white;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.stat-label {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 600;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

/* --- Search Container --- */
#search-container {
    padding: 0 20px 16px;
    position: relative;
    display: none; /* Hidden by default on desktop, shown if needed or on mobile */
}

#search-input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    outline: none;
    background: rgba(255,255,255,0.5);
    transition: all 0.2s;
    box-sizing: border-box; /* Ensure padding doesn't affect width */
}

#search-input:focus {
    background: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
    border-color: var(--primary-color);
}

.search-icon {
    position: absolute;
    left: 34px;
    top: 14px; /* Adjusted for padding */
    color: var(--text-secondary);
    font-size: 14px;
    pointer-events: none;
}

/* --- Animated Markers --- */
.marker-pin {
    width: 40px;
    height: 40px;
    border-radius: 50% 50% 50% 0;
    position: absolute;
    transform: rotate(-45deg);
    left: 50%;
    top: 50%;
    margin: -20px 0 0 -20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    animation: bounceIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.marker-pin i {
    transform: rotate(45deg);
    color: white;
    font-size: 18px;
}

.marker-school {
    background: #10b981; /* Emerald 500 */
    border: 2px solid #ecfdf5;
}

.marker-kitchen {
    background: #f97316; /* Orange 500 */
    border: 2px solid #fff7ed;
}

/* Pulse Effect */
.marker-pulse {
    background: rgba(0,0,0,0.2);
    border-radius: 50%;
    height: 14px;
    width: 14px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: 16px 0 0 -7px;
    transform: rotateX(55deg);
    z-index: -2;
}

.marker-pulse:after {
    content: "";
    border-radius: 50%;
    height: 40px;
    width: 40px;
    position: absolute;
    margin: -13px 0 0 -13px;
    animation: pulsate 1.5s ease-out infinite;
    opacity: 0;
    box-shadow: 0 0 1px 2px #10b981;
}

.marker-kitchen + .marker-pulse:after {
    box-shadow: 0 0 1px 2px #f97316;
}

@keyframes pulsate {
    0% {
        transform: scale(0.1, 0.1);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1.2, 1.2);
        opacity: 0;
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(-45deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.05) rotate(-45deg);
    }
    70% {
        transform: scale(0.9) rotate(-45deg);
    }
    100% {
        transform: scale(1) rotate(-45deg);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Smooth transitions for map layers */
path.leaflet-interactive {
    transition: fill 0.2s ease, fill-opacity 0.2s ease, stroke 0.2s ease, stroke-width 0.2s ease;
}

/* Custom Tooltip */
.custom-tooltip {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 8px 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}
/* Loading State */
#loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

#loading::after {
    content: '';
    width: 24px;
    height: 24px;
    border: 3px solid rgba(37, 99, 235, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* --- Dashboard Stats --- */
.dashboard-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.6);
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.8);
}

.stat-icon {
    font-size: 20px;
    margin-bottom: 4px;
    background: white;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.stat-label {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

/* --- Animated Markers --- */
.marker-pin {
    width: 40px;
    height: 40px;
    border-radius: 50% 50% 50% 0;
    position: absolute;
    transform: rotate(-45deg);
    left: 50%;
    top: 50%;
    margin: -20px 0 0 -20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    animation: bounceIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.marker-pin i {
    transform: rotate(45deg);
    color: white;
    font-size: 18px;
}

.marker-school {
    background: #10b981; /* Emerald 500 */
    border: 2px solid #ecfdf5;
}

.marker-kitchen {
    background: #f97316; /* Orange 500 */
    border: 2px solid #fff7ed;
}

/* Pulse Effect */
.marker-pulse {
    background: rgba(0,0,0,0.2);
    border-radius: 50%;
    height: 14px;
    width: 14px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: 16px 0 0 -7px;
    transform: rotateX(55deg);
    z-index: -2;
}

.marker-pulse:after {
    content: "";
    border-radius: 50%;
    height: 40px;
    width: 40px;
    position: absolute;
    margin: -13px 0 0 -13px;
    animation: pulsate 1.5s ease-out infinite;
    opacity: 0;
    box-shadow: 0 0 1px 2px #10b981;
}

.marker-kitchen + .marker-pulse:after {
    box-shadow: 0 0 1px 2px #f97316;
}

@keyframes pulsate {
    0% {
        transform: scale(0.1, 0.1);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1.2, 1.2);
        opacity: 0;
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(-45deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.05) rotate(-45deg);
    }
    70% {
        transform: scale(0.9) rotate(-45deg);
    }
    100% {
        transform: scale(1) rotate(-45deg);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Smooth transitions for map layers */
path.leaflet-interactive {
    transition: fill 0.2s ease, fill-opacity 0.2s ease, stroke 0.2s ease, stroke-width 0.2s ease;
}

/* Custom Tooltip */
.custom-tooltip {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 8px 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

/* --- Mobile Responsiveness (Drastic Change: Search Bar Mode) --- */
@media (max-width: 768px) {
    #search-container {
        display: block;
        padding: 0;
        margin: 0;
    }

    /* Transform #controls into a Top Floating Search Bar */
    #controls {
        top: 16px;
        bottom: auto;
        left: 16px;
        right: 16px;
        width: auto;
        height: auto;
        max-height: 60px; /* Collapsed: Just the search bar */
        border-radius: 30px; /* Pill shape */
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        overflow: hidden;
        transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-radius 0.3s;
        padding: 8px;
        display: block; /* Override flex */
    }

    #controls.expanded {
        max-height: 60vh;
        border-radius: 24px; /* Rounded rectangle when expanded */
    }

    /* Hide the original header on mobile, we use the search bar as the "header" */
    #wizard-header {
        display: none;
    }

    #search-input {
        border: none;
        background: transparent;
        padding: 10px 10px 10px 40px;
        font-size: 16px; /* Larger text for mobile input */
        height: 44px;
    }
    
    .search-icon {
        top: 22px; /* Center vertically in the new container */
        left: 24px;
    }

    #wizard-content {
        margin-top: 0;
        padding: 0 8px 16px;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s;
    }

    #controls.expanded #wizard-content {
        opacity: 1;
        pointer-events: auto;
        margin-top: 10px;
    }

    /* Info Box - Minimalist Pill at Bottom */
    .info {
        top: auto;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%) translateY(150%); /* Center and hide */
        right: auto;
        width: auto;
        min-width: 200px;
        max-width: 90%;
        border-radius: 30px;
        background: rgba(15, 23, 42, 0.9); /* Dark background */
        color: white;
        padding: 12px 20px;
        justify-content: center;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }

    .info.visible {
        transform: translateX(-50%) translateY(0);
    }

    .info h4 {
        color: white;
        font-size: 14px;
        margin: 0;
        text-align: center;
    }

    .info-value {
        background: rgba(255,255,255,0.2);
        color: white;
    }

    /* Zoom Controls */
    .leaflet-control-zoom {
        display: none; /* Hide zoom controls on mobile, pinch to zoom is enough */
    }
    
    .leaflet-control-attribution {
        display: none;
    }
}