/* style.css */

/* General Body Styles */
body {
    background-color: #f8f9fa; /* Light background color for the whole page */
    font-family: 'Arial', sans-serif;
}

/* Header Styles */
h1, h2, h3 {
    color: #343a40; /* Dark text color */
    font-weight: bold;
}

/* Card Styles */
.card {
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* Navbar */
.navbar {
    background-color: #007bff;
    margin-bottom: 30px;
}

.navbar a {
    color: white !important;
}

/* Button Styles */
.btn-primary {
    background-color: #007bff;
    border: none;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* Form Styles */
.form-control {
    border-radius: 5px;
    border: 1px solid #ced4da;
    padding: 12px 15px;
    font-size: 16px;
}

/* Custom Alert Styles */
.alert {
    border-radius: 5px;
    font-size: 16px;
}

/* Container Padding */
.container {
    margin-top: 50px;
}

/* Table Styles */
table {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #ddd;
}

table th, table td {
    text-align: center;
    padding: 12px;
}

table thead {
    background-color: #007bff;
    color: white;
}

table tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Sidebar Styles */
.sidebar {
    background-color: #343a40;
    color: white;
    height: 100vh;
    position: fixed;
    width: 250px;
    top: 0;
    left: 0;
    padding-top: 30px;
}

.sidebar a {
    color: white;
    text-decoration: none;
    padding: 12px 15px;
    display: block;
    border-bottom: 1px solid #ddd;
}

.sidebar a:hover {
    background-color: #007bff;
}

.sidebar .active {
    background-color: #0056b3;
}

/* Responsive Media Query */
@media screen and (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    .container {
        margin-top: 20px;
    }
}
