Pr1ce1551's picture
Initial commit
f518dc3
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
padding: 20px;
}
.container {
max-width: 1400px;
margin: 0 auto;
}
.header {
background: rgba(255, 255, 255, 0.95);
padding: 30px;
border-radius: 15px;
text-align: center;
margin-bottom: 20px;
box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.header h1 {
color: #333;
margin-bottom: 10px;
font-size: 2.5em;
}
.variables-info {
margin-top: 15px;
}
.var-tag {
display: inline-block;
background: #667eea;
color: white;
padding: 5px 12px;
border-radius: 15px;
margin: 0 5px;
font-size: 0.9em;
}
.dashboard {
display: grid;
grid-template-columns: 2fr 1fr;
gap: 20px;
margin-bottom: 20px;
}
.map-section, .controls-section {
background: rgba(255, 255, 255, 0.95);
border-radius: 15px;
padding: 25px;
box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
#map-container {
height: 400px;
border-radius: 10px;
overflow: hidden;
}
.location-selector, .prediction-controls {
margin: 20px 0;
}
.location-selector select, .prediction-controls input {
width: 100%;
padding: 10px;
border: 2px solid #ddd;
border-radius: 8px;
font-size: 16px;
}
.predict-button {
width: 100%;
padding: 15px;
background: #667eea;
color: white;
border: none;
border-radius: 8px;
font-size: 18px;
cursor: pointer;
transition: all 0.3s;
}
.predict-button:hover:not(:disabled) {
background: #5a67d8;
transform: translateY(-2px);
}
.predict-button:disabled {
background: #ccc;
cursor: not-allowed;
}
.charts-section {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
gap: 20px;
}
.chart-container {
background: rgba(255, 255, 255, 0.95);
border-radius: 15px;
padding: 25px;
box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.chart-container h3 {
color: #333;
margin-bottom: 15px;
border-bottom: 2px solid #667eea;
padding-bottom: 10px;
}
.loading {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
color: #666;
font-size: 18px;
}
.current-conditions {
margin-top: 20px;
padding: 15px;
background: #f8f9ff;
border-radius: 8px;
border-left: 4px solid #667eea;
}
#conditionsData {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
margin-top: 10px;
}
.condition-item {
padding: 8px;
background: white;
border-radius: 5px;
text-align: center;
font-size: 14px;
}
@media (max-width: 768px) {
.dashboard {
grid-template-columns: 1fr;
}
.charts-section {
grid-template-columns: 1fr;
}
}