/* General Body Styling */
body {
    font-family: Arial, sans-serif;
    background: #f4f6f9;
}

/* Sidebar */
.sidebar {
    height: 100vh;
    width: 250px;
    position: fixed;
    background-color: #3c8dbc;
    color: #fff;
    padding: 20px 10px;
    transition: transform 0.3s ease-in-out;
}
.sidebar h4 {
    text-align: center;
    margin-bottom: 30px;
}
.sidebar a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 10px 20px;
    border-radius: 4px;
    margin-bottom: 10px;
    transition: background 0.3s ease;
}
.sidebar a:hover, .sidebar a.active {
    background: #357ca5;
}
.sidebar i {
    margin-right: 10px;
}

/* Sidebar Toggle for Small Screens */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.show {
        transform: translateX(0);
        z-index: 1000;
    }
}

/* Main Content */
.content {
    margin-left: 260px; /* Offset sidebar width */
    padding: 20px;
    transition: margin-left 0.3s ease;
    text-align: center;
}
.hidden {
    display: none;
}

/* Cards Styling */
.stats-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.stats-card h5 {
    margin-bottom: 10px;
    font-size: 16px;
    color: #666;
}
.stats-card h3 {
    font-size: 28px;
    color: #333;
}
.stats-card i {
    font-size: 30px;
    color: #3c8dbc;
    margin-bottom: 10px;
}

/* Card Colors */
.card-red { border-top: 3px solid #e74c3c; }
.card-yellow { border-top: 3px solid #f1c40f; }
.card-blue { border-top: 3px solid #3498db; }
.card-green { border-top: 3px solid #2ecc71; }

/* Tables */
.table {
    width: 100%;
    margin-top: 20px;
    background: #fff;
    border-radius: 8px;
    border-collapse: collapse;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.table th, .table td {
    padding: 12px;
    text-align: center;
    border: 1px solid #ddd;
}
.table th {
    background-color: #3c8dbc;
    color: #fff;
}
.table td {
    background-color: #f9f9f9;
}

/* Forms */
form {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}
.form-group {
    margin-bottom: 15px;
}
.form-control {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
}
button[type="submit"] {
    background-color: #3c8dbc;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
button[type="submit"]:hover {
    background-color: #357ca5;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .content {
        margin-left: 0; /* Reset content offset */
    }
    .stats-card {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .stats-card h3 {
        font-size: 20px;
    }
    .stats-card h5 {
        font-size: 14px;
    }
    .stats-card i {
        font-size: 24px;
    }
}
/* General Body Styling */
body {
    font-family: Arial, sans-serif;
    background: #f4f6f9;
}

/* Sidebar */
.sidebar {
    height: 100vh;
    width: 250px;
    position: fixed;
    background-color: #3c8dbc;
    color: #fff;
    padding: 20px 10px;
    transition: transform 0.3s ease-in-out;
}
.sidebar h4 {
    text-align: center;
    margin-bottom: 30px;
}
.sidebar a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 10px 20px;
    border-radius: 4px;
    margin-bottom: 10px;
    transition: background 0.3s ease;
}
.sidebar a:hover, .sidebar a.active {
    background: #357ca5;
}
.sidebar i {
    margin-right: 10px;
}

/* Sidebar Toggle for Small Screens */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.show {
        transform: translateX(0);
        z-index: 1000;
    }
}

/* Main Content */
.content {
    margin-left: 260px; /* Offset sidebar width */
    padding: 20px;
    transition: margin-left 0.3s ease;
}
.hidden {
    display: none;
}

/* Cards Styling */
.stats-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.stats-card h5 {
    margin-bottom: 10px;
    font-size: 16px;
    color: #666;
}
.stats-card h3 {
    font-size: 28px;
    color: #333;
}
.stats-card i {
    font-size: 30px;
    color: #3c8dbc;
    margin-bottom: 10px;
}

/* Card Colors */
.card-red { border-top: 3px solid #e74c3c; }
.card-yellow { border-top: 3px solid #f1c40f; }
.card-blue { border-top: 3px solid #3498db; }
.card-green { border-top: 3px solid #2ecc71; }

/* Tables */
.table {
    width: 100%;
    margin-top: 20px;
    background: #fff;
    border-radius: 8px;
    border-collapse: collapse;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.table th, .table td {
    padding: 12px;
    text-align: center;
    border: 1px solid #ddd;
}
.table th {
    background-color: #3c8dbc;
    color: #fff;
}
.table td {
    background-color: #f9f9f9;
}
.form-control {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
}
button[type="submit"] {
    background-color: #3c8dbc;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
button[type="submit"]:hover {
    background-color: #357ca5;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .content {
        margin-left: 0; /* Reset content offset */
    }
    .stats-card {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .stats-card h3 {
        font-size: 20px;
    }
    .stats-card h5 {
        font-size: 14px;
    }
    .stats-card i {
        font-size: 24px;
    }
}

