/* Basic Reset and Fonts */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7f9; /* Light background for the whole page */
}

/* Dashboard Container for overall layout */
.dashboard-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header Styles */
.dashboard-header {
    background-color: #3498db; /* Blue header */
    color: white;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Main Layout (Sidebar + Content) */
.main-layout {
    display: flex;
    flex: 1; /* Allows it to take up remaining vertical space */
}

/* Sidebar Styles */
.sidebar {
    width: 200px;
    background-color: #2c3e50; /* Dark sidebar */
    color: white;
    padding-top: 20px;
    flex-shrink: 0; /* Prevents sidebar from shrinking */
}

.sidebar nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar nav li a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    transition: background-color 0.3s;
}

.sidebar nav li a:hover {
    background-color: #34495e; /* Slightly lighter dark on hover */
}

/* Main Content Area Styles */
.content-area {
    flex: 1; /* Takes up remaining horizontal space */
    padding: 20px;
    display: grid; /* Use grid for content cards */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive columns */
    gap: 20px;
}

/* Card Styles */
.card {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card h3 {
    margin-top: 0;
    color: #3498db;
}

/* table styles */
table {
	border-collapse: collapse;
}
th {
	padding: 5px 20px;
}
td {
	padding: 5px 20px;
}

.status-light {
    height: 12px;
    width: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}
.bg-over { background-color: #ff4d4d; box-shadow: 0 0 8px #ff4d4d; }
.bg-under { background-color: #2ecc71; box-shadow: 0 0 8px #2ecc71; }
