/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bs-body-bg);
}

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

.sidebar {
    min-width: 250px;
    max-width: 250px;
    transition: all 0.3s;
    height: 100vh;
    position: sticky;
    top: 0;
    z-index: 999;
}

.main-content {
    width: 100%;
    min-height: 100vh;
    transition: all 0.3s;
    background-color: var(--bs-tertiary-bg);
}

.nav-link {
    transition: all 0.2s ease-in-out;
}

.nav-link:hover {
    background-color: rgba(var(--bs-success-rgb), 0.1);
    transform: translateX(5px);
}

.nav-link.active:hover {
    background-color: var(--bs-success);
    color: white !important;
}

/* Dashboard Cards */
.card {
    border: none;
    border-radius: 12px;
    transition: transform 0.2s;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.card:hover {
    transform: translateY(-5px);
}

/* Tables */
.table-responsive {
    border-radius: 12px;
    background: var(--bs-body-bg);
    padding: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Status Badges */
.badge {
    padding: 0.5em 0.8em;
    border-radius: 6px;
    font-weight: 500;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bs-tertiary-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--bs-secondary-bg);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--bs-secondary);
}

/* Responsive Sidebar */
@media (max-width: 768px) {
    .sidebar {
        margin-left: -250px;
        position: fixed;
    }
    .sidebar.show {
        margin-left: 0;
        box-shadow: 4px 0 10px rgba(0,0,0,0.1);
    }
}
