* {
	box-sizing: border-box;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	min-height: 100vh;
	margin: 0;
	padding: 0px;
}
.container {
	max-width: 1400px;
	margin: 50px auto;
	background: white;
	border-radius: 20px;
	padding: 30px;
	box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.header {
	text-align: center;
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 2px solid #f0f0f0;
}
h1 {
	color: #333;
	margin: 0 0 10px 0;
	font-size: 2.5rem;
}
.station-info {
	display: flex;
	justify-content: center;
	gap: 30px;
	margin: 15px 0;
	flex-wrap: wrap;
}
.info-badge {
	background: #667eea;
	color: white;
	padding: 8px 20px;
	border-radius: 30px;
	font-weight: 600;
}
.controls {
	text-align: center;
	margin: 30px 0;
}
.fetch-btn {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	border: none;
	padding: 15px 40px;
	font-size: 1.2rem;
	border-radius: 50px;
	cursor: pointer;
	transition: all 0.3s;
	font-weight: 600;
	box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}
.fetch-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}
.loading, .error {
	text-align: center;
	padding: 20px;
	margin: 20px 0;
	border-radius: 10px;
	display: none;
}
.loading {
	background: #e3f2fd;
	color: #1976d2;
	font-size: 1.1rem;
}
.error {
	background: #ffebee;
	color: #c62828;
	border-left: 5px solid #c62828;
}
.data-sections {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
	gap: 25px;
	margin-top: 30px;
}
.section {
	background: #f8f9fa;
	border-radius: 15px;
	padding: 25px;
	box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.section h3 {
	margin-top: 0;
	color: #444;
	display: flex;
	align-items: center;
	gap: 10px;
}
.param-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 15px;
}
.param-card {
	background: white;
	padding: 20px;
	border-radius: 12px;
	border-left: 4px solid #667eea;
	transition: transform 0.3s;
}
.param-card:hover {
	transform: translateY(-5px);
}
.param-name {
	font-weight: 600;
	color: #555;
	margin-bottom: 10px;
	font-size: 1rem;
}
.param-value {
	font-size: 1.8rem;
	font-weight: 700;
	color: #333;
	margin: 10px 0;
}
.param-unit {
	color: #666;
	font-size: 1rem;
	margin-left: 5px;
}
.status {
	display: inline-block;
	padding: 5px 15px;
	border-radius: 20px;
	font-size: 0.9rem;
	font-weight: 600;
	margin-top: 10px;
}
.status-normal {
	background: #d4edda;
	color: #155724;
}
.status-alarm {
	background: #f8d7da;
	color: #721c24;
	animation: pulse 2s infinite;
}
@keyframes pulse {
	0% { opacity: 1; }
	50% { opacity: 0.7; }
	100% { opacity: 1; }
}
.pump-status {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 10px 0;
}
.pump-indicator {
	width: 20px;
	height: 20px;
	border-radius: 50%;
}
.pump-on {
	background: #4CAF50;
	box-shadow: 0 0 10px #4CAF50;
}
.pump-off {
	background: #dce5e5;
}
.timestamp {
	text-align: center;
	color: #666;
	font-size: 0.9rem;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #eee;
}
@media (max-width: 768px) {
	.data-sections {
		grid-template-columns: 1fr;
	}
	.param-grid {
		grid-template-columns: 1fr;
	}
}