/* assets/css/style.css */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fc;
    color: #495057;
}

/* Wrapper and Sidebar */
.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
    min-height: 100vh;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: #212529 !important;
    transition: all 0.3s;
}

#sidebar.active {
    margin-left: -250px;
}

#sidebar .sidebar-header {
    background: #1a1e21;
}

#sidebar ul li a {
    transition: all 0.2s;
}

.hover-bg-success:hover {
    background-color: rgba(25, 135, 84, 0.2);
    color: #fff !important;
}

.active-menu {
    background-color: #198754 !important;
    color: #fff !important;
    font-weight: 500;
}

/* Content */
#content {
    width: 100%;
    min-width: 0; /* Important for flexbox and datatables */
    transition: all 0.3s;
}

/* Cards */
.card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(0,0,0,.125);
    font-weight: 600;
}

/* DataTables customization */
.table {
    vertical-align: middle;
}

/* Utilities */
.text-success {
    color: #198754 !important;
}
.bg-success {
    background-color: #198754 !important;
}
.btn-success {
    background-color: #198754;
    border-color: #198754;
}
.btn-success:hover {
    background-color: #157347;
    border-color: #146c43;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
        position: fixed;
        height: 100vh;
        z-index: 999;
    }
    #sidebar.active {
        margin-left: 0;
    }
}
