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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #1a1a2e;
    color: #eee;
}

#app {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.header {
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header h1 {
    font-size: 20px;
    margin-bottom: 10px;
}

.controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.controls input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    background: rgba(255,255,255,0.9);
}

.controls button {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background: #ff6b6b;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}

.controls button:hover {
    transform: scale(1.02);
}

#map {
    flex: 1;
    z-index: 1;
}

.stats {
    margin-top: 8px;
    font-size: 12px;
    background: rgba(0,0,0,0.5);
    padding: 6px 12px;
    border-radius: 8px;
    display: inline-block;
}

.info-panel {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(0,0,0,0.9);
    border-radius: 12px;
    padding: 15px;
    max-height: 40%;
    overflow-y: auto;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.info-panel h3 {
    margin-bottom: 10px;
    color: #ff6b6b;
}

.info-panel .weight-station {
    padding: 8px;
    margin: 5px 0;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    border-left: 3px solid #ff6b6b;
}

@media (max-width: 768px) {
    .controls {
        flex-direction: column;
    }
    
    .controls input, .controls button {
        width: 100%;
    }
    
    .info-panel {
        bottom: 10px;
        left: 10px;
        right: 10px;
    }
}
