/* Dashboard Layout Styles */
:root {
    --sidebar-width: 260px;
    --header-height: 60px;
}

/* Layout */
.dashboard-wrapper {
    min-height: 100vh;
    display: flex;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    min-height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

/* Sidebar Logo */
.sidebar-logo {
    height: 40px;
    width: auto;
}

/* Sidebar Navigation */
.sidebar-nav .nav-link {
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.sidebar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-nav .nav-link.active {
    background-color: var(--bs-primary);
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    background-color: #f8f9fa;
    padding: 1.5rem;
}

/* Header */
.main-header {
    height: var(--header-height);
    background-color: #fff;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    margin: -1.5rem -1.5rem 1.5rem;
}

/* Responsive Sidebar */
@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
}

/* Card Styles */
.dashboard-card {
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Stats Cards */
.stats-card {
    padding: 1.5rem;
    display: flex;
    align-items: center;
}

.stats-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1rem;
}

/* User Profile Section */
.user-info {
    max-width: 150px;
}

.user-info .fw-bold {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mobile Toggle Button */
.sidebar-toggle {
    display: none;
}

@media (max-width: 992px) {
    .sidebar-toggle {
        display: block;
    }
}