* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@keyframes bounceIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.leaflet-bar button,
.leaflet-bar a {
    transition: all 0.2s ease;
}

.leaflet-bar button:hover,
.leaflet-bar a:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    color: white !important;
}

:root {
    --primary: #008975;
    --primary-dark: #006b5b;
    --primary-light: #00a38b;
    --dark: #0f172a;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

body {
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow: hidden;
    color: var(--gray-800);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.map-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    background: #f5f5f5;
}

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

.map-header {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1200px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.map-header > * {
    pointer-events: auto;
}

.custom-marker-wrapper {
    background: transparent;
    border: none;
}

@keyframes markerPulse {
    0% { box-shadow: 0 0 0 0 rgba(var(--color-rgb), 0.6); }
    70% { box-shadow: 0 0 0 18px rgba(var(--color-rgb), 0); }
    100% { box-shadow: 0 0 0 0 rgba(var(--color-rgb), 0); }
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.3px;
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.search-wrapper {
    flex: 1;
    max-width: 700px;
    margin: 0 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-wrapper {
    flex-shrink: 0;
}

.custom-dropdown {
    position: relative;
    flex-shrink: 0;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    user-select: none;
}

.dropdown-toggle:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.dropdown-toggle.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 137, 117, 0.12);
}

.dropdown-icon {
    font-size: 1rem;
}

.dropdown-text {
    font-weight: 600;
    color: var(--gray-800);
    font-size: 0.9rem;
}

.dropdown-arrow {
    font-size: 0.7rem;
    color: var(--gray-500);
    transition: transform 0.2s ease;
}

.dropdown-toggle.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 200px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.9);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.dropdown-item:hover {
    background: var(--gray-50);
}

.dropdown-item.selected {
    background: rgba(0, 137, 117, 0.08);
}

.dropdown-item.selected .item-text {
    color: var(--primary);
    font-weight: 700;
}

.item-icon {
    font-size: 0.95rem;
}

.item-text {
    font-weight: 500;
    color: var(--gray-700);
    font-size: 0.85rem;
}

.search-box {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 14px;
    padding: 6px 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e5e7eb;
    flex: 1;
}

.search-box:focus-within {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

.search-icon {
    padding-left: 10px;
    font-size: 1rem;
    color: var(--gray-500);
}

#search-input {
    border: none;
    outline: none;
    padding: 8px 10px;
    font-size: 0.95rem;
    width: 100%;
    background: transparent;
    color: var(--gray-800);
}

#search-input::placeholder {
    color: var(--gray-400);
}

#search-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 137, 117, 0.2);
}

#search-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #005247 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 137, 117, 0.3);
}

.map-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    color: var(--gray-600);
    font-size: 0.8rem;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.06);
}

.map-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.map-footer a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.leaflet-popup-content-wrapper {
    border-radius: 18px;
    padding: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.6);
    overflow: hidden;
    background: #ffffff;
}

.leaflet-popup-tip {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: none;
}

.leaflet-popup-content {
    margin: 0 !important;
    padding: 0 !important;
    width: 280px !important;
    line-height: 1.6;
}

.premium-popup {
    display: flex;
    flex-direction: column;
}

.popup-header {
    padding: 20px 20px 16px;
    color: white;
}

.popup-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.popup-title-row strong {
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    color: white !important;
    letter-spacing: -0.2px;
}

.popup-icon {
    font-size: 1.6rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.popup-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
    opacity: 0.9;
    background: rgba(255,255,255,0.2);
    padding: 4px 10px;
    border-radius: 20px;
}

.popup-body {
    padding: 16px 20px 20px;
    background: white;
}

.popup-info {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
    color: #475569;
    font-size: 0.9rem;
    font-weight: 500;
}

.popup-info a {
    font-weight: 600;
    text-decoration: none;
}

.popup-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.popup-actions button, .popup-actions a {
    flex: 1;
    padding: 10px 0;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all 0.25s ease;
}

.popup-actions button:hover {
    transform: translateY(-2px);
}

.popup-actions a:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.leaflet-popup-content strong {
    font-size: 1.25rem;
    color: var(--dark);
    font-weight: 800;
    letter-spacing: -0.3px;
}

.leaflet-popup-content hr {
    border: none;
    border-top: 1px solid var(--gray-200);
    margin: 16px 0;
}

