body {
	background: linear-gradient(135deg, #e0f2ff, #ffe8cc);
	min-height: 100vh;
	margin: 0;
	font-family: 'Inter', sans-serif;
}

.container {
	padding-top: 2rem;
	padding-bottom: 2rem;
}

.sensor-card {
	background: white;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	padding: 1.5rem;
	height: 100%;
	transition: transform 0.2s ease;
	cursor: pointer;
}

.sensor-card:hover {
	transform: scale(1.02);
}

.sensor-title {
	font-size: 1.2rem;
	font-weight: 600;
	color: #0d6efd;
}

.sensor-info i {
	margin-right: 6px;
	color: #6c757d;
}

.value {
	font-size: 1.5rem;
	font-weight: bold;
}

@media ( max-width : 576px) {
	.sensor-card {
		padding: 1rem;
	}
	.sensor-title {
		font-size: 1rem;
	}
	.value {
		font-size: 1.3rem;
	}
}

.hot  { color: red; font-weight: bold; }
.cold { color: blue; font-weight: bold; }

.sensor-card {
    transition: all 0.3s ease;
}

#sensor-cards > div {
    transition: opacity 0.3s ease;
}

.sensor-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Responsywność wykresów na mobile */
@media (max-width: 768px) {
    .chart-container {
        height: 70vh !important;
        min-height: 450px !important;
    }
    
    /* Mniejszy padding w kartach na mobile */
    .card-body {
        padding: 0.5rem;
    }
    
    /* Mniejsza czcionka w tabelach */
    .table-sm {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .chart-container {
        height: 80vh !important;
        min-height: 500px !important;
    }
}
