  /* Body and Font Styles */
  body {
    font-family: 'Poppins', sans-serif;
}

/* Navbar Styles */
.navbar {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    position: relative;
}

/* Hamburger Button */
.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.line {
    width: 30px;
    height: 3px;
    background-color: white;
    transition: all 0.3s;
}

/* Side Menu Styles */
.menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: -250px; /* ซ่อนเมนูทางซ้าย */
    width: 250px;
    height: 100%;
    background-color: #007bff;
    transition: left 0.3s ease;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.menu.active {
    left: 0; /* แสดงเมนูเมื่อกดปุ่ม */
}

.menu li {
    padding: 15px 20px;
}

.menu li a {
    color: white;
    text-decoration: none;
}

.menu li a:hover {
    text-decoration: underline;
}

.hamburger.active .line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Sensor Card */
.sensor-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    background-color: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sensor-icon {
    font-size: 30px;
    color: #007bff;
}

.sensor-text {
    font-size: 14px;
    color: #555;
}

.text-muted {
    font-size: 12px;
}