/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon > img {
    width: 100%;
    height: 100%;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: #a855f7;
}

.nav-links .active {
    color: #ff8c42;
}

.profile-container {
	display: flex;
	gap: 9px;
}

.profile-container .profile-username {
    margin: 7px;
}

.profile-container .profile-username > a {
    color: #e0e0e0;
    text-decoration: none;
}

.profile-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ec4899, #a855f7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    cursor: pointer;
}

.profile-icon a {
    color: #fff;
    text-decoration: none;
}


/* Sidebar */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: rgba(4, 6, 22, 1);
    border-right: 1px solid #000;
    padding: 25px 20px;
    overflow-y: auto;
    z-index: 1000;
    transform: translateX(-100%);
}

.nav-logo-container {
    margin-bottom: 50px;
}


.nav-section {
    margin-bottom: 30px;
}

.nav-section-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-gray);
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    padding-left: 8px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 12px;
    margin-bottom: 6px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 500;
}

.nav-item a {
    display: flex;
    color: #fff;
    text-decoration: none;
    gap: 12px;
}

.nav-item:hover {
    background: #2121ee33;
    color: #2121ee;
    font-weight: bold;
}

.nav-item.active {
    border-left: 4px solid #2121ee;
    background: #2121ee33;
    color: #2121ee;
    font-weight: bold;
}

.nav-item img {
    width: 30px;
    height: 30px;
}


.nav-icon {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1024px) {
    .sidebar {
        width: 240px;
    }
}


@media (max-width: 768px) {
    nav {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        display: none;
    }

    .sidebar.active {
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 240px;
        transition: transform 0.3s ease;
        z-index: 1001;
    }
}


.mobile-menu-toggle {
    display: none;
    background: transparent;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 20px;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .profile-container {
        display: none;
    }
}