
        body {
            margin: 0;
            font-family: Arial, sans-serif;
            background: #f4f6f9;
        }

        /* ===== SIDEBAR ===== */
        .sidebar {
            position: fixed;
            left: 0;
            top: 0;
            width: 220px;
            height: 100%;
            background: #1e293b;
            color: white;
            transition: 0.3s;
            overflow: hidden;
        }

        .sidebar.collapsed {
            width: 70px;
        }

        .sidebar h2 {
            text-align: center;
            padding: 20px 0;
            margin: 0;
            font-size: 20px;
        }

        .sidebar ul {
            list-style: none;
            padding: 0;
        }

        .sidebar ul li {
            padding: 15px 20px;
        }

        .sidebar ul li a {
            color: white;
            text-decoration: none;
            display: block;
        }

        .sidebar ul li:hover,
        .sidebar ul li.active {
            background: #334155;
        }

        .sidebar.collapsed ul li a span {
            display: none;
        }

        /* ===== MAIN ===== */
        .main {
            margin-left: 220px;
            padding: 20px;
            transition: 0.3s;
        }

        .main.expanded {
            margin-left: 70px;
        }

        /* ===== TOPBAR ===== */
        .topbar {
            background: white;
            padding: 15px;
            display: flex;
            align-items: center;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            margin-bottom: 20px;
        }

        .menu-btn {
            font-size: 22px;
            cursor: pointer;
            margin-right: 20px;
        }

        /* ===== CARD ===== */
        .card {
            background: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        table {
            width: 100%;
            border-collapse: collapse;
        }

        th, td {
            padding: 12px;
            border-bottom: 1px solid #ddd;
            text-align: center;
        }

        th {
            background: #0f172a;
            color: white;
        }

        .online {
            color: green;
            font-weight: bold;
        }

        .offline {
            color: red;
            font-weight: bold;
        }
    
        
        .search-box {
            display: flex;
            justify-content: flex-end;
            margin-bottom: 15px;
        }

        .search-box input {
            padding: 8px 12px;
            border: 1px solid #ccc;
            border-radius: 5px 0 0 5px;
            outline: none;
        }

        .search-box button {
            padding: 8px 12px;
            border: none;
            background: #0f172a;
            color: white;
            border-radius: 0 5px 5px 0;
            cursor: pointer;
        }

        .search-box button:hover {
            background: #1e293b;
        }

        .value {
            font-weight: bold;
            color: #007bff;
        }
   .divider {
    border: none;
    border-top: 2px solid #e5e5e5;
    margin: 12px 0;
}
/* Blinking Pulse Animation */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

.alert-blink {
    color: red !important;
    animation: pulse 1s infinite;
    font-weight: bold;
}
