/* Modern GIS Web Application Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #1a1a1a;
    color: #ffffff;
    overflow: hidden;
    height: 100vh;
}

/* Top Navigation Bar */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #ecf0f1;
}

.nav-brand i {
    font-size: 1.5rem;
    color: #3498db;
}

.nav-controls {
    display: flex;
    gap: 10px;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ecf0f1;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Full Screen Map */
#map {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: calc(100vh - 60px);
    z-index: 1;
}

/* Map Controls Overlay */
.map-controls {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 100;
}

.control-group {
    position: absolute;
    pointer-events: auto;
}

/* Left Side Layer Panel */
.left-panel {
    top: 20px;
    left: 20px;
    width: 350px;
}

/* Bottom Right Controls */
.bottom-right {
    bottom: 20px;
    right: 20px;
}

/* Bottom Center Toolbar */
.bottom-center {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}


/* Right Side Properties Panel */
.right-panel {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 400px;
}

/* Layer Panel */
.layer-panel {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.layer-panel.collapsed {
    width: 60px;
}

.layer-panel.collapsed .panel-content {
    display: none;
}

.layer-panel.collapsed .panel-header h3 {
    display: none;
}

.layer-panel.collapsed .panel-header {
    justify-content: center;
    padding: 15px 10px;
    cursor: pointer;
}

.layer-panel.collapsed .panel-header:hover {
    background: rgba(52, 152, 219, 0.3);
}

.panel-header {
    background: rgba(52, 152, 219, 0.2);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-header-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.reset-filter-btn {
    background: rgba(231, 76, 60, 0.8);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
}

.reset-filter-btn:hover {
    background: rgba(231, 76, 60, 1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
}

.panel-header h3 {
    color: #ecf0f1;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.panel-header i {
    color: #3498db;
}

.panel-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ecf0f1;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.panel-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.panel-content {
    padding: 20px;
}

.layer-list {
    margin-bottom: 20px;
}

.layer-item {
    margin-bottom: 12px;
}

.layer-item input[type="checkbox"] {
    display: none;
}

.layer-item label {
    display: flex;
    align-items: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.layer-item label:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.layer-item input[type="checkbox"]:checked + label {
    background: rgba(52, 152, 219, 0.2);
    border-color: rgba(52, 152, 219, 0.5);
}

.layer-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-right: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.layer-name {
    flex: 1;
    color: #ecf0f1;
    font-weight: 500;
    font-size: 14px;
}

.layer-count {
    color: #bdc3c7;
    font-size: 12px;
    font-weight: 400;
}

.layer-expand-btn {
    background: none;
    border: none;
    color: #bdc3c7;
    cursor: pointer;
    padding: 4px;
    margin-left: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 12px;
}

.layer-expand-btn:hover {
    color: #ecf0f1;
    background: rgba(255, 255, 255, 0.1);
}

.layer-expand-btn i {
    transition: transform 0.3s ease;
}

.layer-expand-btn.expanded i {
    transform: rotate(180deg);
}

.layer-features {
    margin-top: 8px;
    margin-left: 20px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    padding-left: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 6px 8px;
    margin-bottom: 4px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.feature-item input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(0.8);
}

.feature-name {
    color: #bdc3c7;
    flex: 1;
}

.feature-area {
    color: #95a5a6;
    font-size: 11px;
    margin-left: 8px;
}

/* Properties Panel */
.properties-panel {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.properties-panel.collapsed {
    width: 60px;
}

.properties-panel.collapsed .panel-content {
    display: none;
}

.properties-panel.collapsed .panel-header h3 {
    display: none;
}

.properties-panel.collapsed .panel-header {
    justify-content: center;
    padding: 15px 10px;
    cursor: pointer;
}

.properties-panel.collapsed {
    width: 60px;
    right: 1px;
    left: auto;
    position: absolute;
}

.properties-panel.collapsed .panel-header:hover {
    background: rgba(52, 152, 219, 0.3);
}

.no-selection {
    text-align: center;
    padding: 40px 20px;
    color: #bdc3c7;
}

.no-selection i {
    font-size: 2rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.no-selection p {
    margin: 0;
    font-size: 14px;
}

.property-item {
    margin-bottom: 8px;
    padding: 8px 0;
    background: transparent;
    border-radius: 0;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.property-label {
    color: #bdc3c7;
    font-size: 13px;
    font-weight: 400;
    margin: 0;
    text-transform: none;
    letter-spacing: normal;
    flex: 1;
}

.property-value {
    color: #ecf0f1;
    font-size: 13px;
    font-weight: 600;
    word-break: break-word;
    text-align: right;
    flex: 1;
    margin: 0;
}

.property-value.number {
    color: #2ecc71;
    font-family: 'Courier New', monospace;
}

.property-value.area {
    color: #f39c12;
}

.feature-title {
    color: #ecf0f1;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Tab Styles */
.tabs-container {
    margin-top: 15px;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #bdc3c7;
    padding: 10px 16px;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    flex: 1;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ecf0f1;
}

.tab-btn.active {
    background: rgba(52, 152, 219, 0.8);
    color: #ecf0f1;
    border-bottom: 2px solid #3498db;
}

.tab-btn i {
    font-size: 12px;
}

.tab-content {
    position: relative;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-panel .property-item {
    margin-bottom: 8px;
}

.tab-panel .property-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

/* Responsive tabs */
@media (max-width: 768px) {
    .tabs {
        flex-direction: column;
        gap: 2px;
    }
    
    .tab-btn {
        border-radius: 6px;
        flex: none;
        justify-content: flex-start;
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .tab-btn.active {
        border-bottom: none;
        border-left: 3px solid #3498db;
    }
}

.layer-controls {
    display: flex;
    gap: 8px;
}

.layer-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ecf0f1;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.layer-btn:hover {
    background: rgba(52, 152, 219, 0.8);
    transform: translateY(-2px);
}

.layer-btn i {
    font-size: 14px;
}

/* Control Panels */
.control-panel {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.control-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ecf0f1;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.control-btn:hover {
    background: rgba(52, 152, 219, 0.8);
    transform: scale(1.05);
}

.control-btn:active {
    transform: scale(0.95);
}

/* Bottom Center Toolbar */
.toolbar {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 8px;
    display: flex;
    gap: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.toolbar-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ecf0f1;
    padding: 12px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    min-width: 100px;
    justify-content: center;
}

.toolbar-btn:hover {
    background: rgba(52, 152, 219, 0.8);
    transform: translateY(-2px);
}

.toolbar-btn.active {
    background: rgba(46, 204, 113, 0.8);
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.3);
}

.toolbar-btn.danger:hover {
    background: rgba(231, 76, 60, 0.8);
}

.toolbar-btn i {
    font-size: 16px;
}


/* Loading Indicator */
.loading-indicator {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    transition: opacity 0.5s ease;
}

.loading-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-indicator span {
    color: #ecf0f1;
    font-size: 16px;
    font-weight: 500;
}

/* MapLibre Custom Styles */
.maplibregl-popup-content {
    background: rgba(0, 0, 0, 0.9);
    color: #ecf0f1;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

/* Hide MapLibre bottom right control */
.maplibregl-ctrl-bottom-right {
    display: none !important;
}

.maplibregl-popup-close-button {
    color: #bdc3c7;
    font-size: 18px;
    padding: 8px;
}

.maplibregl-popup-close-button:hover {
    color: #ecf0f1;
}

.maplibregl-popup-tip {
    border-top-color: rgba(0, 0, 0, 0.9);
}

/* Custom Marker Styles */
.custom-marker {
    background: linear-gradient(135deg, #3498db, #2980b9);
    width: 24px;
    height: 24px;
    border-radius: 50% 50% 50% 0;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    transform: rotate(-45deg);
}

.custom-marker::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.custom-marker:hover {
    transform: rotate(-45deg) scale(1.2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Search Modal Styles */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.search-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-modal-content {
    background: rgba(20, 20, 20, 0.98);
    border-radius: 15px;
    border: 1px solid rgba(52, 152, 219, 0.4);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(52, 152, 219, 0.1);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    animation: slideIn 0.3s ease;
    backdrop-filter: blur(20px);
}

.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: rgba(52, 152, 219, 0.15);
    border-bottom: 1px solid rgba(52, 152, 219, 0.4);
    border-radius: 15px 15px 0 0;
}

.search-header h3 {
    color: #ecf0f1;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.search-header h3 i {
    margin-right: 10px;
    color: #3498db;
}

.close-search {
    background: none;
    border: none;
    color: #bdc3c7;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.close-search:hover {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
}

.search-body {
    padding: 25px;
    max-height: 60vh;
    overflow-y: auto;
}

.text-search-section {
    background: rgba(52, 152, 219, 0.08);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(52, 152, 219, 0.3);
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.text-search-section h4 {
    color: #3498db;
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.text-search-section h4 i {
    margin-right: 8px;
    font-size: 14px;
}

.text-search-input {
    position: relative;
    display: flex;
    align-items: center;
}

.text-search-input input {
    width: 100%;
    padding: 12px 50px 12px 15px;
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid rgba(52, 152, 219, 0.4);
    border-radius: 10px;
    color: #ecf0f1;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}

.text-search-input input:focus {
    border-color: #3498db;
    background: rgba(20, 20, 20, 0.95);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2), inset 0 2px 10px rgba(0, 0, 0, 0.4);
}

.text-search-input input::placeholder {
    color: #7f8c8d;
}

.search-icon-btn {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: #3498db;
    font-size: 16px;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.search-icon-btn:hover {
    color: #2980b9;
    background: rgba(52, 152, 219, 0.1);
}

.search-criteria {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.criteria-section {
    background: rgba(20, 20, 20, 0.8);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(52, 152, 219, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.criteria-section:hover {
    border-color: rgba(52, 152, 219, 0.5);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.criteria-section h4 {
    color: #3498db;
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.criteria-section h4 i {
    margin-right: 8px;
    font-size: 14px;
}

.criteria-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.criteria-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.criteria-item label {
    color: #bdc3c7;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    color: #ecf0f1;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.checkbox-group label:hover {
    color: #3498db;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 8px;
    accent-color: #3498db;
    transform: scale(1.1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.search-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(52, 152, 219, 0.3);
    background: rgba(52, 152, 219, 0.05);
    margin: 0 -25px -25px -25px;
    padding: 20px 25px;
    border-radius: 0 0 15px 15px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: #3498db;
    color: white;
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(52, 152, 219, 0.5);
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.5), 0 4px 12px rgba(0, 0, 0, 0.4);
}

.btn-secondary {
    background: rgba(20, 20, 20, 0.8);
    color: #bdc3c7;
    border: 1px solid rgba(149, 165, 166, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
    background: rgba(20, 20, 20, 0.9);
    color: #ecf0f1;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}


.no-results {
    text-align: center;
    padding: 30px 20px;
    color: #bdc3c7;
}

.no-results i {
    font-size: 48px;
    color: #7f8c8d;
    margin-bottom: 15px;
}

.no-results p {
    margin: 0;
    font-size: 14px;
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-nav {
        padding: 0 15px;
        height: 50px;
    }
    
    .nav-brand {
        font-size: 1rem;
    }
    
    .nav-brand i {
        font-size: 1.2rem;
    }
    
    #map {
        top: 50px;
        height: calc(100vh - 50px);
    }
    
    .map-controls {
        top: 50px;
    }
    
    .left-panel, .right-panel {
        top: 15px;
    }
    
    .left-panel {
        left: 15px;
        width: 300px;
    }
    
    .right-panel {
        right: 15px;
        width: 350px;
    }
    
    .properties-panel.collapsed {
        right: 10px;
        left: auto;
        width: 60px;
    }
    
    .search-modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .search-criteria {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .search-results {
        width: 300px;
        right: 10px;
    }
    
    .bottom-center, .bottom-right {
        bottom: 15px;
    }
    
    .bottom-right {
        right: 15px;
    }
    
    .toolbar {
        flex-direction: column;
        align-items: center;
    }
    
    .toolbar-btn {
        min-width: 80px;
        padding: 10px 15px;
    }
    
    .toolbar-btn span {
        display: none;
    }
    
    .info-panel {
        min-width: 150px;
        padding: 10px;
    }
    
    .layer-panel {
        width: 250px;
    }
    
    .panel-content {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .control-panel {
        flex-direction: row;
    }
    
    .control-btn {
        width: 35px;
        height: 35px;
    }
    
    .toolbar-btn {
        min-width: 60px;
        padding: 8px 12px;
    }
    
    .info-panel {
        min-width: 120px;
        padding: 8px;
    }
    
    .info-item {
        font-size: 12px;
    }
}