/* Custom styles for SOSOL */
/* Layout specific styles */
body { 
	font-family: Arial, sans-serif; 
	display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}
        
.main-container {
    flex: 1;
    display: flex;
}

/* Content container */
.content-container {
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}
        
main {
    flex: 1;
    padding: 1.5rem;
    overflow-x: hidden;
}

/* Fix possible overflow issues */
main {
    width: 100%;
    overflow-x: hidden;
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-primary-light {
    background-color: rgba(13, 110, 253, 0.1);
}

.bg-success-light {
    background-color: rgba(25, 135, 84, 0.1);
}

.bg-info-light {
    background-color: rgba(13, 202, 240, 0.1);
}
        
@media (max-width: 991px) {
    .main-container {
		flex-direction: column;
    }
    .sidebar {
        width: 100%;
        position: relative;
        top: 0;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #eee;
    }
}

/* Sidebar Styles */
.sidebar {
    width: 280px;
    position: sticky;
    top: 76px; /* Header height + tiny offset */
    height: calc(100vh - 76px);
    overflow-y: auto;
    padding: 1.5rem;
    border-right: 1px solid #eee;
}

.sidebar {
    height: calc(100vh - 100px);
    overflow-y: auto;
}

.sidebar::-webkit-scrollbar {
    width: 5px;
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.sidebar-nav .nav-link {
    position: relative;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.25rem;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.sidebar-nav .nav-link:hover {
    background-color: #f8f9fa;
    color: #0d6efd;
}

.sidebar-nav .nav-link.active {
    background-color: #e7f1ff;
    color: #0d6efd;
    font-weight: 500;
}

.nav-icon {
    width: 24px;
    text-align: center;
    margin-right: 12px;
}

.active-indicator {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 70%;
    background-color: #0d6efd;
    border-radius: 0 3px 3px 0;
}

.nav-section {
    margin: 1.25rem 0 0.75rem;
    padding-top: 0.5rem;
}

.nav-section h6 {
    color: #6c757d;
    font-size: 0.75rem;
}

.currency-label {
    font-size: 0.85rem;
    color: #6c757d;
}

.section-active h6 {
    color: #0d6efd;
}

.notification-badge {
    font-size: 1.25rem;
}

.wallet-balance {
    padding: 0.5rem 0;
}

.currency-label {
    font-size: 0.85rem;
    color: #6c757d;
}
            
/* Mobile Menu Styles */
/* Mobile Navigation Bar */
.mobile-nav {
    padding: 0.5rem 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1040;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: #212529;
    text-decoration: none;
    border-radius: 0.375rem;
    margin-bottom: 0.25rem;
    transition: all 0.2s ease;
}

.mobile-menu-item:hover {
    background-color: #f8f9fa;
}

.mobile-menu-item.active {
    background-color: #e7f1ff;
    color: #0d6efd;
    font-weight: 500;
}

.mobile-menu-section {
    margin: 1rem 0 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6c757d;
    border-bottom: 1px solid #e9ecef;
}

.create-campaign-btn {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    background-color: #f0fff4;
    border-radius: 0.375rem;
}
            /* Add padding to bottom of body when mobile nav is shown */
            @media (max-width: 991px) {
                body {
                    padding-bottom: 60px;
                }
        }
		
		/* Full-width footer */
        .main-footer {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 1020;
            height: var(--footer-height);
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        }
		
/* Add this to your style.css or in a style block in header.php */
@media (min-width: 992px) {
    /* For large screens and up */
    .sidebar {
        position: sticky;
        top: 80px;
        height: calc(100vh - 100px);
        overflow-y: auto;
    }

    /* Ensure main content is properly aligned */
    .main-content {
        padding-left: 15px;
    }
}

/* Ensure proper behavior on mobile */
@media (max-width: 991px) {
    .sidebar {
        position: static;
        height: auto;
    }
}

