:root {
    --primary-color: #2563eb;
    --secondary-color: #64748b;
    --success-color: #22c55e;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --sidebar-width: 250px;
    --sidebar-collapsed-width: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f8fafc;
}

.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

/* Sidebar Styles */
.sidebar {
    min-width: var(--sidebar-width);
    max-width: var(--sidebar-width);
    background: #ffffff;
    color: #1e293b;
    transition: all 0.3s;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    position: fixed;
    height: 100vh;
    z-index: 1000;
}

.sidebar.collapsed {
    min-width: var(--sidebar-collapsed-width);
    max-width: var(--sidebar-collapsed-width);
}

.sidebar-header {
    padding: 20px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.sidebar-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.sidebar .components {
    padding: 20px 0;
}

.sidebar .components li {
    padding: 0;
}

.sidebar .components li a {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s;
}

.sidebar .components li a:hover {
    background: #f1f5f9;
    color: var(--primary-color);
}

.sidebar .components li.active a {
    background: #eff6ff;
    color: var(--primary-color);
    border-left: 4px solid var(--primary-color);
}

.sidebar .components li a i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.sidebar.collapsed .components li a span {
    display: none;
}

/* Content Styles */
#content {
    width: 100%;
    min-height: 100vh;
    transition: all 0.3s;
    margin-left: var(--sidebar-width);
}

#content.collapsed {
    margin-left: var(--sidebar-collapsed-width);
}

/* Navbar Styles */
.navbar {
    padding: 1rem;
    background: #ffffff !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.navbar .btn-link {
    color: #64748b;
    text-decoration: none;
}

.navbar .dropdown-toggle::after {
    display: none;
}

/* Card Styles */
.card {
    border: none;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.card-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem;
}

.card-body {
    padding: 1.25rem;
}

/* Table Styles */
.table {
    margin-bottom: 0;
}

.table th {
    font-weight: 600;
    color: #64748b;
    border-top: none;
}

/* Badge Styles */
.badge {
    padding: 0.5em 0.75em;
    font-weight: 500;
}

/* Alert Styles */
.alert {
    border: none;
    border-radius: 0.5rem;
    padding: 1rem;
}

.alert i {
    margin-right: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .sidebar {
        margin-left: -250px;
    }
    
    .sidebar.active {
        margin-left: 0;
    }
    
    #content {
        margin-left: 0;
    }
    
    #content.active {
        margin-left: 250px;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
} 