/* 导航容器 */
.admin-nav-container {
    padding: 0 1rem 2rem 1rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* 导航分组 */
.nav-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-section-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0 0.75rem;
    margin-bottom: 0.25rem;
}

.nav-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* 导航项 */
.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    border-radius: 8px;
    color: #94a3b8 !important;
    /* Force override default link color */
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.nav-item:hover {
    background: rgba(30, 41, 59, 0.5);
    color: #e2e8f0 !important;
}

/* 激活状态 */
.nav-item.active {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    color: #a78bfa !important;
    border-color: rgba(139, 92, 246, 0.2);
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 16px;
    background: #a78bfa;
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 8px rgba(167, 139, 250, 0.6);
}

/* 图标 */
.nav-item i {
    font-size: 1.1rem;
    width: 1.25rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.nav-item.active i {
    color: #c4b5fd;
}

/* 文本 */
.nav-item span {
    flex: 1;
    white-space: nowrap;
}

/* 移动端深色模式优化 */
@media (max-width: 768px) {
    .nav-item {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }

    .nav-section-title {
        margin-top: 0.5rem;
    }
}