/* Mobile-first responsive design */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 100%;
    padding: 10px;
}

header {
    text-align: center;
    margin-bottom: 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

h1 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 10px;
}

h2 {
    font-size: 20px;
    color: #34495e;
}

.button-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.map-container {
    width: 100%;
    height: 70vh;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

#map {
    width: 100%;
    height: 100%;
}

/* Mobile-friendly controls */
.risk-control {
    margin-bottom: 15px;
    padding: 10px;
    background: #f8f8f8;
    border-radius: 8px;
}

.risk-slider {
    width: 100%;
    height: 40px;
    margin: 10px 0;
}

.risk-value {
    font-size: 16px;
    font-weight: bold;
    margin: 0 10px;
}

/* Mobile-friendly buttons */
.btn {
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    flex: 1;
    min-width: 200px;
    transition: background-color 0.3s ease;
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-primary {
    background: #4CAF50;
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: #45a049;
}

.btn-secondary {
    background: #f44336;
    color: white;
}

.btn-secondary:hover:not(:disabled) {
    background: #da190b;
}

/* Mobile-friendly InfoWindow */
.gm-style-iw {
    padding: 0 !important;
}

.gm-style-iw-c {
    padding: 0 !important;
}

.gm-style-iw-d {
    padding: 0 !important;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .container {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .map-container {
        height: 80vh;
    }
    
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    .btn {
        min-width: 250px;
    }
} 