.leaflet-popup-content a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.leaflet-popup-content a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.leaflet-container a.leaflet-popup-close-button {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 24px;
    padding: 10px 14px 0 0;
    transition: all 0.2s ease;
    z-index: 10;
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.leaflet-container a.leaflet-popup-close-button:hover {
    color: white !important;
    transform: scale(1.1);
}

.leaflet-control-layers {
    margin-bottom: 16px !important;
    margin-right: 20px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    border: none !important;
    background: #ffffff !important;
}

.leaflet-top.leaflet-right {
    padding-top: 85px !important;
}

.leaflet-bar {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
}

.easy-button-container {
    margin-bottom: 16px !important;
    margin-right: 20px !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
}

.easy-button-container > div {
    margin-bottom: 12px !important;
}

.easy-button-container > div:last-child {
    margin-bottom: 0 !important;
}

.leaflet-control-layers-toggle {
    background-color: #ffffff !important;
    background-image: none !important;
    color: #334155 !important;
    width: 44px !important;
    height: 44px !important;
    font-size: 18px !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
    display: flex;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    text-decoration: none !important;
}

.leaflet-control-layers-toggle::before {
    content: "\f5fd";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #334155;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.leaflet-control-layers-toggle:hover {
    background: #f3f4f6 !important;
    color: var(--primary) !important;
}

.easy-button-button {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    color: #334155 !important;
    font-size: 18px !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
}

.easy-button-button:hover {
    background: #f3f4f6 !important;
    color: var(--primary) !important;
}

.easy-button-button .button-state {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    line-height: 1 !important;
}

.leaflet-control-layers-expanded {
    padding: 20px !important;
}

.leaflet-control-layers-list {
    padding: 0 !important;
}

.leaflet-control-layers-base label {
    display: block;
    padding: 8px 12px !important;
    margin: 4px 0 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    border: 1px solid transparent;
}

.leaflet-control-layers-base label div {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 8px;
}

.leaflet-control-layers-base label:hover {
    background: #f3f4f6 !important;
    border-color: #e5e7eb;
}

.leaflet-control-layers-selector {
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    accent-color: var(--primary);
    flex-shrink: 0;
}

.leaflet-control-layers-base span {
    font-weight: 700 !important;
    color: #1f2937 !important;
    font-size: 1rem !important;
}

.marker-cluster-small {
    background-color: rgba(0, 137, 117, 0.35);
}

.marker-cluster-small div {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.marker-cluster-medium {
    background-color: rgba(0, 137, 117, 0.35);
}

.marker-cluster-medium div {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #005247 100%);
}

.marker-cluster-large {
    background-color: rgba(0, 137, 117, 0.35);
}

.marker-cluster-large div {
    background: linear-gradient(135deg, #005247 0%, #006b5b 100%);
}

.marker-cluster {
    background-clip: border-box;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
}

.marker-cluster div {
    width: 34px;
    height: 34px;
    margin-left: 3px;
    margin-top: 3px;
    text-align: center;
    border-radius: 50%;
    font: 13px "Segoe UI", Arial, sans-serif;
    color: #fff;
    font-weight: 700;
    line-height: 34px;
}

.marker-cluster span {
    line-height: 34px;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    margin-top: 8px;
    max-height: 340px;
    overflow-y: auto;
    z-index: 1001;
    display: none;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-top: none;
}

.search-suggestions.active {
    display: block;
}

.search-suggestion-item {
    padding: 14px 18px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid #f3f4f6;
}

.search-suggestion-item:last-child {
    border-bottom: none;
    border-radius: 0 0 20px 20px;
}

.search-suggestion-item:hover {
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
    transform: translateX(4px);
}

.search-suggestion-name {
    font-weight: 600;
    color: var(--gray-800);
}

.search-suggestion-type {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 2px;
}

.leaflet-control-zoom {
    top: auto !important;
    bottom: 24px !important;
    right: auto !important;
    margin-right: 20px !important;
    margin-bottom: 20px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    overflow: hidden !important;
    border: none !important;
}

.leaflet-control-zoom a,
.leaflet-touch .leaflet-control-zoom-in,
.leaflet-touch .leaflet-control-zoom-out {
    width: 44px !important;
    height: 44px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    background: #ffffff !important;
    color: #334155 !important;
    border: none !important;
    border-bottom: 1px solid #e2e8f0 !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 44px !important;
}

.leaflet-control-zoom a:last-child {
    border-bottom: none !important;
}

.leaflet-control-zoom a:hover {
    background: #f3f4f6 !important;
    color: var(--primary) !important;
}

.leaflet-control-zoom a.leaflet-disabled {
    opacity: 0.25 !important;
    cursor: not-allowed !important;
    background: #ffffff !important;
    color: #9ca3af !important;
}

.leaflet-control-scale {
    bottom: 24px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin-left: 0 !important;
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.leaflet-control-scale-line {
    border: 3px solid rgba(0, 137, 117, 0.9) !important;
    border-top: none !important;
    color: #1e293b !important;
    font-weight: 800 !important;
    font-size: 12px !important;
    padding: 5px 12px !important;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15) !important;
    border-radius: 0 0 12px 12px !important;
    line-height: 1.2 !important;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
    display: flex;
    justify-content: center;
    box-sizing: border-box !important;
}

.leaflet-control-scale-line + .leaflet-control-scale-line {
    margin-left: 0 !important;
    margin-top: 0 !important;
}

/* --- Sidebar Styles --- */
.place-sidebar {
    position: absolute;
    top: 0;
    left: -400px; /* Hidden by default */
    width: 380px;
    height: 100vh;
    background: #ffffff;
    z-index: 1050;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.place-sidebar.open {
    left: 0;
}

.close-sidebar {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-size: 24px;
    color: #475569;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.close-sidebar:hover {
    background: white;
    color: #0f172a;
    transform: scale(1.1);
}

.sidebar-hero {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.sidebar-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.sidebar-header-content {
    position: absolute;
    bottom: 16px;
    left: 20px;
    right: 20px;
    z-index: 2;
    color: white;
}

.sidebar-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 4px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.sidebar-category {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.sidebar-body {
    padding: 24px 20px;
}

.sidebar-action-row {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.sidebar-action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 0;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.sidebar-action-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.sidebar-action-btn.primary-btn {
    background: var(--primary);
    color: white;
    border: none;
}

.sidebar-action-btn.primary-btn:hover {
    background: var(--primary-dark);
}

.sidebar-action-icon {
    font-size: 1.2rem;
}

.sidebar-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-detail-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.sidebar-detail-icon {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 2px;
}

.sidebar-detail-text {
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .map-header {
        flex-direction: column;
        gap: 10px;
        padding: 14px;
        top: 12px;
        width: calc(100% - 24px);
        border-radius: 16px;
    }

    .logo {
        gap: 8px;
        font-size: 1.1rem;
    }

    .logo-img {
        height: 30px;
    }

    .search-wrapper {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        margin: 0;
        gap: 8px;
    }

    .custom-dropdown {
        width: 100%;
    }

    .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 9px 14px;
    }

    .dropdown-menu {
        width: 100%;
    }

    .search-box {
        width: 100%;
    }

    #search-btn {
        padding: 7px 12px;
        font-size: 0.8rem;
    }

    .leaflet-control-zoom {
        bottom: 14px !important;
        right: 14px !important;
    }

    .leaflet-control-layers {
        margin-top: 65px !important;
    }
}


@media (max-width: 520px) {
    .map-header {
        padding: 8px 10px;
        gap: 8px;
    }

    .logo {
        font-size: 1rem;
    }

    .logo-img {
        height: 26px;
    }

    .dropdown-icon {
        font-size: 0.9rem;
    }

    .dropdown-text,
    .item-text,
    #search-input {
        font-size: 0.82rem;
    }

    #search-btn {
        padding: 6px 10px;
        font-size: 0.78rem;
    }

    .search-icon {
        font-size: 0.85rem;
        padding-left: 8px;
    }

    #search-input {
        padding: 8px 8px;
    }

    .leaflet-control-zoom {
        bottom: 10px !important;
        right: 10px !important;
    }

    .leaflet-control-zoom a,
    .leaflet-touch .leaflet-control-zoom-in,
    .leaflet-touch .leaflet-control-zoom-out {
        width: 36px !important;
        height: 36px !important;
        line-height: 36px !important;
        font-size: 16px !important;
    }

    .leaflet-control-scale {
        bottom: 10px !important;
    }

    .leaflet-control-scale-line {
        font-size: 10px !important;
        padding: 1px 8px 4px !important;
    }

    .leaflet-control-layers {
        margin-top: 60px !important;
        right: 10px !important;
    }

    .leaflet-control-layers-toggle {
        width: 36px !important;
        height: 36px !important;
        line-height: 36px !important;
        font-size: 18px !important;
    }

    .easy-button-button {
        width: 36px !important;
        height: 36px !important;
        line-height: 36px !important;
        font-size: 16px !important;
    }
}

@media (max-width: 380px) {
    .logo {
        font-size: 0.95rem;
    }

    .logo-img {
        height: 24px;
    }

    .dropdown-toggle {
        padding: 8px 12px;
    }

    #search-btn {
        padding: 5px 8px;
        font-size: 0.75rem;
    }

    .search-suggestion-item {
        padding: 10px 12px;
    }

    .search-suggestion-name {
        font-size: 0.9rem;
    }

    .search-suggestion-type {
        font-size: 0.8rem;
    }
}

/* Sidebar Mobile Responsive */
@media (max-width: 768px) {
    .place-sidebar {
        top: auto;
        bottom: -100vh;
        left: 0;
        width: 100%;
        height: 75vh;
        border-radius: 24px 24px 0 0;
        transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .place-sidebar.open {
        left: 0;
        bottom: 0;
    }
}
