/* Sidebar Navigation Styles */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 250px;
    height: 100vh;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 20px 0;
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    overflow-y: auto;
}

.sidebar-logo {
    text-align: center;
    padding: 20px;
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logo img {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
}

.sidebar-logo h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.sidebar-logo .tagline {
    color: var(--accent-light);
    font-size: 0.75rem;
    margin-top: 5px;
    font-weight: 500;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin: 0;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    font-size: 0.95rem;
    font-weight: 500;
}

.sidebar-nav a i {
    font-size: 1.3rem;
    width: 35px;
    margin-right: 12px;
    color: var(--accent-light);
}

.sidebar-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-left-color: var(--secondary-color);
    text-decoration: none;
}

.sidebar-nav a.active {
    background: rgba(251, 133, 0, 0.15);
    color: white;
    border-left-color: var(--secondary-color);
    font-weight: 600;
}

.sidebar-nav a.active i {
    color: var(--secondary-color);
}

/* Main content with sidebar */
.main-with-sidebar {
    margin-left: 250px;
    min-height: 100vh;
}

/* Mobile responsive */
@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-with-sidebar {
        margin-left: 0;
    }
    
    .sidebar-toggle {
        position: fixed;
        top: 15px;
        left: 15px;
        z-index: 1001;
        background: var(--primary-color);
        color: white;
        border: none;
        padding: 10px 15px;
        border-radius: 6px;
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    
    .sidebar-toggle i {
        font-size: 1.2rem;
    }
}

/* Hide default navbar on pages with sidebar */
.has-sidebar .navbar {
    display: none;
}

/* Adjust footer with sidebar */
.has-sidebar footer {
    margin-left: 250px;
}

@media (max-width: 992px) {
    .has-sidebar footer {
        margin-left: 0;
    }
}

/* Sidebar footer info */
.sidebar-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.sidebar-footer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    margin: 0;
}

.sidebar-footer .badge {
    background: var(--secondary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 8px;
    display: inline-block;
}
