/* Sidebar */
#sidebar-wrapper {
    width: 250px;
    transition: all 0.3s;
    background-color: #5d6d7e;
}

#wrapper.toggled #sidebar-wrapper {
    margin-left: -250px;
}

#page-content-wrapper {
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Sidebar links */
.list-group-item {
    border: none;
    transition: background-color 0.2s, color 0.2s;
}

    .list-group-item:hover,
    .list-group-item:focus {
        background-color: #138d75;
        color: #fff;
    }

.sidebar-heading {
    font-size: 1.2rem;
}

/* Navbar */
.navbar {
    height: 60px;
}

/* Footer */
footer {
    margin-top: auto;
}

/* Toggle button (optional style) */
#sidebarToggle {
    border: none;
    background: transparent;
    font-size: 1.2rem;
}

.sidebar {
    background-color: #0d6efd;
    min-height: 100vh;
    width: 220px;
    padding: 1rem 0;
}

    .sidebar a.nav-link {
        padding: 10px 20px;
        display: flex;
        align-items: center;
        font-size: 1rem;
        transition: background-color 0.3s, color 0.3s;
    }

        .sidebar a.nav-link:hover {
            background-color: #0b5ed7;
            color: #fff;
            text-decoration: none;
        }

        .sidebar a.nav-link.active {
            background-color: #084298;
            color: #fff;
            font-weight: bold;
        }

    .sidebar i {
        font-size: 1.2rem;
    }
Welcome, Admin!

.flex-grow-1 {
    flex: 1;
}

.d-flex {
    display: flex;
}

.sidebar a.nav-link.active {
    background-color: #084298;
    color: #fff;
    font-weight: bold;
}
#toast-container {
    z-index: 9999;
}
tr:hover {
    background-color: #f1f1f1;
}
tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

@media (max-width: 992px) {
    .table-responsive {
        overflow-x: auto;
    }

    table.table {
        width: 100%;
        display: block;
        white-space: nowrap;
    }

    th, td {
        font-size: 13px;
        padding: 6px 8px;
    }
}

/* Adjust layout for smaller screens */
@media (max-width: 768px) {
    .d-flex.justify-content-between {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .d-flex form,
    .d-flex .btn-group,
    .d-flex > div {
        width: 100%;
    }

    .form-control {
        margin-bottom: 10px;
    }

    .btn {
        width: 100%;
    }

    .pagination {
        flex-wrap: wrap;
    }
}

/* Adjust button and modal for mobile */
@media (max-width: 576px) {
    .btn-sm {
        font-size: 12px;
        padding: 4px 8px;
    }

    .modal-dialog {
        margin: 1rem auto;
        width: 95%;
    }
}
/* Custom responsive tweaks */

/* Smaller devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    .card {
        padding: 1.5rem !important; /* Reduce padding inside card */
    }

    form .row > [class*='col-'] {
        flex: 0 0 100% !important; /* Make all columns full width */
        max-width: 100% !important;
    }

    .d-flex.gap-2.justify-content-center {
        flex-direction: column;
    }

        .d-flex.gap-2.justify-content-center > * {
            width: 100%;
        }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .card {
        padding: 2rem !important;
    }
}

/* Customize form control font sizes and spacing for readability */
.form-label {
    font-size: 1rem;
}

.form-control {
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
}

/*/------------------------*/

.form-check-input {
    width: 2em;
    height: 1em;
    position: relative;
    appearance: none;
    background-color: #c6c6c6;
    border-radius: 1em;
    outline: none;
    transition: background-color 0.2s;
}

    .form-check-input:checked {
        background-color: #28a745;
    }


